Skip to main content

SimpleButton Events

This is a legacy button control. We recommend that you use DXButton instead.
Name Description
BatchCommitted Occurs when a batch of property changes have been committed by calling BatchCommit(). Inherited from VisualElement.
BindingContextChanged Occurs when the value of the BindingContext property changes. Inherited from BindableObject.
ChildAdded Raised whenever a child element is added to the element. Inherited from Element.
ChildRemoved Raised whenever a child element is removed from the element. Inherited from Element.
ChildrenReordered Occurs when the order of this element’s children changes. Inherited from VisualElement.
Clicked Occurs when a user taps and releases the button.
DescendantAdded Raised whenever a child element is added to the element’s subtree. Inherited from Element.
DescendantRemoved Raised whenever a child element is removed from the elements subtree. Inherited from Element.
Focused Occurs when this element is focused. Inherited from VisualElement.
MeasureInvalidated Occurs when the current measure of an element has been invalidated. Inherited from VisualElement.
Pressed Occurs when a user taps the button.
PropertyChanged Occurs when a property value changes. Inherited from BindableObject.
PropertyChanging Occurs when a property value is changing. Inherited from BindableObject.
Released Occurs when a user releases the button.
SizeChanged Occurs when the size of an element changed. Inherited from VisualElement.
Unfocused Occurs when this element is unfocused. Inherited from VisualElement.
See Also