Skip to main content

EditorButton.IsLeft Property

Gets or sets the location of the button within the current ButtonEdit control.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(false)]
[DXCategory("Layout")]
public virtual bool IsLeft { get; set; }

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 Button_IsLeft_false
true Button_IsLeft_true

When the IsLeft property value is changed, the button’s EditorButton.Changed event is fired.

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.

See Also