[]
        
(Showing Draft Content)

C1.WinUI.Input.C1ValidationDecorator

C1ValidationDecorator Class

Displays binding validation errors.

Inheritance
C1ValidationDecorator
Implements
Namespace: C1.WinUI.Input
Assembly: C1.WinUI.Input.dll
Syntax
public class C1ValidationDecorator : C1View, IDisposable

Constructors

Name Description
C1ValidationDecorator()

Initializes a new instance of the C1ValidationDecorator class.

Fields

Name Description
ErrorsProperty

Identifies the Errors dependency property.

TargetProperty

Identifies the Target dependency property.

ValidationStateProperty

Identifies the ValidationState dependency property.

Properties

Name Description
Errors
Target

Gets or sets the target of the validation.

ValidationState

Gets or sets the ValidationState.

Methods

Name Description
ChangeVisualStateValidationState(bool)

Updates the current visual state of the ValidationState visual state group to match the object's properties.

Dispose(bool)
OnApplyTemplate()