Version

ValidationGroup Class

Provides a way to logically group controls for the purpose of enabling/disabling them, and also to programmatically validated each member of the ValidationGroup.
Syntax
'Declaration
 
Public Class ValidationGroup 
   Inherits Infragistics.Shared.KeyedSubObjectBase
   Implements Infragistics.Shared.IKeyedSubObject, Infragistics.Shared.IKeyedSubObjectEx 
public class ValidationGroup : Infragistics.Shared.KeyedSubObjectBase, Infragistics.Shared.IKeyedSubObject, Infragistics.Shared.IKeyedSubObjectEx  
Remarks

The ValidationSettings class exposes a ValidationGroup property which can be set to any member of the ValidationGroups collection. The associated control (and the embeddable editor it provides, if applicable) then belongs to that group, and can be validated along with each of the other members of the group by calling the Validate(ValidationGroup) method.

The ValidationGroup class exposes only one significant property, Enabled. If the Enabled property is set to false, validation is temporarily suspended for each of the controls whose ValidationGroup property references that group. Note, however, that the Enabled property is not observed when validation is triggered programmatically; in that case, it is assumed the caller wants to override the enabled state of the group.

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