Version

ErrorAppearance Property (UltraValidator)

Gets/sets the appearance which is used by embeddable elements when the current value is not valid.
Syntax
'Declaration
 
Public Property ErrorAppearance As Infragistics.Win.AppearanceBase
public Infragistics.Win.AppearanceBase ErrorAppearance {get; set;}
Remarks

The ErrorAppearance property is only applicable to embeddable editors. When a property of the ErrorAppearance is explicitly set, any associated embeddable editor elements will use that property setting if it is applicable to that editor, and if the current value fails validation. While the ValidationTrigger property determines the event that initiates a validation, the ErrorAppearance is applied at all times. For example, if the ValidationSettings instance with which an embeddable editor is associated is set to validate in response to the editor's BeforeExitEditMode event, and no edit mode session has yet transpired, the ErrorAppearance will still be applied to the embeddable editor if the current value fails validation.

The ErrorAppearance exposed by this UltraValidator instance applies to all embeddable editors associated with this instance, whereas the ErrorAppearance exposed by the ValidationSettings instance that is extended to the control that provided the editor applies only to that editor. As with all Infragistics appearances, properties of the more specific setting take precedence over the general settings.

The MergeErrorAppearanceCriteria property can be used to control if and when the error appearance is applied.

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