ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / Visibility Class / ToggleItem Property
Example

In This Topic
    ToggleItem Property (Visibility)
    In This Topic
    Gets or sets the name of the TextBox used to toggle the visibility of the report item.
    Syntax
    'Declaration
     
    Public Property ToggleItem As String
    public string ToggleItem {get; set;}

    Property Value

    A System.String value indicating the name of the textbox used to toggle the visibility of the report item.
    Remarks

    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.

    Example
    visibility.ToggleItem = "ToggleTextBoxName";
    See Also