FocusBorderUtils
Provides attached properties that connect a host control to a focus-indication RadBorder
nested inside its control template, allowing the host to configure the border's brush and thickness
without requiring a direct TemplateBinding.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public static class FocusBorderUtils
Inheritance: objectFocusBorderUtils
Fields
BorderBrushProperty
BindableProperty
Identifies the BorderBrush attached property.
public static readonly BindableProperty BorderBrushProperty
BorderThicknessProperty
BindableProperty
Identifies the BorderThickness attached property.
public static readonly BindableProperty BorderThicknessProperty
HasFocusBorderProperty
BindableProperty
Identifies the HasFocusBorder attached property.
public static readonly BindableProperty HasFocusBorderProperty
IsFocusBorderProperty
BindableProperty
Identifies the IsFocusBorder attached property.
public static readonly BindableProperty IsFocusBorderProperty
MarginProperty
BindableProperty
Identifies the Margin attached property.
public static readonly BindableProperty MarginProperty
Methods
Gets the border brush value for the specified BindableObject.
public static Brush GetBorderBrush(BindableObject bindable)
The BindableObject to get the border brush for.
Returns:Brush
The Brush value.
Gets the border thickness value for the specified BindableObject.
public static Thickness GetBorderThickness(BindableObject bindable)
The BindableObject to get the border thickness for.
Returns:Thickness
The Thickness value.
Gets the margin value for the specified BindableObject.
public static Thickness GetMargin(BindableObject bindable)
The BindableObject to get the margin for.
Returns:Thickness
The Thickness value.
Sets the border brush value for the specified BindableObject.
public static void SetBorderBrush(BindableObject bindable, Brush value)
The BindableObject to set the border brush for.
valueBrushThe Brush value to set.
Sets the border thickness value for the specified BindableObject.
public static void SetBorderThickness(BindableObject bindable, Thickness value)
The BindableObject to set the border thickness for.
valueThicknessThe Thickness value to set.
Sets the margin value for the specified BindableObject.
public static void SetMargin(BindableObject bindable, Thickness value)
The BindableObject to set the margin for.
valueThicknessThe Thickness value to set.