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

LayoutViewOptionsView.PartialCardsSimpleScrolling Property

Gets or sets how the Layout View is scrolled when partial cards are enabled.

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean PartialCardsSimpleScrolling { get; set; }

#Property Value

Type Default Description
DefaultBoolean Default

A value that specifies how the Layout View is scrolled when partial cards are enabled.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

#Property Paths

You can access this nested property as listed below:

Object Type Path to PartialCardsSimpleScrolling
LayoutView
.OptionsView .PartialCardsSimpleScrolling

#Remarks

The PartialCardsSimpleScrolling property affects the way in which the last cards are scrolled in a LayoutView when the partial cards feature is enabled (see LayoutViewOptionsView.CardArrangeRule).

If the PartialCardsSimpleScrolling property is set to True, cards that belong to the last scroll page are scrolled one-by-one when using a scrollbar. When the LayoutView is scrolled to the last position, an empty space may appear at the far edge of the last card. The following video demonstrates card scrolling when the PartialCardsSimpleScrolling property is set to True:

If the PartialCardsSimpleScrolling property is set to False, cards that belong to the last scroll page are scrolled in their entirety when using a scrollbar. The last card is anchored to the far edge of the LayoutView. The following video demonstrates card scrolling when the PartialCardsSimpleScrolling property is set to False:

The Default value assigned to the PartialCardsSimpleScrolling property is equivalent to True in LayoutViewMode.Row and LayoutViewMode.Column modes. In other modes, it is equivalent to False.

See Also