Export (0) Print
Expand All

ErrorProvider Members

Provides a user interface for indicating that a control on a form has an error associated with it.

The ErrorProvider type exposes the following members.

  NameDescription
Public method ErrorProvider Overloaded. Initializes a new instance of the ErrorProvider class.
Top

  NameDescription
Public method BindToDataAndErrors Provides a method to set both the DataSource and DataMember at run time.
Public method CanExtend Gets a value indicating whether a control can be extended.
Public method Clear Clears all settings associated with this component.
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Dispose Overloaded. Releases all resources used by the ErrorProvider.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public method GetError Returns the current error description string for the specified control.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetIconAlignment Gets a value indicating where the error icon should be placed in relation to the control.
Public method GetIconPadding Returns the amount of extra space to leave next to the error icon.
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method GetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone Overloaded.
Protected method OnRightToLeftChanged Raises the RightToLeftChanged event.
Public method SetError Sets the error description string for the specified control.
Public method SetIconAlignment Sets the location where the error icon should be placed in relation to the control.
Public method SetIconPadding Sets the amount of extra space to leave between the specified control and the error icon.
Public method ToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Public method UpdateBinding Provides a method to update the bindings of the DataSource, DataMember, and the error text.
Top

  NameDescription
Public property BlinkRate Gets or sets the rate at which the error icon flashes.
Public property BlinkStyle Gets or sets a value indicating when the error icon flashes.
Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Public property ContainerControl Gets or sets a value indicating the parent control for this ErrorProvider.
Public property DataMember Gets or sets the list within a data source to monitor.
Public property DataSource Gets or sets the data source that the ErrorProvider monitors.
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Protected property Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public property Icon Gets or sets the Icon that is displayed next to a control when an error description string has been set for the control.
Public property RightToLeft Gets or sets a value that indicates whether the component is used in a locale that supports right-to-left fonts.
Public property Site Gets or sets the ISite of the Component. (Overrides Component.Site.)
Public property Tag Gets or sets an object that contains data about the component.
Top

  NameDescription
Public event Disposed Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)
Public event RightToLeftChanged Occurs when the RightToLeft property changes value.
Top

  NameDescription
Explicit interface implemetation Private method ISupportInitialize.BeginInit Signals the object that initialization is starting.
Explicit interface implemetation Private method ISupportInitialize.EndInit Signals the object that initialization is complete.
Top

Community Additions

ADD
Show:
© 2014 Microsoft