Back to Devexpress

LayoutViewOptionsView.PartialCardsSimpleScrolling Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-layout-dot-layoutviewoptionsview-255980d9.md

latest3.9 KB
Original Source

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

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

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean PartialCardsSimpleScrolling { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Overridable Property PartialCardsSimpleScrolling As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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

|

Available values:

NameDescriptionReturn 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 TypePath 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

CardArrangeRule

LayoutViewOptionsView Class

LayoutViewOptionsView Members

DevExpress.XtraGrid.Views.Layout Namespace