Skip to main content

ButtonEdit.Properties Property

Gets ButtonEdit settings.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v25.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Properties")]
[SmartTagSearchNestedProperties]
public RepositoryItemButtonEdit Properties { get; }

Property Value

Type Description
RepositoryItemButtonEdit

Editor settings.

Remarks

Use Properties to access and customize appearance, behavior, and button settings (for example, Buttons and TextEditStyle).

The following code snippet uses Properties to customize a ButtonEdit control:

using DevExpress.XtraEditors.Controls;

buttonEdit1.Properties.TextEditStyle = TextEditStyles.HideTextEditor;
buttonEdit1.Properties.Buttons.Add(new EditorButton(ButtonPredefines.OK));

The following code snippets (auto-collected from DevExpress Examples) contain references to the Properties 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