TcxCustomGridTableItem.Visible Property
Specifies whether the item is displayed within a View.
Declaration
property Visible: Boolean read; write; default True;
Property Value
Type | Default |
---|---|
Boolean | True |
Remarks
If the Visible property is set to True, a View containing the item displays item data; otherwise, the item is hidden. The item’s visibility does not affect grouping by this item. You can group by the item even if Visible is set to False. The Visible property is automatically set to False for the preview item (the grid item associated with the preview section)).
An end-user can do one of the following to remove an item from a View:
Drag the item’s header into the Customization Form.
Uncheck a corresponding item in the Quick Column Customization dropdown.
Click the ‘Remove this Column’ item in the column header popup menu.
Use the View’s VisibleItems property to access the collection of visible items. To determine the item position within this collection, use the item VisibleIndex property.
All grid items (except for the preview item) whose Visible property is set to False are displayed in the View’s Customization Form or the Quick Column Customization dropdown. You can prohibit certain grid items from appearing there via the item VisibleForCustomization option.