ErrorProvider::Icon Property
.NET Framework (current version)
Gets or sets the Icon that is displayed next to a control when an error description string has been set for the control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Exception | Condition |
|---|---|
| ArgumentNullException | The assigned value of the Icon is null. |
For best results, use an icon of the size 16 x 16 pixels. Specified icons are resized to be 16 x 16 pixels, if necessary.
.NET Framework
Available since 1.1
Available since 1.1
Show: