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

Declaration

[Browsable(false)]
[DefaultValue(false)]
public virtual bool RestoreTextToControlDistance { get; set; }
<Browsable(False)>
<DefaultValue(False)>
Public Overridable Property RestoreTextToControlDistance As Boolean

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
DataLayoutControl
.OptionsSerialization.RestoreTextToControlDistance
LayoutControl
.OptionsSerialization.RestoreTextToControlDistance

Remarks

See the LayoutSerializationOptions.StoreSpaceOptions property for more information.

See Also