FlexReport for .NET | ComponentOne
C1.Document Assembly / C1.Ssrs Namespace / ReportSession Class / ToggleItem Method
The ID of the item to toggle.
System.Threading.CancellationToken that can be used to cancel an action.

In This Topic
    ToggleItem Method (ReportSession)
    In This Topic
    Toggles the show/hide item in a report.
    Syntax
    'Declaration
     
    Public Function ToggleItem( _
       ByVal toggleID As String, _
       ByVal cancellationToken As CancellationToken _
    ) As Boolean
    public bool ToggleItem( 
       string toggleID,
       CancellationToken cancellationToken
    )

    Parameters

    toggleID
    The ID of the item to toggle.
    cancellationToken
    System.Threading.CancellationToken that can be used to cancel an action.

    Return Value

    true if item was successfully toggled, false otherwise.
    See Also