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.1.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.

See Also