Class RadToggleButton
Represents a button that can be toggled.
Inherited Members
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public class RadToggleButton : RadButtonBase, ITextContentButton, IContentButton, INotifyPropertyChanged
Constructors
RadToggleButton()
Fields
ActualContentProperty
Identifies the Actual
Declaration
public static readonly BindableProperty ActualContentProperty
Field Value
Microsoft.
|
ContentProperty
Identifies the Content property.
Declaration
public static readonly BindableProperty ContentProperty
Field Value
Microsoft.
|
ContentTemplateProperty
Identifies the Content
Declaration
public static readonly BindableProperty ContentTemplateProperty
Field Value
Microsoft.
|
FontAttributesProperty
Identifies the Font
Declaration
public static readonly BindableProperty FontAttributesProperty
Field Value
Microsoft.
|
FontFamilyProperty
Identifies the Font
Declaration
public static readonly BindableProperty FontFamilyProperty
Field Value
Microsoft.
|
FontSizeProperty
Identifies the Font
Declaration
public static readonly BindableProperty FontSizeProperty
Field Value
Microsoft.
|
HorizontalTextAlignmentProperty
Identifies the Horizontal
Declaration
public static readonly BindableProperty HorizontalTextAlignmentProperty
Field Value
Microsoft.
|
IsThreeStateProperty
Identifies the Is
Declaration
public static readonly BindableProperty IsThreeStateProperty
Field Value
Microsoft.
|
IsToggledProperty
Identifies the Is
Declaration
public static readonly BindableProperty IsToggledProperty
Field Value
Microsoft.
|
TextColorProperty
Identifies the Text
Declaration
public static readonly BindableProperty TextColorProperty
Field Value
Microsoft.
|
TextDecorationsProperty
Identifies the Text
Declaration
public static readonly BindableProperty TextDecorationsProperty
Field Value
Microsoft.
|
VerticalTextAlignmentProperty
Identifies the Vertical
Declaration
public static readonly BindableProperty VerticalTextAlignmentProperty
Field Value
Microsoft.
|
Properties
ActualContent
Gets the actual presented content.
If Content is set and Content
Declaration
public View ActualContent { get; }
Property Value
Microsoft.
|
Content
If Content is set and Content
Declaration
public object Content { get; set; }
Property Value
System.
|
ContentTemplate
If Content
Declaration
public DataTemplate ContentTemplate { get; set; }
Property Value
Microsoft.
|
FontAttributes
Gets or sets the font attributes of the Label created when Content is string and Content
Declaration
public FontAttributes FontAttributes { get; set; }
Property Value
Microsoft.
|
FontFamily
Gets or sets the font family of the Label created when Content is string and Content
Declaration
public string FontFamily { get; set; }
Property Value
System.
|
FontSize
Gets or sets the font size in pixels of the Label created when Content is string and Content
Declaration
public double FontSize { get; set; }
Property Value
System.
|
HorizontalTextAlignment
Gets or sets the horizontal alignment of the Label created when Content is string and Content
Declaration
public TextAlignment HorizontalTextAlignment { get; set; }
Property Value
Microsoft.
|
IsThreeState
Gets or sets a boolean value indicating whether the IsToggled can be set to null. The default value is false.
Declaration
public bool IsThreeState { get; set; }
Property Value
System.
|
IsToggled
Gets or sets a value indicating whether the button is toggled or untoggled.
If Is
Declaration
public Nullable<bool> IsToggled { get; set; }
Property Value
System.
|
TextColor
Gets or sets the text color of the Label created when Content is string and Content
Declaration
public Color TextColor { get; set; }
Property Value
Microsoft.
|
TextDecorations
Gets or sets the text decorations of the Label created when Content is string and Content
Declaration
public TextDecorations TextDecorations { get; set; }
Property Value
Microsoft.
|
VerticalTextAlignment
Gets or sets the vertical alignment of the Label created when Content is string and Content
Declaration
public TextAlignment VerticalTextAlignment { get; set; }
Property Value
Microsoft.
|
Methods
ChangeVisualState()
Events
IsToggledChanged
Raised when the Is
Declaration
public event EventHandler<ValueChangedEventArgs<Nullable<bool>>> IsToggledChanged
Event Type
System.
|