Reports for WinForms | ComponentOne
C1.Win.C1Report.4 Assembly / C1.Win.C1Preview Namespace / C1PreviewAction Class / ActionFromTag Method
The tag string.

In This Topic
    ActionFromTag Method
    In This Topic
    Returns a C1PreviewActionEnum value corresponding to a tag string associated with a UI element. When C1PrintPreviewControl's UI elements (such as toolbar items) are created, their System.Windows.Forms.Control.Tag properties are assigned predefined strings that determine actions performed when those elements are invoked. This method allows to find out the specific action associated with a tag.
    Syntax
    'Declaration
     
    Public Shared Function ActionFromTag( _
       ByVal tag As String _
    ) As C1PreviewActionEnum
    public static C1PreviewActionEnum ActionFromTag( 
       string tag
    )

    Parameters

    tag
    The tag string.

    Return Value

    A C1PreviewActionEnum represening the action associated with tag.
    See Also