DXButton Members
#Constructors
Name | Description |
---|---|
DXButton() | Initializes a new instance of the DXButton class. |
#Fields
Name | Description |
---|---|
Anchor |
Bindable property for Anchor |
Anchor |
Bindable property for Anchor |
Animation |
Identifies the Animation |
Automation |
Bindable property for Automation |
Background |
Bindable property for Background |
Background |
Bindable property for Background.
Inherited from Visual |
Behaviors |
Bindable property for Behaviors.
Inherited from Visual |
Binding |
Bindable property for Binding |
Border |
Identifies the Border |
Border |
Identifies the Border |
Button |
Identifies the Button |
Class |
Bindable property for Class |
Clip |
Bindable property for Clip.
Inherited from Visual |
Command |
Identifies the Command |
Command |
Identifies the Command bindable property.
Inherited from DXButton |
Content |
Identifies the Content bindable property. Inherited from DXBorder. |
Content |
Identifies the Content |
Content |
Identifies the Content |
Corner |
Identifies the Corner |
Disabled |
Identifies the Disabled |
Disabled |
Identifies the Disabled |
Disabled |
Identifies the Disabled |
Disabled |
Identifies the Disabled |
Flow |
Bindable property for Flow |
Font |
Identifies the Font |
Font |
Identifies the Font |
Font |
Identifies the Font |
Font |
Identifies the Font |
Height |
Bindable property for Height.
Inherited from Visual |
Height |
Bindable property for Height |
Horizontal |
Identifies the Horizontal |
Horizontal |
Bindable property for Horizontal |
Icon |
Identifies the Icon |
Icon |
Identifies the Icon |
Icon |
Identifies the Icon |
Icon |
Identifies the Icon |
Icon |
Identifies the Icon |
Icon |
Identifies the Icon |
Icon |
Identifies the Icon bindable property.
Inherited from DXContent |
Icon |
Identifies the Icon |
Input |
Bindable property for Input |
Is |
Identifies the Is |
Is |
Bindable property for Is |
Is |
Bindable property for Is |
Is |
Bindable property for Is |
Is |
Identifies the Is |
Is |
Bindable property for Is |
Margin |
Bindable property for Margin. Inherited from View. |
Minimum |
Bindable property for Minimum |
Minimum |
Bindable property for Minimum |
Navigation |
Bindable property for Navigation.
Inherited from Visual |
Opacity |
Bindable property for Opacity.
Inherited from Visual |
Padding |
Identifies the Padding bindable property.
Inherited from DXView |
Pressed |
Identifies the Pressed |
Pressed |
Identifies the Pressed |
Pressed |
Identifies the Pressed |
Pressed |
Identifies the Pressed |
Pressed |
Identifies the Pressed |
property |
Represents the view’s internal Property |
Ripple |
Identifies the Ripple |
Rotation |
Bindable property for Rotation.
Inherited from Visual |
Rotation |
Bindable property for Rotation |
Rotation |
Bindable property for Rotation |
Scale |
Bindable property for Scale.
Inherited from Visual |
Scale |
Bindable property for Scale |
Scale |
Bindable property for Scale |
Show |
Identifies the Show |
Show |
Identifies the Show |
Style |
Bindable property for Style.
Inherited from Visual |
Text |
Identifies the Text |
Text |
Identifies the Text |
Text |
Identifies the Text |
Text |
Identifies the Text |
Text |
Identifies the Text |
Text |
Identifies the Text |
Text |
Identifies the Text |
Text |
Identifies the Text |
Text |
Identifies the Text |
Theme |
Identifies the Theme bindable property.
Inherited from DXButton |
Theme |
Identifies the Theme |
Translation |
Bindable property for Translation |
Translation |
Bindable property for Translation |
Triggers |
Bindable property for Triggers.
Inherited from Visual |
Use |
Identifies the Use |
Vertical |
Identifies the Vertical |
Vertical |
Bindable property for Vertical |
Visual |
Bindable property for Visual.
Inherited from Visual |
Width |
Bindable property for Width.
Inherited from Visual |
Width |
Bindable property for Width |
XProperty static |
Bindable property for X.
Inherited from Visual |
YProperty static |
Bindable property for Y.
Inherited from Visual |
#Properties
Name | Description |
---|---|
Anchor |
Gets 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 Visual |
Anchor |
Gets 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 Visual |
Animation |
Gets or sets the duration of the button click animation. This is a bindable property.
Inherited from DXButton |
Automation |
Gets or sets a value that allows the automation framework to find and interact with this element. Inherited from Element. |
Background |
Gets or sets the Brush which will be used to fill the background of an element. This is a bindable property.
Inherited from Visual |
Background |
Gets or sets the Color which will fill the background of an element. This is a bindable property.
Inherited from Visual |
Batched |
Gets a value that indicates there are batched changes done for this element.
Inherited from Visual |
Behaviors |
Gets the list of Behavior objects associated to this element. This is a read-only bindable property.
Inherited from Visual |
Binding |
Gets or sets an object that contains the properties that will be targeted by the bound properties that belong to this Bindable |
Border |
Gets or sets the border color of a DXView |
Border |
Gets or sets the border thickness of a DXView |
Bounds |
Gets the bounds of the element in device-independent units.
Inherited from Visual |
Button |
Gets or sets the DXButton type that defines button appearance. This is a bindable property.
|
class |
Gets or sets the style classes for the element.
Inherited from Navigable |
Class |
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 Visual |
Command |
Gets or sets the command that is executed when a user taps a DXButton |
Command |
Gets or sets the parameter passed to the Command. This is a bindable property.
Inherited from DXButton |
Content | Gets or sets an object that the DXBorder displays. This is a bindable property. Inherited from DXBorder. |
Content |
Gets or sets a template that configures the DXBorder. |
Content |
Gets or sets the template selector that chooses a Content |
Corner |
Gets or sets the corner radius of a DXView |
Desired |
Gets the size that this element computed during the measure pass of the layout process.
Inherited from Visual |
Disabled |
Gets or sets the background color of the button in the disabled state. This is a bindable property.
Inherited from DXButton |
Disabled |
Gets or sets the border color of the button in the disabled state. This is a bindable property.
Inherited from DXButton |
Disabled |
Gets or sets the icon color of the button in the disabled state. This is a bindable property.
Inherited from DXButton |
Disabled |
Gets or sets the text color of the button in the disabled state. This is a bindable property.
Inherited from DXButton |
Disable |
Gets a value that indicates that layout for this element is disabled.
Inherited from Visual |
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 Bindable |
Effect |
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. |
Flow |
Gets or sets the layout flow direction. This is a bindable property.
Inherited from Visual |
Font |
Gets or sets font attributes (such as bold and italic). This is a bindable property.
Inherited from DXContent |
Font |
Gets or sets whether text is scaled according to the operating system’s text scale setting. This is a bindable property.
Inherited from DXContent |
Font |
Gets or sets the font name applied to a DXContent |
Font |
Gets or sets the font size applied to a DXContent |
Frame |
Gets or sets the frame this element resides in on screen.
Inherited from Visual |
Gesture |
The collection of gesture recognizers associated with this view. Inherited from View. |
Height |
Gets the current rendered height of this element. This is a read-only bindable property.
Inherited from Visual |
Height |
Gets or sets the desired height override of this element. This is a bindable property.
Inherited from Visual |
Horizontal |
Gets or sets the horizontal alignment of a DXContent |
Horizontal |
Gets or sets the Layout |
Icon |
Gets or sets the icon image within the DXContent |
Icon |
Gets or sets the icon scale within the DXContent |
Icon |
Gets or sets the icon color within the DXContent |
Icon |
Gets or sets whether to change the icon color within the DXContent |
Icon |
Gets or sets the icon height within the DXContent |
Icon |
Gets or sets the distance between icon and text within the DXContent |
Icon |
Gets or sets the icon position within the DXContent |
Icon |
Gets or sets the icon width within the DXContent |
Id | Gets a value that can be used to uniquely identify an element throughout the run of your application. Inherited from Element. |
Input |
Gets or sets a value indicating whether this element responds to hit testing during user interaction. This is a bindable property.
Inherited from Visual |
Is |
Gets or sets whether the DXView |
Is |
Gets or sets a value indicating whether this element is enabled in the user interface. This is a bindable property.
Inherited from Visual |
Is |
Gets a value indicating whether this element is focused currently. This is a bindable property.
Inherited from Visual |
Is |
Gets or sets a value that indicates whether this elements’s platform equivalent element is enabled.
Inherited from Visual |
Is |
Gets whether the button is in a pressed state.
Inherited from DXButton |
Is |
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 Visual |
Logical |
For internal use by the Microsoft. |
Margin | Gets or set the margin for the view. Inherited from View. |
Minimum |
Gets or sets the minimum height the element will request during layout. This is a bindable property.
Inherited from Visual |
Minimum |
Gets or sets the minimum width the element will request during layout. This is a bindable property.
Inherited from Visual |
Navigation |
Gets the object responsible for handling stack-based navigation.
Inherited from Navigable |
Navigation |
Gets the cast of Navigation to a Navigation |
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 Visual |
Padding |
Gets or sets the amount of space around the DXView |
Parent | Gets or sets the parent Element of this element. Inherited from Element. |
Pressed |
Gets or sets the background color of the button in the pressed state. This is a bindable property.
Inherited from DXButton |
Pressed |
Gets or sets the border color of the button in the pressed state. This is a bindable property.
Inherited from DXButton |
Pressed |
Gets or sets the icon color of the button in the pressed state. This is a bindable property.
Inherited from DXButton |
Pressed |
Gets or sets the scale for the button in the pressed state.
Inherited from DXButton |
Pressed |
Gets or sets the text color of the button in the pressed state. This is a bindable property.
Inherited from DXButton |
Real |
For internal use by .NET MAUI. Inherited from Element. |
Resources |
Gets or sets the local resource dictionary.
Inherited from Visual |
Ripple |
Gets or sets whether to show ripple effects in front of button content or behind it. This is a bindable property.
Inherited from DXButton |
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 Visual |
Rotation |
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 Visual |
Rotation |
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 Visual |
Scale |
Gets or sets the scale factor applied to the element. This is a bindable property.
Inherited from Visual |
Scale |
Gets or sets a scale value to apply to the X direction. This is a bindable property.
Inherited from Visual |
Scale |
Gets or sets a scale value to apply to the Y direction. This is a bindable property.
Inherited from Visual |
Show |
Gets or sets whether to show content within the DXContent |
Show |
Gets or sets whether to show an icon within the DXContent |
Style |
Gets or sets the unique Style for this element.
Inherited from Navigable |
Style |
Gets or sets the style classes for the element.
Inherited from Navigable |
Style |
Gets or sets a user defined value to uniquely identify the element. Inherited from Element. |
Text |
Gets or sets the spacing between characters of a DXContent |
Text |
Gets or sets a DXContent |
Text |
Gets or sets text decorations applied to a DXContent |
Text |
Gets or sets the horizontal alignment applied to a DXContent |
Text |
Gets or sets the line breaking mode for a DXContent |
Text |
Gets or sets line height applied to a DXContent |
Text |
Gets or sets the maximum number of a DXContent |
Text |
Gets or sets the transformation applied to a DXContent |
Text |
Gets or sets the vertical alignment applied to a DXContent |
Theme |
Gets or sets the button theme. This is a bindable property.
Inherited from DXButton |
Theme |
Gets or sets the primary key color of the applied theme. This is a bindable property.
Inherited from DXButton |
Translation |
Gets or sets the X translation delta of the element. This is a bindable property.
Inherited from Visual |
Translation |
Gets or sets the Y translation delta of the element. This is a bindable property.
Inherited from Visual |
Triggers |
Gets the list of Trigger |
Use |
Gets or sets whether to show ripple effects when a users taps the button. This is a bindable property.
Inherited from DXButton |
Vertical |
Gets or sets the vertical alignment of a DXContent |
Vertical |
Gets or sets the Layout |
Visual |
Gets or sets a IVisual implementation that overrides the visual appearance of an element. This is a bindable property.
Inherited from Visual |
Width |
Gets the current width of this element. This is a read-only bindable property.
Inherited from Visual |
Width |
Gets or sets the desired width override of this element. This is a bindable property.
Inherited from Visual |
X |
Gets the current X position of this element. This is a read-only bindable property.
Inherited from Visual |
Y |
Gets the current Y position of this element. This is a read-only bindable property.
Inherited from Visual |
#Methods
Name | Description |
---|---|
Apply |
Applies all the current bindings to Binding |
Batch |
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 Visual |
Batch |
Signals the end of a batch of commands to the element and that those commands should now be committed.
Inherited from Visual |
Change |
Changes the current visual state based on this elements current property values.
Inherited from Visual |
Clear |
Clears any value that is previously set for a bindable property.
Inherited from Bindable |
Clear |
Clears any value that is previously set for a bindable property, identified by its key.
Inherited from Bindable |
Coerce |
Coerces the value of the specified bindable property.
This is done by invoking Bindable |
Coerce |
Coerces the value of the specified bindable property.
This is done by invoking Bindable |
Color |
Changes background and border colors with a smooth animation effect. The Color method returns the Task that ends when animation completes.
Inherited from DXView |
Effect |
For internal use by .NET MAUI. Inherited from Element. |
Equals |
Determines whether the specified object instances are considered equal.
Inherited from System. |
Equals |
Determines whether the specified object is equal to the current object.
Inherited from System. |
Find |
Returns the element that has the specified name. Inherited from Element. |
Focus() |
Attempts to set focus to this element.
Inherited from Visual |
Get |
Gets the child elements that are visually beneath the specified point .
Inherited from View. |
Get |
Serves as the default hash function.
Inherited from System. |
Get |
Gets the Type of the current instance.
Inherited from System. |
Get |
Returns the value that is contained in the given bindable property.
Inherited from Bindable |
Invalidate |
Marks the current measure of an element as invalidated.
Inherited from Visual |
Invalidate |
Invalidates the measure of an element.
Inherited from Visual |
Is |
Determines whether or not a bindable property exists and has a value set.
Inherited from Bindable |
Measure |
Returns the minimum size that an element needs in order to be displayed on the device.
Inherited from Visual |
Memberwise |
Creates a shallow copy of the current Object.
Inherited from System. |
IElement |
For internal use by .NET MAUI. Inherited from Element. |
On |
Invoked whenever the binding context of the View changes. Inherited from View. |
On |
Invoked when a child object is added to this element.
Inherited from Visual |
On |
Invoked when a child object is removed from this element.
Inherited from Visual |
On |
Raises the Children |
On |
Method that is called when a layout measurement happens.
Inherited from Visual |
On |
Raises the Property |
Reference |
Determines whether the specified Object instances are the same instance.
Inherited from System. |
Remove |
Removes a previously set binding from a bindable property.
Inherited from Bindable |
Remove |
Removes a previously set dynamic resource. Inherited from Element. |
Set |
Assigns a binding to a bindable property.
Inherited from Bindable |
Set |
Sets the Bindable |
Set |
Sets the inherited context to a nested element.
Inherited from Bindable |
Set |
Sets the value of the specified bindable property.
Inherited from Bindable |
Set |
Sets the value of the specified bindable property.
Inherited from Bindable |
Set |
For internal use by the Microsoft. |
Set |
For internal use by .NET MAUI. Inherited from Element. |
Set |
For internal use by .NET MAUI. Inherited from Element. |
Size |
Method that is called during a layout cycle to signal the start of a sub-tree layout.
Inherited from Visual |
To |
Returns a string that represents the current object.
Inherited from System. |
Unapply |
Removes all current bindings from the current context.
Inherited from Bindable |
Unfocus() |
Unsets keyboard focus on this element.
Inherited from Visual |
#Events
Name | Description |
---|---|
Batch |
Occurs when a batch of property changes have been committed by calling Batch |
Binding |
Occurs when the value of the Binding |
Child |
Raised whenever a child element is added to the element. Inherited from Element. |
Child |
Raised whenever a child element is removed from the element. Inherited from Element. |
Children |
Occurs when the order of this element’s children changes.
Inherited from Visual |
Clicked |
Fires when a user taps a DXButton |
Descendant |
Raised whenever a child element is added to the element’s subtree. Inherited from Element. |
Descendant |
Raised whenever a child element is removed from the elements subtree. Inherited from Element. |
Focus |
Occurs when a focus change is requested.
Inherited from Visual |
Focused |
Occurs when this element is focused.
Inherited from Visual |
Measure |
Occurs when the current measure of an element has been invalidated.
Inherited from Visual |
Property |
Occurs when a property value changes.
Inherited from Bindable |
Property |
Occurs when a property value is changing.
Inherited from Bindable |
Size |
Occurs when the size of an element changed.
Inherited from Visual |
Tap |
Fires when a user taps a DXButton |
Tap |
Fires when a user taps a DXButton |
Tap |
Fires when a user taps a DXButton |
Unfocused |
Occurs when this element is unfocused.
Inherited from Visual |