ClassRadButton
Represents a button control with enhanced styling and customization options.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class RadButton : Button, IRadButton, ITextButton, IView, IElement, ITransform, IButton, IPadding, IButtonStroke, IText, ITextStyle, IImageButton, IImage, IImageSourcePart
Inheritance: objectRadButton
Derived Classes:
Implements:
Constructors
RadButton()
Initializes a new instance of the RadButton class.
Declaration
public RadButton()
Fields
BackgroundImageProperty
Identifies the BackgroundImage property.
Declaration
public static readonly BindableProperty BackgroundImageProperty
Field Value
BindableProperty
BorderThicknessProperty
Identifies the BorderThickness property.
Declaration
public static readonly BindableProperty BorderThicknessProperty
Field Value
BindableProperty
HorizontalContentAlignmentProperty
Identifies the HorizontalContentAlignment property.
Declaration
public static readonly BindableProperty HorizontalContentAlignmentProperty
Field Value
BindableProperty
VerticalContentAlignmentProperty
Identifies the VerticalContentAlignment property.
Declaration
public static readonly BindableProperty VerticalContentAlignmentProperty
Field Value
BindableProperty
Properties
BackgroundImage
Gets or sets the ImageSource that will be set as background.
Declaration
public ImageSource BackgroundImage { get; set; }
Property Value
ImageSource
BorderThickness
Gets or sets the width of all borders separately. The property is with higher precedence and will override the values of this property.
Declaration
public Thickness BorderThickness { get; set; }
Property Value
Thickness
Implements
HorizontalContentAlignment
Gets or sets the horizontal alignment of the text and image.
Declaration
public TextAlignment HorizontalContentAlignment { get; set; }
Property Value
TextAlignment
Implements
VerticalContentAlignment
Gets or sets the vertical alignment of the text and image.
Declaration
public TextAlignment VerticalContentAlignment { get; set; }
Property Value
TextAlignment
Implements
Methods
ChangeVisualState()
Declaration
protected override void ChangeVisualState()