Back to Devexpress

DXToggleButton Members

maui-devexpress-dot-maui-dot-core-dot-dxtogglebutton-dot-underscore-members.md

latest99.1 KB
Original Source

DXToggleButton Members

A toggle button control.

Constructors

NameDescription
DXToggleButton()Initializes a new instance of the DXToggleButton class.

Fields

NameDescription
AllowUncheckInGroupProperty staticIdentifies the AllowUncheckInGroup bindable property.
AnchorXProperty staticBindable property for AnchorX. Inherited from VisualElement.
AnchorYProperty staticBindable property for AnchorY. Inherited from VisualElement.
AnimationDurationProperty staticIdentifies the AnimationDuration bindable property. Inherited from DXButtonBase.
AutomationIdProperty staticBindable property for AutomationId. Inherited from Element.
BackgroundColorProperty staticBindable property for BackgroundColor. Inherited from VisualElement.
BackgroundProperty staticBindable property for Background. Inherited from VisualElement.
BehaviorsProperty staticBindable property for Behaviors. Inherited from VisualElement.
BindingContextProperty staticBindable property for BindingContext. Inherited from BindableObject.
BorderColorProperty staticIdentifies the BorderColor bindable property. Inherited from DXViewBase.
BorderThicknessProperty staticIdentifies the BorderThickness bindable property. Inherited from DXViewBase.
ButtonTypeProperty staticIdentifies the ButtonType bindable property. Inherited from DXButton.
CheckedBackgroundColorProperty staticIdentifies the CheckedBackgroundColor bindable property.
CheckedBorderColorProperty staticIdentifies the CheckedBorderColor bindable property.
CheckedDisabledBackgroundColorProperty staticIdentifies the CheckedDisabledBackgroundColor bindable property.
CheckedDisabledBorderColorProperty staticIdentifies the CheckedDisabledBorderColor bindable property.
CheckedDisabledIconColorProperty staticIdentifies the CheckedDisabledIconColor bindable property.
CheckedDisabledTextColorProperty staticIdentifies the CheckedDisabledTextColor bindable property.
CheckedIconColorProperty staticIdentifies the CheckedIconColor bindable property.
CheckedPressedBackgroundColorProperty staticIdentifies the CheckedPressedBackgroundColor bindable property.
CheckedPressedBorderColorProperty staticIdentifies the CheckedPressedBorderColor bindable property.
CheckedPressedIconColorProperty staticIdentifies the CheckedPressedIconColor bindable property.
CheckedPressedTextColorProperty staticIdentifies the CheckedPressedTextColor bindable property.
CheckedTextColorProperty staticIdentifies the CheckedTextColor bindable property.
ClassIdProperty staticBindable property for ClassId. Inherited from Element.
ClipProperty staticBindable property for Clip. Inherited from VisualElement.
CommandParameterProperty staticIdentifies the CommandParameter bindable property. Inherited from DXButtonBase.
CommandProperty staticIdentifies the Command bindable property. Inherited from DXButtonBase.
ContentProperty staticIdentifies the Content bindable property. Inherited from DXBorder.
ContentTemplateProperty staticIdentifies the ContentTemplate bindable property. Inherited from DXBorder.
ContentTemplateSelectorProperty staticIdentifies the ContentTemplateSelector bindable property. Inherited from DXBorder.
CornerRadiusProperty staticIdentifies the CornerRadius bindable property. Inherited from DXViewBase.
DisabledBackgroundColorProperty staticIdentifies the DisabledBackgroundColor bindable property. Inherited from DXButtonBase.
DisabledBorderColorProperty staticIdentifies the DisabledBorderColor bindable property. Inherited from DXButtonBase.
DisabledIconColorProperty staticIdentifies the DisabledIconColor bindable property. Inherited from DXButtonBase.
DisabledTextColorProperty staticIdentifies the DisabledTextColor bindable property. Inherited from DXButtonBase.
FlowDirectionProperty staticBindable property for FlowDirection. Inherited from VisualElement.
FontAttributesProperty staticIdentifies the FontAttributes bindable property. Inherited from DXContentPresenterBase.
FontAutoScalingEnabledProperty staticIdentifies the FontAutoScalingEnabled bindable property. Inherited from DXContentPresenterBase.
FontFamilyProperty staticIdentifies the FontFamily bindable property. Inherited from DXContentPresenterBase.
FontSizeProperty staticIdentifies the FontSize bindable property. Inherited from DXContentPresenterBase.
GroupNameProperty staticIdentifies the GroupName bindable property.
HeightProperty staticBindable property for Height. Inherited from VisualElement.
HeightRequestProperty staticBindable property for HeightRequest. Inherited from VisualElement.
HorizontalContentAlignmentProperty staticIdentifies the HorizontalContentAlignment bindable property. Inherited from DXContentPresenterBase.
HorizontalOptionsProperty staticBindable property for HorizontalOptions. Inherited from View.
IconAspectProperty staticIdentifies the IconAspect bindable property. Inherited from DXContentPresenter.
IconColorizationEnabledProperty staticIdentifies the IconColorizationEnabled bindable property. Inherited from DXContentPresenter.
IconColorProperty staticIdentifies the IconColor bindable property. Inherited from DXContentPresenter.
IconHeightProperty staticIdentifies the IconHeight bindable property. Inherited from DXContentPresenter.
IconIndentProperty staticIdentifies the IconIndent bindable property. Inherited from DXContentPresenter.
IconPlacementProperty staticIdentifies the IconPlacement bindable property. Inherited from DXContentPresenter.
IconProperty staticIdentifies the Icon bindable property. Inherited from DXContentPresenter.
IconWidthProperty staticIdentifies the IconWidth bindable property. Inherited from DXContentPresenter.
InputTransparentProperty staticBindable property for InputTransparent. Inherited from VisualElement.
IsCheckedProperty staticIdentifies the IsChecked bindable property.
IsClippedToBoundsProperty staticIdentifies the IsClippedToBounds bindable property. Inherited from DXViewBase.
IsEnabledProperty staticBindable property for IsEnabled. Inherited from VisualElement.
IsFocusedProperty staticBindable property for IsFocused. Inherited from VisualElement.
IsFocusedPropertyKey staticBindable property for IsFocused. Inherited from VisualElement.
IsGroupScopeProperty staticIdentifies the IsGroupScope attached property.
IsPressedProperty staticIdentifies the IsPressed bindable property. Inherited from DXButtonBase.
IsVisibleProperty staticBindable property for IsVisible. Inherited from VisualElement.
MarginProperty staticBindable property for Margin. Inherited from View.
MinimumHeightRequestProperty staticBindable property for MinimumHeightRequest. Inherited from VisualElement.
MinimumWidthRequestProperty staticBindable property for MinimumWidthRequest. Inherited from VisualElement.
NavigationProperty staticBindable property for Navigation. Inherited from VisualElement.
OpacityProperty staticBindable property for Opacity. Inherited from VisualElement.
PaddingProperty staticIdentifies the Padding bindable property. Inherited from DXViewBase.
PressedBackgroundColorProperty staticIdentifies the PressedBackgroundColor bindable property. Inherited from DXButtonBase.
PressedBorderColorProperty staticIdentifies the PressedBorderColor bindable property. Inherited from DXButtonBase.
PressedIconColorProperty staticIdentifies the PressedIconColor bindable property. Inherited from DXButtonBase.
PressedScaleProperty staticIdentifies the PressedScale bindable property. Inherited from DXButtonBase.
PressedTextColorProperty staticIdentifies the PressedTextColor bindable property. Inherited from DXButtonBase.
propertyMapper protectedRepresents the view’s internal PropertyMapper. Inherited from View.
RippleEffectPositionProperty staticIdentifies the RippleEffectPosition bindable property. Inherited from DXButtonBase.
RotationProperty staticBindable property for Rotation. Inherited from VisualElement.
RotationXProperty staticBindable property for RotationX. Inherited from VisualElement.
RotationYProperty staticBindable property for RotationY. Inherited from VisualElement.
ScaleProperty staticBindable property for Scale. Inherited from VisualElement.
ScaleXProperty staticBindable property for ScaleX. Inherited from VisualElement.
ScaleYProperty staticBindable property for ScaleY. Inherited from VisualElement.
ShowContentProperty staticIdentifies the ShowContent bindable property. Inherited from DXContentPresenter.
ShowIconProperty staticIdentifies the ShowIcon bindable property. Inherited from DXContentPresenter.
StyleProperty staticBindable property for Style. Inherited from VisualElement.
TextCharacterSpacingProperty staticIdentifies the TextCharacterSpacing bindable property. Inherited from DXContentPresenterBase.
TextColorProperty staticIdentifies the TextColor bindable property. Inherited from DXContentPresenterBase.
TextDecorationsProperty staticIdentifies the TextDecorations bindable property. Inherited from DXContentPresenterBase.
TextHorizontalAlignmentProperty staticIdentifies the TextHorizontalAlignment bindable property. Inherited from DXContentPresenterBase.
TextLineBreakModeProperty staticIdentifies the TextLineBreakMode bindable property. Inherited from DXContentPresenterBase.
TextLineHeightProperty staticIdentifies the TextLineHeight bindable property. Inherited from DXContentPresenterBase.
TextMaxLinesProperty staticIdentifies the TextMaxLines bindable property. Inherited from DXContentPresenterBase.
TextTransformProperty staticIdentifies the TextTransform bindable property. Inherited from DXContentPresenterBase.
TextVerticalAlignmentProperty staticIdentifies the TextVerticalAlignment bindable property. Inherited from DXContentPresenterBase.
ThemeProperty staticIdentifies the Theme bindable property. Inherited from DXButtonBase.
ThemeSeedColorProperty staticIdentifies the ThemeSeedColor bindable property. Inherited from DXButtonBase.
TranslationXProperty staticBindable property for TranslationX. Inherited from VisualElement.
TranslationYProperty staticBindable property for TranslationY. Inherited from VisualElement.
TriggersProperty staticBindable property for Triggers. Inherited from VisualElement.
UseRippleEffectProperty staticIdentifies the UseRippleEffect bindable property. Inherited from DXButtonBase.
VerticalContentAlignmentProperty staticIdentifies the VerticalContentAlignment bindable property. Inherited from DXContentPresenterBase.
VerticalOptionsProperty staticBindable property for VerticalOptions. Inherited from View.
VisualProperty staticBindable property for Visual. Inherited from VisualElement.
WidthProperty staticBindable property for Width. Inherited from VisualElement.
WidthRequestProperty staticBindable property for WidthRequest. Inherited from VisualElement.
XProperty staticBindable property for X. Inherited from VisualElement.
YProperty staticBindable property for Y. Inherited from VisualElement.

