Skip to main content
All docs
V24.1

DefinitionBase.Visible Property

Gets or sets whether the current row/column is visible.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

Property Value

Type Default Description
Boolean true

true if the row/column is visible; otherwise, false.

Remarks

You can use the Visible property to hide and then show individual rows and columns.

LayoutControl-TableLayout-Row-Column-Visibility

Example

The following code hides the first row in a table layout:

layoutControl1.Root.OptionsTableLayoutGroup.RowDefinitions[0].Visible = false
See Also