Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(true)]
public bool UseSkinIndents { get; set; }

#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
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