Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DefinitionBase.Visible Property

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.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