EditorButton.Visible Property

Gets or sets the visibility status of the current button.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DefaultValue(true)]
[DXCategory("Behavior")]
public virtual bool Visible { get; set; }
<DefaultValue(True)>
<DXCategory("Behavior")>
Public Overridable Property Visible As Boolean

Property Value

Type Default Description
Boolean

true

true if the button is visible; otherwise, false.

Remarks

Use the Visible property to specify the visibility of the current EditorButton object.

Toggling the visibility status of the button simply hides the button from the editor's edit box and changes the width of its edit region.

If you change the visibility when an in-place editor is active, the editor is forcibly closed.

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

See Also