Properties

NameDescription
AllowUncheckInGroupGets or sets whether a checked item can be unchecked, when it belongs to a group. This is a dependency property.
AnchorXGets or sets the X component of the center point for any transform operation, relative to the bounds of the element. This is a bindable property. Inherited from VisualElement.
AnchorYGets or sets the Y component of the center point for any transform operation, relative to the bounds of the element. This is a bindable property. Inherited from VisualElement.
AnimationDurationGets or sets the duration of the button click animation. This is a bindable property. Inherited from DXButtonBase.
AutomationIdGets or sets a value that allows the automation framework to find and interact with this element. Inherited from Element.
BackgroundGets or sets the Brush which will be used to fill the background of an element. This is a bindable property. Inherited from VisualElement.
BackgroundColorGets or sets the Color which will fill the background of an element. This is a bindable property. Inherited from VisualElement.
BatchedGets a value that indicates there are batched changes done for this element. Inherited from VisualElement.
BehaviorsGets the list of Behavior objects associated to this element. This is a read-only bindable property. Inherited from VisualElement.
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 the border color of a DXViewBase descendant. This is a bindable property. Inherited from DXViewBase. | | BorderThickness | Gets or sets the border thickness of a DXViewBase descendant. This is a bindable property. Inherited from DXViewBase. | | Bounds | Gets the bounds of the element in device-independent units. Inherited from VisualElement. | | ButtonType | Gets or sets the DXButton type that defines button appearance. This is a bindable property. Inherited from DXButton. | | CheckedBackgroundColor | Gets or sets the background color of the toggle button in the checked state. This is a bindable property. | | CheckedBorderColor | Gets or sets the border color of the toggle button in the checked state. This is a bindable property. | | CheckedDisabledBackgroundColor | Gets or sets the background color of the toggle button in checked and disabled states. This is a bindable property. | | CheckedDisabledBorderColor | Gets or sets the border color of the toggle button in checked and disabled states. This is a bindable property. | | CheckedDisabledIconColor | Gets or sets the icon color of the toggle button in checked and disabled states. This is a bindable property. | | CheckedDisabledTextColor | Gets or sets the text color of the toggle button in checked and disabled states. This is a bindable property. | | CheckedIconColor | Gets or sets the icon color of the toggle button in the checked state. This is a bindable property. | | CheckedPressedBackgroundColor | Gets or sets the background color of the toggle button in checked and pressed states. This is a bindable property. | | CheckedPressedBorderColor | Gets or sets the border color of the toggle button in checked and pressed states. This is a bindable property. | | CheckedPressedIconColor | Gets or sets the icon color of the toggle button in checked and pressed states. This is a bindable property. | | CheckedPressedTextColor | Gets or sets the text color of the toggle button in checked and pressed states. This is a bindable property. | | CheckedTextColor | Gets or sets the text color of the toggle button in the checked state. This is a bindable property. | | class | Gets or sets the style classes for the element. Inherited from NavigableElement. | | ClassId | Gets or sets a value used to identify a collection of semantically similar elements. Inherited from Element. | | Clip | Specifies the clipping region for an element. This is a bindable property. Inherited from VisualElement. | | Command | Gets or sets the command executed when a user taps the toggle button. This is a bindable property. | | CommandParameter | Gets or sets the parameter passed to the Command. This is a bindable property. Inherited from DXButtonBase. | | Content | Gets or sets an object that the DXBorder displays. This is a bindable property. Inherited from DXBorder. | | ContentTemplate | Gets or sets a template that configures the DXBorder.Content appearance. This is a bindable property. Inherited from DXBorder. | | ContentTemplateSelector | Gets or sets the template selector that chooses a ContentTemplate based on the passed view model. This is a bindable property. Inherited from DXBorder. | | CornerRadius | Gets or sets the corner radius of a DXViewBase descendant. This is a bindable property. Inherited from DXViewBase. | | DesiredSize | Gets the size that this element computed during the measure pass of the layout process. Inherited from VisualElement. | | DisabledBackgroundColor | Gets or sets the background color of the button in the disabled state. This is a bindable property. Inherited from DXButtonBase. | | DisabledBorderColor | Gets or sets the border color of the button in the disabled state. This is a bindable property. Inherited from DXButtonBase. | | DisabledIconColor | Gets or sets the icon color of the button in the disabled state. This is a bindable property. Inherited from DXButtonBase. | | DisabledTextColor | Gets or sets the text color of the button in the disabled state. This is a bindable property. Inherited from DXButtonBase. | | DisableLayout | Gets a value that indicates that layout for this element is disabled. Inherited from VisualElement. | | 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. | | FlowDirection | Gets or sets the layout flow direction. This is a bindable property. Inherited from VisualElement. | | FontAttributes | Gets or sets font attributes (such as bold and italic). This is a bindable property. Inherited from DXContentPresenterBase. | | FontAutoScalingEnabled | Gets or sets whether text is scaled according to the operating system’s text scale setting. This is a bindable property. Inherited from DXContentPresenterBase. | | FontFamily | Gets or sets the font name applied to a DXContentPresenterBase descendant’s text. This is a bindable property. Inherited from DXContentPresenterBase. | | FontSize | Gets or sets the font size applied to a DXContentPresenterBase descendant’s text. This is a bindable property. Inherited from DXContentPresenterBase. | | Frame | Gets or sets the frame this element resides in on screen. Inherited from VisualElement. | | GestureRecognizers | The collection of gesture recognizers associated with this view. Inherited from View. | | GroupName | Gets or sets the group name of the toggle button. This is a bindable property. | | Height | Gets the current rendered height of this element. This is a read-only bindable property. Inherited from VisualElement. | | HeightRequest | Gets or sets the desired height override of this element. This is a bindable property. Inherited from VisualElement. | | HorizontalContentAlignment | Gets or sets the horizontal alignment of a DXContentPresenterBase descendant’s content. This is a bindable property. Inherited from DXContentPresenterBase. | | HorizontalOptions | Gets or sets the LayoutOptions that define how the element gets laid out in a layout cycle. This is a bindable property. Inherited from View. | | Icon | Gets or sets the icon image within the DXContentPresenter‘s content. This is a bindable property. Inherited from DXContentPresenter. | | IconAspect | Gets or sets the icon scale within the DXContentPresenter‘s content. This is a bindable property. Inherited from DXContentPresenter. | | IconColor | Gets or sets the icon color within the DXContentPresenter‘s content. This is a bindable property. Inherited from DXContentPresenter. | | IconColorizationEnabled | Gets or sets whether to change the icon color within the DXContentPresenter‘s content. This is a bindable property. Inherited from DXContentPresenter. | | IconHeight | Gets or sets the icon height within the DXContentPresenter‘s content. This is a bindable property. Inherited from DXContentPresenter. | | IconIndent | Gets or sets the distance between icon and text within the DXContentPresenter‘s content. This is a bindable property. Inherited from DXContentPresenter. | | IconPlacement | Gets or sets the icon position within the DXContentPresenter‘s content. This is a bindable property. Inherited from DXContentPresenter. | | IconWidth | Gets or sets the icon width within the DXContentPresenter‘s content. This is a bindable property. Inherited from DXContentPresenter. | | Id | Gets a value that can be used to uniquely identify an element throughout the run of your application. Inherited from Element. | | InputTransparent | Gets or sets a value indicating whether this element responds to hit testing during user interaction. This is a bindable property. Inherited from VisualElement. | | IsChecked | Gets or sets whether the toggle button is in the checked state. This is a dependency property. | | IsClippedToBounds | Gets or sets whether the DXViewBase should clip child controls to its bounds. This is a bindable property. Inherited from DXViewBase. | | IsEnabled | Gets or sets a value indicating whether this element is enabled in the user interface. This is a bindable property. Inherited from VisualElement. | | IsFocused | Gets a value indicating whether this element is focused currently. This is a bindable property. Inherited from VisualElement. | | IsPlatformEnabled | Gets or sets a value that indicates whether this elements’s platform equivalent element is enabled. Inherited from VisualElement. | | IsPressed | Gets whether the button is in a pressed state. Inherited from DXButtonBase. | | IsVisible | Gets or sets a value that determines whether this element will be visible on screen and take up space in layouts. This is a bindable property. Inherited from VisualElement. | | LogicalChildren | For internal use by the Microsoft.Maui.Controls platform. Inherited from Element. | | Margin | Gets or set the margin for the view. Inherited from View. | | MinimumHeightRequest | Gets or sets the minimum height the element will request during layout. This is a bindable property. Inherited from VisualElement. | | MinimumWidthRequest | Gets or sets the minimum width the element will request during layout. This is a bindable property. Inherited from VisualElement. | | Navigation | Gets the object responsible for handling stack-based navigation. Inherited from NavigableElement. | | NavigationProxy | Gets the cast of Navigation to a NavigationProxy. Inherited from NavigableElement. | | Opacity | Gets or sets the opacity value applied to the element when it is rendered. The range of this value is 0 to 1; values outside this range will be set to the nearest valid value. This is a bindable property. Inherited from VisualElement. | | Padding | Gets or sets the amount of space around the DXViewBase descendants. This is a bindable property. Inherited from DXViewBase. | | Parent | Gets or sets the parent Element of this element. Inherited from Element. | | PressedBackgroundColor | Gets or sets the background color of the button in the pressed state. This is a bindable property. Inherited from DXButtonBase. | | PressedBorderColor | Gets or sets the border color of the button in the pressed state. This is a bindable property. Inherited from DXButtonBase. | | PressedIconColor | Gets or sets the icon color of the button in the pressed state. This is a bindable property. Inherited from DXButtonBase. | | PressedScale | Gets or sets the scale for the button in the pressed state. Inherited from DXButtonBase. | | PressedTextColor | Gets or sets the text color of the button in the pressed state. This is a bindable property. Inherited from DXButtonBase. | | RealParent | For internal use by .NET MAUI. Inherited from Element. | | Resources | Gets or sets the local resource dictionary. Inherited from VisualElement. | | RippleEffectPosition | Gets or sets whether to show ripple effects in front of button content or behind it. This is a bindable property. Inherited from DXButtonBase. | | Rotation | Gets or sets the rotation (in degrees) about the Z-axis (affine rotation) when the element is rendered. This is a bindable property. Inherited from VisualElement. | | RotationX | Gets or sets the rotation (in degrees) about the X-axis (perspective rotation) when the element is rendered. This is a bindable property. Inherited from VisualElement. | | RotationY | Gets or sets the rotation (in degrees) about the Y-axis (perspective rotation) when the element is rendered. This is a bindable property. Inherited from VisualElement. | | Scale | Gets or sets the scale factor applied to the element. This is a bindable property. Inherited from VisualElement. | | ScaleX | Gets or sets a scale value to apply to the X direction. This is a bindable property. Inherited from VisualElement. | | ScaleY | Gets or sets a scale value to apply to the Y direction. This is a bindable property. Inherited from VisualElement. | | ShowContent | Gets or sets whether to show content within the DXContentPresenter. This is a bindable property. Inherited from DXContentPresenter. | | ShowIcon | Gets or sets whether to show an icon within the DXContentPresenter‘s content. This is a bindable property. Inherited from DXContentPresenter. | | Style | Gets or sets the unique Style for this element. Inherited from NavigableElement. | | StyleClass | Gets or sets the style classes for the element. Inherited from NavigableElement. | | 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 DXContentPresenterBase descendant’s text. This is a bindable property. Inherited from DXContentPresenterBase. | | TextColor | Gets or sets a DXContentPresenterBase descendant’s text color. This is a bindable property. Inherited from DXContentPresenterBase. | | TextDecorations | Gets or sets text decorations applied to a DXContentPresenterBase descendant’s text. This is a bindable property. Inherited from DXContentPresenterBase. | | TextHorizontalAlignment | Gets or sets the horizontal alignment applied to a DXContentPresenterBase descendant’s text. This is a bindable property. Inherited from DXContentPresenterBase. | | TextLineBreakMode | Gets or sets the line breaking mode for a DXContentPresenterBase descendant’s text. This is a bindable property. Inherited from DXContentPresenterBase. | | TextLineHeight | Gets or sets line height applied to a DXContentPresenterBase descendant’s text. This is a bindable property. Inherited from DXContentPresenterBase. | | TextMaxLines | Gets or sets the maximum number of a DXContentPresenterBase descendant’s text. This is a bindable property. Inherited from DXContentPresenterBase. | | TextTransform | Gets or sets the transformation applied to a DXContentPresenterBase descendant’s text. This is a bindable property. Inherited from DXContentPresenterBase. | | TextVerticalAlignment | Gets or sets the vertical alignment applied to a DXContentPresenterBase descendant’s text. This is a bindable property. Inherited from DXContentPresenterBase. | | Theme | Gets or sets the button theme. This is a bindable property. Inherited from DXButtonBase. | | ThemeSeedColor | Gets or sets the primary key color of the applied theme. This is a bindable property. Inherited from DXButtonBase. | | TranslationX | Gets or sets the X translation delta of the element. This is a bindable property. Inherited from VisualElement. | | TranslationY | Gets or sets the Y translation delta of the element. This is a bindable property. Inherited from VisualElement. | | Triggers | Gets the list of TriggerBase objects associated to this element. This is a read-only bindable property. Inherited from VisualElement. | | UseRippleEffect | Gets or sets whether to show ripple effects when a users taps the button. This is a bindable property. Inherited from DXButtonBase. | | VerticalContentAlignment | Gets or sets the vertical alignment of a DXContentPresenterBase descendant’s content. This is a bindable property. Inherited from DXContentPresenterBase. | | VerticalOptions | Gets or sets the LayoutOptions that define how the element gets laid out in a layout cycle. This is a bindable property. Inherited from View. | | Visual | Gets or sets a IVisual implementation that overrides the visual appearance of an element. This is a bindable property. Inherited from VisualElement. | | Width | Gets the current width of this element. This is a read-only bindable property. Inherited from VisualElement. | | WidthRequest | Gets or sets the desired width override of this element. This is a bindable property. Inherited from VisualElement. | | X | Gets the current X position of this element. This is a read-only bindable property. Inherited from VisualElement. | | Y | Gets the current Y position of this element. This is a read-only bindable property. Inherited from VisualElement. |

