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.v24.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
Declaration
[DefaultValue(true)]
[XtraSerializableProperty]
public bool ShowResetShrinkButtons { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | true | true if these buttons are displayed in advanced customization mode; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to ShowResetShrinkButtons |
---|---|
LayoutView |
|
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.