Back to Devexpress

LayoutViewColumn.Visible Property

windowsforms-devexpress-dot-xtragrid-dot-columns-dot-layoutviewcolumn.md

latest2.2 KB
Original Source

LayoutViewColumn.Visible Property

Gets or sets whether the card field is visible.

Namespace : DevExpress.XtraGrid.Columns

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[DXCategory("Appearance")]
public override bool Visible { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(False)>
Public Overrides Property Visible As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if the card field is visible; otherwise. false.

|

Remarks

If a card field has been initially hidden, setting the Visible property to true displays the card field at the bottom of the card. To display a card field at a specific position, use the BaseLayoutItem.Move method of a corresponding LayoutViewField object (this object can be accessed via the LayoutViewColumn.LayoutViewField property).

If a card field was displayed at a specific position and then hidden, setting the Visible property to true restores the card field at its previous visual position.

See Also

LayoutViewField

AddVisible

LayoutViewColumn Class

LayoutViewColumn Members

DevExpress.XtraGrid.Columns Namespace