Back to Devexpress

LayoutViewOptionsView.CardArrangeRule Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-layout-dot-layoutviewoptionsview-9da69270.md

latest2.8 KB
Original Source

LayoutViewOptionsView.CardArrangeRule Property

Gets or sets whether only entire cards can be displayed at the same time, or allow cards to be partially displayed.

Namespace : DevExpress.XtraGrid.Views.Layout

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(LayoutCardArrangeRule.ShowWholeCards)]
[XtraSerializableProperty]
public virtual LayoutCardArrangeRule CardArrangeRule { get; set; }
vb
<DefaultValue(LayoutCardArrangeRule.ShowWholeCards)>
<XtraSerializableProperty>
Public Overridable Property CardArrangeRule As LayoutCardArrangeRule

Property Value

TypeDefaultDescription
LayoutCardArrangeRuleShowWholeCards

A LayoutCardArrangeRule value.

|

Available values:

NameDescription
ShowWholeCards

Whole cards only are displayed.

| | AllowPartialCards |

Allow cards to be partially displayed.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to CardArrangeRule
LayoutView

.OptionsView .CardArrangeRule

|

Remarks

Due to possible scrolling issues, it is not recommended to set the CardArrangeRule property to the LayoutCardArrangeRule.AllowPartialCards value if you handle the LayoutView.CustomCardLayout event.

See Also

ViewMode

PartialCardWrapThreshold

PartialCardsSimpleScrolling

LayoutViewOptionsView Class

LayoutViewOptionsView Members

DevExpress.XtraGrid.Views.Layout Namespace