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.1.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. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
Property Paths
You can access this nested property as listed below:
Object Type | Path to PartialCardsSimpleScrolling |
---|---|
LayoutView |
|
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.