[]
        
(Showing Draft Content)

C1.Win.C1Preview.C1PreviewAction.ActionFromTag

ActionFromTag Method

ActionFromTag(string)

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 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.

Declaration
public static C1PreviewActionEnum ActionFromTag(string tag)
Parameters
Type Name Description
string tag

The tag string.

Returns
Type Description
C1PreviewActionEnum

A C1PreviewActionEnum represening the action associated with tag.