BaseLayoutItem.TextVisible Property

Gets or sets whether the text region is visible.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

[XtraSerializableProperty]
[DXCategory("Text")]
[DefaultValue(true)]
public virtual bool TextVisible { get; set; }
<XtraSerializableProperty>
<DXCategory("Text")>
<DefaultValue(True)>
Public Overridable Property TextVisible As Boolean

Property Value

Type Default Description
Boolean

true

true, if the text region is visible; otherwise, false. For LayoutControlItems, the TextVisible property's default value is dependent on the type of control embedded in this layout item.

Remarks

The text region displays the value of the BaseLayoutItem.Text property. For LayoutControlItem items, this text is displayed next to the item's control. For LayoutControlGroup items, the text is displayed within the group's caption.

Note that group captions are hidden if the LayoutGroup.GroupBordersVisible option is disabled.

For LayoutControlItems, the TextVisible property's default value is dependent on the type of control embedded in this layout item.

For most DevExpress controls (e.g., many of BaseEdit descendants) the TextVisible property's default value is true. The property's default value is false for the following controls.

See Also