Formatting.Visible Property

Gets or sets the visibility state.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v21.1.dll

Declaration

[SRCategory(ReportStringId.CatBehavior)]
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean Visible { get; set; }

Property Value

Type Default Description
DefaultBoolean

Default

A DefaultBoolean value which represents the visibility state.

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The default behavior determined by the control’s logic.

Remarks

The Visible property determines the value which should be set to a control’s XRControl.Visible property, when applying the formatting rule that contains the current Formatting object. Note that if the Visible property is set to DefaultBoolean.Default, this is treated as an empty value, which doesn’t change the visibility of a control’s XRControl.Visible property, even if the rule is applied.

For more information on how to use this property, refer to the Conditionally Changing a Control’s Appearance document. The following tutorials describe how to use the Visible property in real-life scenarios:

See Also