Class RadButtonBase
Base class for clickable views.
Inheritance
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public abstract class RadButtonBase : TemplatedView
Constructors
RadButtonBase()
Declaration
public RadButtonBase()
Fields
BackgroundColorProperty
Identifies the BackgroundColor property.
Declaration
public static readonly BindableProperty BackgroundColorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
BackgroundProperty
Identifies the Background property.
Declaration
public static readonly BindableProperty BackgroundProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
BorderBrushProperty
Identifies the BorderBrush property.
Declaration
public static readonly BindableProperty BorderBrushProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
BorderColorProperty
Identifies the BorderColor property.
Declaration
public static readonly BindableProperty BorderColorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
BorderThicknessProperty
Identifies the BorderThickness property.
Declaration
public static readonly BindableProperty BorderThicknessProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
CommandParameterProperty
Identifies the CommandParameter property.
Declaration
public static readonly BindableProperty CommandParameterProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
CommandProperty
Identifies the Command property.
Declaration
public static readonly BindableProperty CommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ControlTemplateProperty
Identifies the ControlTemplate property.
Declaration
public static readonly BindableProperty ControlTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
CornerRadiusProperty
Identifies the CornerRadius property.
Declaration
public static readonly BindableProperty CornerRadiusProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
IsPressedProperty
Identifies the IsPressed property.
Declaration
public static readonly BindableProperty IsPressedProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
PaddingProperty
Identifies the Padding property.
Declaration
public static readonly BindableProperty PaddingProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
StyleProperty
Identifies the Style property.
Declaration
public static readonly BindableProperty StyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
Background
Gets or sets the background brush of the control.
Declaration
public Brush Background { get; set; }
Property Value
Microsoft.Maui.Controls.Brush
|
BackgroundColor
Gets or sets the background color of the control.
Declaration
public Color BackgroundColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color
|
BorderBrush
Gets or sets the border brush of the control.
Declaration
public Brush BorderBrush { get; set; }
Property Value
Microsoft.Maui.Controls.Brush
|
BorderColor
Gets or sets the border color of the control.
Declaration
public Color BorderColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color
|
BorderThickness
Gets or sets the border thickness of the control.
Declaration
public Thickness BorderThickness { get; set; }
Property Value
Microsoft.Maui.Thickness
|
Command
Gets or sets the command to execute when the button is clicked.
Declaration
public ICommand Command { get; set; }
Property Value
System.Windows.Input.ICommand
|
CommandParameter
Gets or sets the parameter of the command, which is executed when the button is clicked.
Declaration
public object CommandParameter { get; set; }
Property Value
System.Object
|
ControlTemplate
Gets or sets the ControlTemplate of the control.
Declaration
public ControlTemplate ControlTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.ControlTemplate
|
CornerRadius
Gets or sets the corner radius of the control.
Declaration
public CornerRadius CornerRadius { get; set; }
Property Value
Microsoft.Maui.CornerRadius
|
IsPressed
Gets whether the button is currently pressed.
Declaration
public bool IsPressed { get; }
Property Value
System.Boolean
|
Padding
Gets or sets the padding of the control.
Declaration
public Thickness Padding { get; set; }
Property Value
Microsoft.Maui.Thickness
|
Style
Gets or sets the Style of the control.
Declaration
public Style Style { get; set; }
Property Value
Microsoft.Maui.Controls.Style
|
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
Microsoft.Maui.Controls.HandlerChangingEventArgs
args
|
OnPropertyChanged(String)
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
System.String
propertyName
|
Events
Clicked
Occurs when the button is clicked.
Declaration
public event EventHandler Clicked
Event Type
System.EventHandler
|
Pressed
Occurs when the button is pressed.
Declaration
public event EventHandler Pressed
Event Type
System.EventHandler
|
Released
Occurs when the button is released.
Declaration
public event EventHandler Released
Event Type
System.EventHandler
|