ComponentOne Windows 7 Control Pack for WinForms
C1.Win.C1Win7Pack Namespace / C1TaskDialog Class / SetDefaultButton Method / SetDefaultButton(TaskDialogCommonButtons) Method
A single common button that will be selected by default.

In This Topic
    SetDefaultButton(TaskDialogCommonButtons) Method
    In This Topic
    Sets the default button for the task dialog.
    Syntax
    'Declaration
     
    
    Public Overloads Sub SetDefaultButton( _
       ByVal commonButton As TaskDialogCommonButtons _
    ) 
    public void SetDefaultButton( 
       TaskDialogCommonButtons commonButton
    )

    Parameters

    commonButton
    A single common button that will be selected by default.
    See Also