Back to Devexpress

BaseRow.Fixed Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-rows-dot-baserow-464b8c48.md

latest2.6 KB
Original Source

BaseRow.Fixed Property

Gets or sets whether the row is fixed (anchored to a control’s top or bottom edge).

Namespace : DevExpress.XtraVerticalGrid.Rows

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(FixedStyle.None)]
[DXCategory("Appearance")]
public virtual FixedStyle Fixed { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(FixedStyle.None)>
Public Overridable Property Fixed As FixedStyle

Property Value

TypeDefaultDescription
DevExpress.XtraVerticalGrid.Rows.FixedStyleNone

A DevExpress.XtraVerticalGrid.Rows.FixedStyle value that specifies whether the row is fixed.

|

Remarks

You can use the Fixed property to anchor a row to a control’s top or bottom edge. This can be accomplished by setting the Fixed property to Top and Bottom respectively.

Fixed rows do not take part in vertical control scrolling.

To get rows that are currently fixed, use the VGridControlBase.FixedTopRows and VGridControlBase.FixedBottomRows collections.

Nested rows cannot be fixed. To fix a nested row, first, remove it from its parent and then add it to the control’s root row collection. See an example in the VertGridMainDemo demo.

See Also

FixedTopRows

FixedBottomRows

NotFixedRows

FixedLineWidth

FixedLine

Rows

BaseRow Class

BaseRow Members

DevExpress.XtraVerticalGrid.Rows Namespace