Methods

NameDescription
ApplyBindings() protectedApplies all the current bindings to BindingContext. Inherited from BindableObject.
BatchBegin()Signals the start of a batch of changes to the elements properties. This can benefit performance if a bigger number of property values are changed. Inherited from VisualElement.
BatchCommit()Signals the end of a batch of commands to the element and that those commands should now be committed. Inherited from VisualElement.
ChangeVisualState() protectedChanges the current visual state based on this elements current property values. Inherited from VisualElement.
ClearValue(BindableProperty)Clears any value that is previously set for a bindable property. Inherited from BindableObject.
ClearValue(BindablePropertyKey)Clears any value that is previously set for a bindable property, identified by its key. Inherited from BindableObject.
CoerceValue(BindableProperty)

Coerces the value of the specified bindable property. This is done by invoking BindableProperty.CoerceValueDelegate of the specified bindable property.

Inherited from BindableObject. | | CoerceValue(BindablePropertyKey) |

Coerces the value of the specified bindable property. This is done by invoking BindableProperty.CoerceValueDelegate of the specified bindable property.

Inherited from BindableObject. | | ColorTo(Color, Color, Int32) | Changes background and border colors with a smooth animation effect. The ColorTo method returns the Task that ends when animation completes. Inherited from DXViewBase. | | EffectIsAttached(String) | For internal use by .NET MAUI. Inherited from Element. | | Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from System.Object. | | Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from System.Object. | | FindByName(String) | Returns the element that has the specified name. Inherited from Element. | | Focus() | Attempts to set focus to this element. Inherited from VisualElement. | | GetChildElements(Point) | Gets the child elements that are visually beneath the specified point. Inherited from View. | | GetHashCode() | Serves as the default hash function. Inherited from System.Object. | | GetIsGroupScope(BindableObject) static | Gets the value of the IsGroupScopeProperty attached property to a specified BindableObject. | | GetType() | Gets the Type of the current instance. Inherited from System.Object. | | GetValue(BindableProperty) | Returns the value that is contained in the given bindable property. Inherited from BindableObject. | | InvalidateMeasure() protected | Marks the current measure of an element as invalidated. Inherited from VisualElement. | | InvalidateMeasureNonVirtual(InvalidationTrigger) | Invalidates the measure of an element. Inherited from VisualElement. | | IsSet(BindableProperty) | Determines whether or not a bindable property exists and has a value set. Inherited from BindableObject. | | Measure(Double, Double, MeasureFlags) | Returns the minimum size that an element needs in order to be displayed on the device. Inherited from VisualElement. | | MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from System.Object. | | IElementController.SetValueFromRenderer(BindableProperty, Object) | For internal use by .NET MAUI. Inherited from Element. | | OnBindingContextChanged() protected | Invoked whenever the binding context of the View changes. Inherited from View. | | OnChildAdded(Element) protected | Invoked when a child object is added to this element. Inherited from VisualElement. | | OnChildRemoved(Element, Int32) protected | Invoked when a child object is removed from this element. Inherited from VisualElement. | | OnChildrenReordered() protected | Raises the ChildrenReordered event. Inherited from VisualElement. | | OnMeasure(Double, Double) protected | Method that is called when a layout measurement happens. Inherited from VisualElement. | | OnPropertyChanging(String) protected | Raises the PropertyChanging event. Inherited from BindableObject. | | ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from System.Object. | | RemoveBinding(BindableProperty) | Removes a previously set binding from a bindable property. Inherited from BindableObject. | | RemoveDynamicResource(BindableProperty) | Removes a previously set dynamic resource. Inherited from Element. | | SetBinding(BindableProperty, BindingBase) | Assigns a binding to a bindable property. Inherited from BindableObject. | | SetDynamicResource(BindableProperty, String) | Sets the BindableProperty property of this element to be updated via the DynamicResource with the provided key. Inherited from Element. | | SetInheritedBindingContext(BindableObject, Object) static | Sets the inherited context to a nested element. Inherited from BindableObject. | | SetIsGroupScope(BindableObject, Boolean) static | Sets the value of the IsGroupScopeProperty attached property to a specified BindableObject | | SetValue(BindableProperty, Object) | Sets the value of the specified bindable property. Inherited from BindableObject. | | SetValue(BindablePropertyKey, Object) | Sets the value of the specified bindable property. Inherited from BindableObject. | | SetValueCore(BindableProperty, Object, SetValueFlags) | For internal use by the Microsoft.Maui.Controls platform. Inherited from BindableObject. | | SetValueFromRenderer(BindableProperty, Object) | For internal use by .NET MAUI. Inherited from Element. | | SetValueFromRenderer(BindablePropertyKey, Object) | For internal use by .NET MAUI. Inherited from Element. | | SizeAllocated(Double, Double) protected | Method that is called during a layout cycle to signal the start of a sub-tree layout. Inherited from VisualElement. | | ToString() | Returns a string that represents the current object. Inherited from System.Object. | | UnapplyBindings() protected | Removes all current bindings from the current context. Inherited from BindableObject. | | Unfocus() | Unsets keyboard focus on this element. Inherited from VisualElement. |

