Skip to main content

ToolbarToggleButton Properties

A button within a DXToolbar that has two states: checked and unchecked. You can group several ToolbarToggleButtons to implement exclusive selection.
Name Description
AllowUncheckInGroup Gets or sets whether you can uncheck toggle button within their group. This is a bindable property.
AnimationDuration Gets or sets the duration of the ToolbarButton‘s scale animation. This is a bindable property. Inherited from ToolbarButton.
AutomationId Gets or sets a value that allows the automation framework to find and interact with this element. Inherited from Element.
Background Gets or sets a ToolbarContentItemBase descendant’s background brush. This is a bindable property. Inherited from ToolbarContentItemBase.
BackgroundColor Gets or sets a ToolbarContentItemBase descendant’s background color. This is a bindable property. Inherited from ToolbarContentItemBase.
BindingContext

Gets or sets an object that contains the properties that will be targeted by the bound properties that belong to this BindableObject. This is a bindable property.

Inherited from BindableObject.
BorderColor Gets or sets a ToolbarContentItemBase descendant’s border color. This is a bindable property. Inherited from ToolbarContentItemBase.
BorderThickness Gets or sets a ToolbarContentItemBase descendant’s border thickness. This is a bindable property. Inherited from ToolbarContentItemBase.
ButtonType Gets or sets the type of the ToolbarButton. This is a bindable property. Inherited from ToolbarButton.
CheckedBackgroundColor Gets or sets the background color of the ToolbarToggleButton when it is checked. This is a bindable property.
CheckedBorderColor Gets or sets the border color of the ToolbarToggleButton when it is checked. This is a bindable property.
CheckedDisabledBackgroundColor Gets or sets the background color of the ToolbarToggleButton when it is checked and disabled. This is a bindable property.
CheckedDisabledBorderColor Gets or sets the border color of the ToolbarToggleButton when it is checked and disabled. This is a bindable property.
CheckedDisabledIconColor Gets or sets the icon color of the ToolbarToggleButton when it is checked and disabled. This is a bindable property.
CheckedDisabledTextColor Gets or sets the text color of the ToolbarToggleButton when it is checked and disabled. This is a bindable property.
CheckedIconColor Gets or sets the icon color of the ToolbarToggleButton when it is checked. This is a bindable property.
CheckedPressedBackgroundColor Gets or sets the background color of the ToolbarToggleButton when it is checked and pressed. This is a bindable property.
CheckedPressedBorderColor Gets or sets the border color of the ToolbarToggleButton when it is checked and pressed. This is a bindable property.
CheckedPressedIconColor Gets or sets the icon color of the ToolbarToggleButton when it is checked and pressed. This is a bindable property.
CheckedPressedTextColor Gets or sets the text color of the ToolbarToggleButton when it is checked and pressed. This is a bindable property.
CheckedTextColor Gets or sets the text color of the ToolbarToggleButton when it is checked. This is a bindable property.
ClassId Gets or sets a value used to identify a collection of semantically similar elements. Inherited from Element.
Command Gets or sets the command executed when a user taps the ToolbarToggleButton. This is a bindable property.
CommandParameter Gets or sets the parameter passed to the Command. This is a bindable property. Inherited from ToolbarButton.
Content Gets or sets the custom content of the toolbar button. This is a bindable property. Inherited from ToolbarContentItemBase.
ContentTemplate Gets or sets a template that configures the content‘s appearance. This is a bindable property. Inherited from ToolbarContentItemBase.
ContentTemplateSelector Gets or sets an object that chooses a custom content template based on custom logic. This is a dependency property. Inherited from ToolbarContentItemBase.
CornerRadius Gets or sets a ToolbarContentItemBase descendant’s corner radius. This is a bindable property. Inherited from ToolbarContentItemBase.
DisabledBackgroundColor Gets or sets the background color of the ToolbarButton when it is disabled. This is a bindable property. Inherited from ToolbarButton.
DisabledBorderColor Gets or sets the border color of a ToolbarButton when it is disabled. This is a bindable property. Inherited from ToolbarButton.
DisabledIconColor Gets or sets the icon color of the ToolbarButton when it is disabled. This is a bindable property. Inherited from ToolbarButton.
DisabledTextColor Gets or sets the text color of the ToolbarButton when it is disabled. This is a bindable property. Inherited from ToolbarButton.
Dispatcher

