FlexReport for WPF | ComponentOne
C1.WPF.Document Assembly / C1.WPF.Document Namespace / C1LinkTargetFile Class / Command Property

In This Topic
    Command Property (C1LinkTargetFile)
    In This Topic
    Gets the command (verb) specifying the action to perform when the link is clicked.
    Syntax
    'Declaration
     
    Public ReadOnly Property Command As String
    public string Command {get;}
    Remarks

    The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs.

    For more information about verbs and their availability, see Object Verbs. See Extending Shortcut Menus for further discussion of shortcut menus.

    The following verbs are commonly used.

    Launches an editor and opens the document for editing. If FileName is not a document file, the function will fail.
    edit
    explore Explores the folder specified by FileName.
    find Initiates a search starting from the specified directory.
    open Opens the file specified by the FileName parameter. The file can be an executable file, a document file, or a folder.
    print Prints the document file specified by FileName. If FileName is not a document file, the function will fail.
    Empty string For systems prior to Microsoft? Windows? 2000, the default verb is used if it is valid and available in the registry. If not, the "open" verb is used. For Windows 2000 and later systems, the default verb is used if available. If not, the "open" verb is used. If neither verb is available, the system uses the first verb listed in the registry.
    See Also