Events

NameDescription
BatchCommittedOccurs when a batch of property changes have been committed by calling BatchCommit(). Inherited from VisualElement.
BindingContextChangedOccurs when the value of the BindingContext property changes. Inherited from BindableObject.
CheckedChangedFires after the IsChecked property is changed.
CheckedChangingFires when a user clicks the toggle button to change the IsChecked property.
ChildAddedRaised whenever a child element is added to the element. Inherited from Element.
ChildRemovedRaised whenever a child element is removed from the element. Inherited from Element.
ChildrenReorderedOccurs when the order of this element’s children changes. Inherited from VisualElement.
ClickedFires when a user taps a DXButtonBase descendant. Inherited from DXButtonBase.
DescendantAddedRaised whenever a child element is added to the element’s subtree. Inherited from Element.
DescendantRemovedRaised whenever a child element is removed from the elements subtree. Inherited from Element.
FocusChangeRequestedOccurs when a focus change is requested. Inherited from VisualElement.
FocusedOccurs when this element is focused. Inherited from VisualElement.
MeasureInvalidatedOccurs when the current measure of an element has been invalidated. Inherited from VisualElement.
PropertyChangedOccurs when a property value changes. Inherited from BindableObject.
PropertyChangingOccurs when a property value is changing. Inherited from BindableObject.
SizeChangedOccurs when the size of an element changed. Inherited from VisualElement.
TapFires when a user taps a DXButtonBase descendant. This event allows you to pass additional event data. Inherited from DXButtonBase.
TapPressedFires when a user taps a DXButtonBase descendant and a finger is not released. Inherited from DXButtonBase.
TapReleasedFires when a user taps a DXButtonBase descendant and a finger is released. Inherited from DXButtonBase.
UnfocusedOccurs when this element is unfocused. Inherited from VisualElement.

See Also

DXToggleButton Class

DevExpress.Maui.Core Namespace