Returns the amount of extra space to leave next to the error icon.
[Visual Basic] Public Function GetIconPadding( _ ByVal control As RichControl _ ) As Integer [C#] public int GetIconPadding( RichControl control ); [C++] public: int GetIconPadding( RichControl* control ); [JScript] public function GetIconPadding( control : RichControl ) : int;
The number of pixels to leave between the icon and the control. Note that many icons naturally have extra space around thier central image, so the padding value is only necessary if additonal space is necessary. Also, the padding can be negative so the icon overlaps the edge of the control.
ErrorProvider Class | ErrorProvider Members | System.WinForms Namespace | SetIconPadding