Form.Icon Właściwość

Definicja

Pobiera lub ustawia ikonę formularza.

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

Wartość właściwości

Icon

Element Icon reprezentujący ikonę formularza.

Uwagi

Ikona formularza wyznacza obraz reprezentujący formularz na pasku zadań, a także ikonę wyświetlaną dla pola sterującego formularza.

Ta właściwość nie będzie miała żadnego wpływu, jeśli FormBorderStyle jest ustawiona na FixedDialogwartość . W takim przypadku formularz nie będzie wyświetlać ikony.

Dotyczy

Zobacz też