Gets the dispatcher that was available when this bindable object was created, otherwise tries to find the nearest available dispatcher (probably the window’s/app’s).

Inherited from BindableObject.
EffectControlProvider For internal use by .NET MAUI. Inherited from Element.
Effects Gets or sets the styles and properties that will be applied to the element during runtime. Inherited from Element.
FontAttributes Gets or sets a ToolbarContentItemBase descendant’s font attributes. This is a bindable property. Inherited from ToolbarContentItemBase.
FontAutoScalingEnabled Gets or sets whether the toolbar item’s text is scaled according to the operating system’s text scale setting. This is a bindable property. Inherited from ToolbarContentItemBase.
FontFamily Gets or sets a ToolbarContentItemBase descendant’s font family. This is a bindable property. Inherited from ToolbarContentItemBase.
FontSize Gets or sets a ToolbarContentItemBase descendant’s font size. This is a bindable property. Inherited from ToolbarContentItemBase.
GroupName Gets or sets the parent group’s name. This is a bindable property.
HeightRequest Gets or sets height of a ToolbarContentItemBase descendant. This is a bindable property. Inherited from ToolbarContentItemBase.
HorizontalContentAlignment Gets or sets the horizontal alignment of a ToolbarContentItemBase descendant’s content. This is a bindable property. Inherited from ToolbarContentItemBase.
HorizontalOptions Gets or sets the horizontal alignment of a ToolbarContentItemBase descendant. This is a bindable property. Inherited from ToolbarContentItemBase.
Icon Gets or sets the icon that is displayed within a ToolbarContentItemBase descendant. This is a bindable property. Inherited from ToolbarContentItemBase.
IconAspect Gets or sets the aspect of the icon that is displayed within a ToolbarContentItemBase descendant. This is a bindable property. Inherited from ToolbarContentItemBase.
IconColor Gets or sets the icon color of a ToolbarContentItemBase descendant. This is a bindable property. Inherited from ToolbarContentItemBase.
IconColorizationEnabled Gets or sets whether the toolbar item’s icon should change its colors in pressed and disabled states. This is a bindable property. Inherited from ToolbarContentItemBase.
IconHeight Gets or sets the icon height of a ToolbarContentItemBase descendant. This is a bindable property. Inherited from ToolbarContentItemBase.
IconIndent Gets or sets the icon indent of a ToolbarContentItemBase descendant. This is a bindable property. Inherited from ToolbarContentItemBase.
IconPlacement Gets or sets the icon placement within a ToolbarContentItemBase descendant. This is a bindable property. Inherited from ToolbarContentItemBase.
IconWidth Gets or sets the icon width of a ToolbarContentItemBase descendant. This is a bindable property. Inherited from ToolbarContentItemBase.
Id Gets a value that can be used to uniquely identify an element throughout the run of your application. Inherited from Element.
IsChecked Gets or sets whether the ToolbarToggleButton is checked. This is a bindable property.
IsClippedToBounds Gets or sets whether a ToolbarContentItemBase descendant should clip child controls to its bounds. This is a bindable property. Inherited from ToolbarContentItemBase.
IsEnabled Gets or sets whether a ToolbarContentItemBase descendant is enabled. This is a bindable property. Inherited from ToolbarContentItemBase.
IsLoaded Gets or sets whether a DXElementBase descendant is loaded. Inherited from DXElementBase.
IsVisible Gets or sets whether the toolbar item is visible. This is a bindable property. Inherited from ToolbarItemBase.
LogicalChildren For internal use by the Microsoft.Maui.Controls platform. Inherited from Element.
Margin Gets or sets the margin value of a ToolbarContentItemBase descendant. This is a bindable property. Inherited from ToolbarContentItemBase.
MaximumHeightRequest Gets or sets maximum height of a ToolbarContentItemBase descendant. This is a bindable property. Inherited from ToolbarContentItemBase.
MaximumWidthRequest Gets or sets maximum width of a ToolbarContentItemBase descendant. This is a bindable property. Inherited from ToolbarContentItemBase.
MinimumHeightRequest Gets or sets minimum height of a ToolbarContentItemBase descendant. This is a bindable property. Inherited from ToolbarContentItemBase.
MinimumWidthRequest Gets or sets minimum width of a ToolbarContentItemBase descendant. This is a bindable property. Inherited from ToolbarContentItemBase.
Padding Gets or sets the padding of a ToolbarContentItemBase descendant. This is a bindable property. Inherited from ToolbarContentItemBase.
Parent Gets or sets the parent Element of this element. Inherited from Element.
Placement Gets or sets the position of a ToolbarItemBase descendant within the DXToolbar control. This is a bindable property. Inherited from ToolbarItemBase.
PressedBackgroundColor Gets or sets the background color of the ToolbarButton when it is pressed. This is a bindable property. Inherited from ToolbarButton.
PressedBorderColor Gets or sets the border color of the ToolbarButton when it is pressed. This is a bindable property. Inherited from ToolbarButton.
PressedIconColor Gets or sets the icon color of the ToolbarButton when it is pressed. This is a bindable property. Inherited from ToolbarButton.
PressedScale Gets or sets the toolbar button scale when it is pressed. This is a bindable property. Inherited from ToolbarButton.
PressedTextColor Gets or sets the text color of the ToolbarButton when it is pressed. This is a bindable property. Inherited from ToolbarButton.
RealParent For internal use by .NET MAUI. Inherited from Element.
ShowContent Gets or sets whether a ToolbarContentItemBase descendant’s content is displayed. This is a bindable property. Inherited from ToolbarContentItemBase.
ShowIcon Gets or sets whether a ToolbarContentItemBase descendant’s icon is displayed. This is a bindable property. Inherited from ToolbarContentItemBase.
Style Gets or sets the style applied to a DXElementBase descendant. This is a bindable property. Inherited from DXElementBase.
StyleId Gets or sets a user defined value to uniquely identify the element. Inherited from Element.
TextCharacterSpacing Gets or sets the spacing between characters of a ToolbarContentItemBase descendant’s text. This is a bindable property. Inherited from ToolbarContentItemBase.
TextColor Gets or sets the text color of a ToolbarContentItemBase descendant. This is a bindable property. Inherited from ToolbarContentItemBase.
TextDecorations Gets or sets text decorations applied to a ToolbarContentItemBase descendant’s text. This is a bindable property. Inherited from ToolbarContentItemBase.
TextHorizontalAlignment Gets or sets the horizontal alignment applied to a ToolbarContentItemBase descendant’s text. This is a bindable property. Inherited from ToolbarContentItemBase.
TextLineBreakMode Gets or sets the line breaking mode for a ToolbarContentItemBase descendant’s text. This is a bindable property. Inherited from ToolbarContentItemBase.
TextLineHeight Gets or sets line height applied to a ToolbarContentItemBase descendant’s text. This is a bindable property. Inherited from ToolbarContentItemBase.
TextMaxLines Gets or sets the maximum number of a ToolbarContentItemBase descendant’s text. This is a bindable property. Inherited from ToolbarContentItemBase.
TextTransform Gets or sets the transformation applied to the text. This is a bindable property. Inherited from ToolbarContentItemBase.
TextVerticalAlignment Gets or sets the vertical alignment applied to a ToolbarContentItemBase descendant’s text. This is a bindable property. Inherited from ToolbarContentItemBase.
Theme Gets or sets the theme applied to the ToolbarButton. This is a bindable property. Inherited from ToolbarButton.
ThemeSeedColor Gets or sets the predefined color used to generate colors for ToolbarButton. This is a bindable property. Inherited from ToolbarButton.
VerticalContentAlignment Gets or sets the vertical alignment of a ToolbarContentItemBase descendant’s content. This is a bindable property. Inherited from ToolbarContentItemBase.
VerticalOptions Gets or sets the vertical alignment of a ToolbarContentItemBase descendant. This is a bindable property. Inherited from ToolbarContentItemBase.
ViewStyle Gets or sets the style of the DXToggleButton control within the ToolbarToggleButton. This is a bindable property.
WidthRequest Gets or sets width of a ToolbarContentItemBase descendant. This is a bindable property. Inherited from ToolbarContentItemBase.
See Also