Class
NavigationViewToggleButton

Represents a toggle button in the RadNavigationView control.

Definition

Namespace:Telerik.Maui.Controls.NavigationView

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class NavigationViewToggleButton : NavigationViewButton, IRadButton, ITextButton, IView, IElement, ITransform, IButton, IPadding, IButtonStroke, IText, ITextStyle, IImageButton, IImage, IImageSourcePart

Inheritance: objectRadButtonNavigationViewButtonNavigationViewToggleButton

Implements: IButtonIButtonStrokeIElementIImageIImageButtonIImageSourcePartIPaddingIRadButtonITextITextButtonITextStyleITransformIView

Inherited Members NavigationViewButton.StylePropertyNavigationViewButton.OnHandlerChanged()NavigationViewButton.StyleRadButton.BackgroundImagePropertyRadButton.BorderThicknessPropertyRadButton.HorizontalContentAlignmentPropertyRadButton.VerticalContentAlignmentPropertyRadButton.BackgroundImageRadButton.BorderThicknessRadButton.HorizontalContentAlignmentRadButton.VerticalContentAlignment

Constructors

NavigationViewToggleButton()

Initializes a new instance of the NavigationViewToggleButton class.

Declaration

cs-api-definition
public NavigationViewToggleButton()

Fields

IsToggledProperty

Identifies the IsToggled property.

Declaration

cs-api-definition
public static readonly BindableProperty IsToggledProperty

Field Value

BindableProperty

Properties

IsToggled

Gets or sets a value indicating whether the button is toggled. If Toggled and enabled the button goes into Toggled VisualState. If Toggled and disabled the button goes into ToggledDisabled VisualState.

Declaration

cs-api-definition
public bool IsToggled { get; set; }

Property Value

bool

Methods

ChangeVisualState()

Declaration

cs-api-definition
protected override void ChangeVisualState()

Overrides RadButton.ChangeVisualState()

Events

IsToggledChanged

Raised when the IsToggled property has changed.

Declaration

cs-api-definition
public event EventHandler IsToggledChanged

Event Value

EventHandler