Formatting.Visible Property
Gets or sets the visibility state.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
[DefaultValue(DefaultBoolean.Default)]
[SRCategory(ReportStringId.CatBehavior)]
public DefaultBoolean Visible { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DefaultBoolean | Default | A DefaultBoolean value which represents the visibility state. |
Available values:
Name | Description | Return Value |
---|---|---|
True | The value is true. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
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:
- Conditionally Filter Report Data
- Conditionally Suppress Controls
- Limit the Number of Records per Page