[]
Represents the Visibility element controls whether the ReportItem is initially visible in the output report.
public sealed class Visibility : IValidateable
The Visibility class provides properties to control the visibility of a report item, allowing for dynamic display based on expressions and user interactions.
var reportItem = new TextBox();
reportItem.Visibility = new Visibility { Hidden = ExpressionInfo.FromString("true") };
Name | Description |
---|---|
Visibility() | Initializes a new instance of the Visibility class. |
Name | Description |
---|---|
Hidden | Gets or sets a Boolean expression that indicates whether the item is initially hidden. |
ToggleItem | Gets or sets the name of the TextBox used to toggle the visibility of the report item. |
Name | Description |
---|---|
Validate(ValidationContext) | Validates the current state of the Visibility object. |