| Visual Basic (Declaration) | |
|---|---|
Public Property ErrorAppearance As Infragistics.Win.AppearanceBase | |
| C# | |
|---|---|
public Infragistics.Win.AppearanceBase ErrorAppearance {get; set;} | |
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.