Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit Namespace / Control Class / BorderThickness Property


In This Topic
    BorderThickness Property (Control)
    In This Topic
    Gets or sets the thickness of this Control's Border.
    Syntax
    'Declaration
     
    
    Public Property BorderThickness As Thickness
    'Usage
     
    
    Dim instance As Control
    Dim value As Thickness
     
    instance.BorderThickness = value
     
    value = instance.BorderThickness
    public Thickness BorderThickness {get; set;}
    Remarks

    This will adjust the thickness for all 4 sides of the Border.

    Note, however, that in addition to setting this property, the BorderBrush property must not be null or set to Transparent for the Border to appear.   

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also