Skip to main content

LayoutSerializationOptions.RestoreTextToControlDistance Property

Gets or sets whether values of the TextToControlDistance properties (BaseLayoutItem.TextToControlDistance and LayoutGroup .OptionsItemText.TextToControlDistance) are restored when you load the control’s layout from a data store.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[DefaultValue(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual bool RestoreTextToControlDistance { get; set; }

Property Value

Type Default Description
Boolean false

true to restore the TextToControlDistance settings; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to RestoreTextToControlDistance
LayoutControl
.OptionsSerialization .RestoreTextToControlDistance

Remarks

See the LayoutSerializationOptions.StoreSpaceOptions property for more information.

See Also