An NDoc Documented Class Library

BaseValidator Members

Public Instance Properties

Container (inherited from Component) Gets the IContainer that contains the Component.
ControlToValidate Gets or sets the input control to validate.
ErrorMessage Gets or sets the text for the error message.
HostingForm Gets or sets the component's hosting form.
Icon Gets or sets the Icon that is displayed next to a control when an error description string has been set for the control.
IconAlignment Gets or sets the location where the error icon should be placed in relation to the control.
IconPadding Gets or sets the amount of extra space to leave between the specified control and the error icon.
IsValid Gets a value that indicates whether the associated input control passes validation.
Site (inherited from Component) Gets or sets the ISite of the Component.

Public Instance Methods

CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose (inherited from Component) Releases all resources used by the Component.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
ToString (inherited from Component)
Validate Performs validation on the associated input control and updates the IsValid property.

Public Instance Events

Disposed (inherited from Component)Adds an event handler to listen to the Disposed event on the component.

Protected Instance Constructors

BaseValidator ConstructorInitializes a new instance of the BaseValidator class.

Protected Instance Properties

DesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
Events (inherited from Component)Gets the list of event handlers that are attached to this Component.

Protected Instance Methods

Dispose (inherited from Component)Releases the unmanaged resources used by the Component and optionally releases the managed resources.
EvaluateIsValid When overridden in a derived class, this method contains the code to determine whether the value in the input control is valid.
Finalize (inherited from Component)
GetService (inherited from Component) Returns an object that represents a service provided by the Component or by its Container.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

Explicit Interface Implementations

ISupportInitialize.BeginInit
ISupportInitialize.EndInit

See Also

BaseValidator Class | Genghis.Windows.Forms Namespace