![winforms errorprovider size winforms errorprovider size](https://gccontent.blob.core.windows.net/samples/Samples_2x/C1InputPanel/Samples/CS/ErrorProvider/screenshot.png)
This->label4 = gcnew System::Windows::Forms::Label This->label3 = gcnew System::Windows::Forms::Label This->favoriteColorComboBox = gcnew System::Windows::Forms::ComboBox This->ageUpDownPicker = gcnew System::Windows::Forms::NumericUpDown This->label2 = gcnew System::Windows::Forms::Label
![winforms errorprovider size winforms errorprovider size](https://gccontent.blob.core.windows.net/samples/Samples_4x/C1DataSourceWinForms/Samples/CS/TransactionsWinForms/screenshot.png)
This->label1 = gcnew System::Windows::Forms::Label This->nameTextBox1 = gcnew System::Windows::Forms::TextBox System::Windows::Forms::ErrorProvider^ favoriteColorErrorProvider System::Windows::Forms::ErrorProvider^ nameErrorProvider System::Windows::Forms::ErrorProvider^ ageErrorProvider System::Windows::Forms::ComboBox^ favoriteColorComboBox System::Windows::Forms::NumericUpDown^ ageUpDownPicker System::Windows::Forms::TextBox^ nameTextBox1 Public ref class Form1: public System::Windows::Forms::Form The SetError method is called with or without appropriate error text during a control's Validated event, depending upon the content in the control. The example sets error icon options using the BlinkRate and BlinkStyle properties and the SetIconAlignment and SetIconPadding methods. The example creates a Form that contains a TextBox control, a NumericUpDown control, and a ComboBox control, each validating its content, and an ErrorProvider for each control.
#WINFORMS ERRORPROVIDER SIZE CODE#
The following code example demonstrates using the ErrorProvider class to notify the user of a data entry error. IExtenderProvider ISupportInitialize Examples Implements IExtenderProvider, ISupportInitialize Inheritance
![winforms errorprovider size winforms errorprovider size](https://docs.devexpress.com/WindowsForms/images/dk-tablelayoutpanel-editor.png)
Implements IExtenderProvider Public Class ErrorProvider Interface ISupportInitialize Public Class ErrorProvider Public class ErrorProvider :, , type ErrorProvider = class In this article public ref class ErrorProvider : System::ComponentModel::Component, System::ComponentModel::IExtenderProvider public ref class ErrorProvider : System::ComponentModel::Component, System::ComponentModel::IExtenderProvider, System::ComponentModel::ISupportInitialize public class ErrorProvider :, Provides a user interface for indicating that a control on a form has an error associated with it.