Upraviť

Zdieľať cez


TaskDialogFootnote.Icon Property

Definition

Gets or sets the footnote icon.

public:
 property System::Windows::Forms::TaskDialogIcon ^ Icon { System::Windows::Forms::TaskDialogIcon ^ get(); void set(System::Windows::Forms::TaskDialogIcon ^ value); };
public System.Windows.Forms.TaskDialogIcon? Icon { get; set; }
member this.Icon : System.Windows.Forms.TaskDialogIcon with get, set
Public Property Icon As TaskDialogIcon

Property Value

Exceptions

The property is set on a footnote instance that is currently bound to a task dialog, but it's not visible as its initial Text property value was null or an empty string. - or - The property is set and the task dialog has started navigating to a new page containing this footnote instance, but the Created event has not been raised yet. - or - The property is set on a footnote instance that is currently bound to a task dialog, but the dialog has just started navigating to a different page.

Remarks

This property can be set while the dialog is shown (but in that case, it cannot be switched between instances created from an Icon (or from a handle pointer) and standard icon instances).

Applies to