Version

ShouldValidate Method

Returns a boolean which specifies whether validation is enabled for the specified embeddable element.
Syntax
'Declaration
 
Function ShouldValidate( _
   ByVal embeddableElement As EmbeddableUIElementBase, _
   ByRef extendee As Control, _
   ByRef isProvidedEditor As Boolean _
) As Boolean
bool ShouldValidate( 
   EmbeddableUIElementBase embeddableElement,
   out Control extendee,
   out bool isProvidedEditor
)

Parameters

embeddableElement
The embeddable element to test.
extendee
[out] If true is returned, contains a reference to the Control to which the Infragistics.Win.Misc.ValidationSettings instance which determines validity has been extended. This reference can be used by other methods defined in this interface.
isProvidedEditor
[out] Upon return, specifies whether the embeddableElement is associated with an editor that was provided via the IProvidesEmbeddableEditor interface. Applicable only when true is returned from this method.

Return Value

True if the specified editor should be validated by its associated validator.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also