PrintPreviewDialog.Icon PrintPreviewDialog.Icon PrintPreviewDialog.Icon PrintPreviewDialog.Icon Property

定义

获取或设置窗体的图标。Gets or sets the icon for the form.

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

属性值

Icon,表示窗体的图标。An Icon that represents the icon for the form.

注解

此属性与此类无关。This property is not relevant for this class.

窗体的图标指定在任务栏中表示窗体的图片以及为窗体的控件框显示的图标。A form's icon designates the picture that represents the form in the taskbar, as well as the icon that is displayed for the control box of the form.

适用于