[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.Visibility.ToggleItem

ToggleItem Property

ToggleItem

Gets or sets the name of the TextBox used to toggle the visibility of the report item.

Declaration
public string ToggleItem { get; set; }
Property Value
Type Description
string

A string value indicating the name of the textbox used to toggle the visibility of the report item.

Remarks
<p>Clicking an instance of the ToggleItem toggles the hidden state of every corresponding instance of the item. 

If the ToggleItem becomes hidden, this item becomes hidden. This cascading does not apply if the ToggleItem becomes hidden as a result of a containing table column or matrix cell becoming hidden.

The ToggleItem must be a textbox in the same grouping scope as this item or in any containing grouping scope.

If a value for the ToggleItem is omitted, no item toggles the hidden state of this item.

ToggleItems are not allowed on and cannot refer to report items contained in a page header or footer.

ToggleItems cannot refer to a report item contained within the current report item unless the current grouping scope has a parent.

Examples
visibility.ToggleItem = "ToggleTextBoxName";