Back to Devexpress

LayoutViewOptionsCustomization.ShowResetShrinkButtons Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-layout-dot-layoutviewoptionscustomization-ba3e11fa.md

latest2.9 KB
Original Source

LayoutViewOptionsCustomization.ShowResetShrinkButtons Property

Gets or sets whether the Reset Template Card and Shrink Template Card buttons are displayed within the Template Card tab in the Customization Form in advanced customization mode.

Namespace : DevExpress.XtraGrid.Views.Layout

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public bool ShowResetShrinkButtons { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Property ShowResetShrinkButtons As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if these buttons are displayed in advanced customization mode; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ShowResetShrinkButtons
LayoutView

.OptionsCustomization .ShowResetShrinkButtons

|

Remarks

The ShowResetShrinkButtons option specifies whether the Reset Template Card and Shrink Template Card buttons are available via the Customization Form. The option is in effect when the LayoutViewOptionsCustomization.UseAdvancedRuntimeCustomization property is set to true.

The Reset Template Card button clears the current layout of fields, and then creates new fields for all columns in the underlying data source and arranges them vertically.

The Shrink Template Card button resizes the template card to the minimum size that is determined by size constraints applied to card fields.

See Also

LayoutViewOptionsCustomization Class

LayoutViewOptionsCustomization Members

DevExpress.XtraGrid.Views.Layout Namespace