Skip to main content
A newer version of this page is available. .

ButtonInfoBase.IsLeft Property

Gets or sets the button’s alignment within a ButtonEdit control. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

public bool IsLeft { get; set; }

Property Value

Type Description
Boolean

true to align the button to the editor’s left edge; false to align the button to the editor’s right edge.

Remarks

Buttons aligned to the editor’s left edge can be obtained using the ButtonEdit.LeftButtons property. Right-aligned buttons can be obtained via the ButtonEdit.RightButtons property.

To access all buttons displayed within an editor, use the ButtonEdit.Buttons property.

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