Back to Devexpress

Formatting.Visible Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-formatting.md

latest3.3 KB
Original Source

Formatting.Visible Property

Gets or sets the visibility state.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[SRCategory(ReportStringId.CatBehavior)]
public DefaultBoolean Visible { get; set; }
vb
<SRCategory(ReportStringId.CatBehavior)>
<DefaultValue(DefaultBoolean.Default)>
Public Property Visible As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

A DefaultBoolean value which represents the visibility state.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

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

Conditionally Change the Control's Appearance

Formatting Class

Formatting Members

DevExpress.XtraReports.UI Namespace