OptionsView.UseSkinIndents Property

Gets or sets whether padding settings (BaseLayoutItem.Padding and BaseLayoutItem.Spacing) of items and groups are obtained from the current skin. This is a backward compatibility option.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.2.dll

Declaration

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

Property Value

Type Default Description
Boolean

true

true if padding settings of items and groups are obtained from the current skin; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to UseSkinIndents
DataLayoutControl
.OptionsView.UseSkinIndents
LayoutControl
.OptionsView.UseSkinIndents

Remarks

In version 9.2, default padding settings of items and groups have been changed. Starting from this version, if the UseSkinIndents option is set to true, padding is determined by a skin, although the settings can still be overridden via the BaseLayoutItem.Padding and BaseLayoutItem.Spacing properties. To revert to the old default padding settings, set the UseSkinIndents option to false.

When size constraints are applied and the UseSkinIndents option is enabled, the control size might change when changing a paint scheme. This occurs because the real sizes of controls are affected by layout items' padding.

See Also