ClassRadButtonBase
Base class for clickable views.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public abstract class RadButtonBase : TemplatedView
Inheritance: objectRadButtonBase
Derived Classes:
Constructors
RadButtonBase()
Initializes a new instance of the RadButtonBase class.
Declaration
public RadButtonBase()
Fields
BackgroundColorProperty
Identifies the BackgroundColor property.
Declaration
public static readonly BindableProperty BackgroundColorProperty
Field Value
BindableProperty
BackgroundProperty
Identifies the Background property.
Declaration
public static readonly BindableProperty BackgroundProperty
Field Value
BindableProperty
BorderBrushProperty
Identifies the BorderBrush property.
Declaration
public static readonly BindableProperty BorderBrushProperty
Field Value
BindableProperty
BorderColorProperty
Identifies the BorderColor property.
Declaration
public static readonly BindableProperty BorderColorProperty
Field Value
BindableProperty
BorderThicknessProperty
Identifies the BorderThickness property.
Declaration
public static readonly BindableProperty BorderThicknessProperty
Field Value
BindableProperty
CommandParameterProperty
Identifies the CommandParameter property.
Declaration
public static readonly BindableProperty CommandParameterProperty
Field Value
BindableProperty
CommandProperty
Identifies the Command property.
Declaration
public static readonly BindableProperty CommandProperty
Field Value
BindableProperty
ControlTemplateProperty
Identifies the ControlTemplate property.
Declaration
public static readonly BindableProperty ControlTemplateProperty
Field Value
BindableProperty
CornerRadiusProperty
Identifies the CornerRadius property.
Declaration
public static readonly BindableProperty CornerRadiusProperty
Field Value
BindableProperty
IsPressedProperty
Identifies the IsPressed property.
Declaration
public static readonly BindableProperty IsPressedProperty
Field Value
BindableProperty
PaddingProperty
Identifies the Padding property.
Declaration
public static readonly BindableProperty PaddingProperty
Field Value
BindableProperty
StyleProperty
Identifies the Style property.
Declaration
public static readonly BindableProperty StyleProperty
Field Value
BindableProperty
Properties
Background
Gets or sets the background brush of the control.
Declaration
[TypeConverter(typeof(BrushTypeConverter))]
public Brush Background { get; set; }
Property Value
Brush
BackgroundColor
Gets or sets the background color of the control.
Declaration
public Color BackgroundColor { get; set; }
Property Value
Color
BorderBrush
Gets or sets the border brush of the control.
Declaration
public Brush BorderBrush { get; set; }
Property Value
Brush
BorderColor
Gets or sets the border color of the control.
Declaration
public Color BorderColor { get; set; }
Property Value
Color
BorderThickness
Gets or sets the border thickness of the control.
Declaration
public Thickness BorderThickness { get; set; }
Property Value
Thickness
Command
Gets or sets the command to execute when the button is clicked.
CommandParameter
Gets or sets the parameter of the command, which is executed when the button is clicked.
ControlTemplate
Gets or sets the ControlTemplate of the control.
Declaration
public ControlTemplate ControlTemplate { get; set; }
Property Value
ControlTemplate
CornerRadius
Gets or sets the corner radius of the control.
Declaration
public CornerRadius CornerRadius { get; set; }
Property Value
CornerRadius
IsPressed
Gets whether the button is currently pressed.
Padding
Gets or sets the padding of the control.
Declaration
public Thickness Padding { get; set; }
Property Value
Thickness
Methods
ChangeVisualState()
Declaration
protected override void ChangeVisualState()
OnApplyTemplate()
Declaration
protected override void OnApplyTemplate()
OnHandlerChanged()
Declaration
protected override void OnHandlerChanged()
OnHandlerChanging(HandlerChangingEventArgs)
Declaration
protected override void OnHandlerChanging(HandlerChangingEventArgs args)
Parameters
args
HandlerChangingEventArgs
OnPropertyChanged(string)
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
propertyName