ComponentOne Windows 7 Control Pack for WinForms
Working with Windows 7 Control Pack for WinForms / Working with C1TaskDialog / Command Links
In This Topic
    Command Links
    In This Topic

    Command links are customized button that provide explanations about various choices. Command links have a clean, lightweight appearance that allows for descriptive labels, and are displayed with either a standard arrow or custom icon, and an optional supplemental explanation.


    For custom buttons to be displayed as command links set the UseCommandLinks property to True (default). If you do not want the command link to include an icon, set the NoIconOnCommandLinks property to False. To make a command link the default button, you can use the SetDefaultButton method to indicate the name of the button. See the Setting the Default Button topic for an example.

    Command links are similar to radio buttons in that they are used to select from a set of mutually exclusive, related choices. Like radio buttons, command links are always presented in sets, never individually. In appearance, command links have the lightweight appearance similar to regular links, without a frame or other strong click affordance.

    Command links are also similar to command buttons, in that they can be the default "command button" and they can have an access key assigned. Like commit buttons, on click they either close the window (for dialog boxes) or advance to the next page (for wizards and pages flows).