TileViewOptionsBehavior.EditingMode Property

Gets or sets whether and how tiles can be edited.

Namespace: DevExpress.XtraGrid.Views.Tile

Assembly: DevExpress.XtraGrid.v20.2.dll

Declaration

[DefaultValue(TileViewEditingMode.Disabled)]
[XtraSerializableProperty]
public TileViewEditingMode EditingMode { get; set; }
<DefaultValue(TileViewEditingMode.Disabled)>
<XtraSerializableProperty>
Public Property EditingMode As TileViewEditingMode

Property Value

Type Default Description
TileViewEditingMode

Disabled

A value that specifies whether and how tiles can be edited.

Property Paths

You can access this nested property as listed below:

Object Type Path to EditingMode
TileView
.OptionsBehavior.EditingMode

Remarks

By default, tile editing is disabled. You can enable tile editing in a modal Edit Form, by setting the EditingMode property to EditForm.

At runtime, when an end-user double-clicks a tile, or focuses it and then presses ENTER or F2, the Tile View invokes the modal Edit Form containing data from the current tile. The Tile View automatically generates a layout of fields within the Edit Form, according to the settings provided by the TileView.OptionsEditForm and GridColumn.OptionsEditForm properties. These settings allow you to specify the number of layout columns, field visibility and order, etc.

If the default layout of the Edit Form does not meet your requirements, you can create a custom Edit Form (UserControl), which will arrange editors in a specific manner. Create a User Control derived from the EditFormUserControl class, and assign an instance of this User Control to the TileView.OptionsEditForm.CustomEditFormLayout property. For more information, see Modify and Validate Cell Values.

The following events can be useful if you need to dynamically customize Edit Forms.

See Also