Export (0) Print
Expand All
1 out of 6 rated this helpful - Rate this topic

ErrorProvider Members

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

The following tables list the members exposed by the ErrorProvider type.

  Name Description
Public method ErrorProvider Overloaded. Initializes a new instance of the ErrorProvider class.
Top
(see also Protected Properties )
  Name Description
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.
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.
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 Overridden.  
Public property Tag Gets or sets an object that contains data about the component.
Top
  Name Description
Protected property CanRaiseEvents  Gets a value indicating whether the component can raise an event.(Inherited from Component.)
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.)
Top
(see also Protected Methods )
  Name Description
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  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
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. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (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.)
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.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
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
  Name Description
Protected method Dispose Overloaded. Overridden. Releases all resources used by the ErrorProvider.
Protected method Finalize  Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Protected method GetService  Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Protected method MemberwiseClone  Overloaded. (Inherited from MarshalByRefObject.)
Protected method OnRightToLeftChanged Raises the RightToLeftChanged event.
Top
  Name Description
Public event Disposed  Adds an event handler to listen to the Disposed event on the component.(Inherited from Component.)
Public event RightToLeftChanged Occurs when the RightToLeft property changes value.
Top
  Name Description
Explicit interface implementation Method System.ComponentModel.ISupportInitialize.BeginInit Signals the object that initialization is starting.
Explicit interface implementation Method System.ComponentModel.ISupportInitialize.EndInit Signals the object that initialization is complete.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.