Tab
A newer version of this page is available. Switch to the current version.

EditButton.Visible Property

Gets or sets the edit button's visibility status.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue(true)]
public virtual bool Visible { get; set; }

Property Value

Type Default Description
Boolean

true

true, if the button is visible; otherwise, false.

Examples

This example demonstrates how to customize the collection of an editor's edit buttons and how to change the DropDownButton position.

The default drop-down button's position can be changed via the EditButton.Position property. Using this property, you can display the button at the left or at the right control side. To display the drop-down button at the custom position (between other edit buttons), hide the default button using the EditButton.Visible property. After that, you can create a custom drop-down button in the required place.

NOTE

To work properly, a control should have only one drop-down button: a default one or custom one (with a hidden default drop-down button).

The code sample below demonstrates how to create a custom EditButtonCollection within the