ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / Visibility Class / Validate Method
A ValidationContext object representing the context details during validation.

In This Topic
    Validate Method (Visibility)
    In This Topic
    Validates the current state of the Visibility object.
    Syntax
    'Declaration
     
    Public Function Validate( _
       ByVal context As ValidationContext _
    ) As ValidationEntry()
    public ValidationEntry[] Validate( 
       ValidationContext context
    )

    Parameters

    context
    A ValidationContext object representing the context details during validation.

    Return Value

    An array of ValidationEntry objects representing the information about the validation warnings or failures.
    Exceptions
    ExceptionDescription
    Throws if context is null.
    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.

    See Also