RadButton
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
Initializes a new instance of the RadButton class.
public RadButton()
Fields
BackgroundImageProperty
BindableProperty
Identifies the BackgroundImage property.
public static readonly BindableProperty BackgroundImageProperty
BorderThicknessProperty
BindableProperty
Identifies the BorderThickness property.
public static readonly BindableProperty BorderThicknessProperty
HorizontalContentAlignmentProperty
BindableProperty
Identifies the HorizontalContentAlignment property.
public static readonly BindableProperty HorizontalContentAlignmentProperty
VerticalContentAlignmentProperty
BindableProperty
Identifies the VerticalContentAlignment property.
public static readonly BindableProperty VerticalContentAlignmentProperty
Properties
BackgroundImage
ImageSource
Gets or sets the ImageSource that will be set as background.
public ImageSource BackgroundImage { get; set; }
BorderThickness
Thickness
Gets or sets the width of all borders separately. The property is with higher precedence and will override the values of this property.
public Thickness BorderThickness { get; set; }
Implements:
HorizontalContentAlignment
TextAlignment
Gets or sets the horizontal alignment of the text and image.
public TextAlignment HorizontalContentAlignment { get; set; }
Implements:
VerticalContentAlignment
TextAlignment
Gets or sets the vertical alignment of the text and image.
public TextAlignment VerticalContentAlignment { get; set; }
Implements:
Methods
protected override void ChangeVisualState()