Skip to main content
A newer version of this page is available. .

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

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

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
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

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:

LayoutView-Scroll-PartialCardSimpleScrolling-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:

LayoutView-Scroll-PartialCardSimpleScrolling-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