Skip to main content

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

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.v24.2.dll

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

#Declaration

[DefaultValue(FixedStyle.None)]
[DXCategory("Appearance")]
public virtual FixedStyle Fixed { get; set; }

#Property Value

Type Default Description
DevExpress.XtraVerticalGrid.Rows.FixedStyle None

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