EditorButton.IsLeft Property
Gets or sets the location of the button within the current ButtonEdit control.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true if the button is aligned to the left; false if the button is aligned to the right. |
Remarks
It is possible to align an editor button either to the left or to the right. Set the IsLeft property to true to make the button aligned to the left. Otherwise, the button is stuck to the right edge of the current ButtonEdit control.
The following screenshots show two button edit controls with one button. The button’s IsLeft property is set to false and true respectively.
IsLeft property value | Image |
---|---|
false | |
true |
When the IsLeft property value is changed, the button’s EditorButton.Changed event is fired.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsLeft property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.