[]
Displays binding validation errors.
[TemplateVisualState(Name = "Valid", GroupName = "ValidationStatesStates")]
[TemplateVisualState(Name = "InvalidFocused", GroupName = "ValidationStatesStates")]
[TemplateVisualState(Name = "InvalidUnfocused", GroupName = "ValidationStatesStates")]
public class C1ValidationDecorator : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
Name | Description |
---|---|
C1ValidationDecorator() | Initializes a new instance of a C1ValidationDecorator. |
Name | Description |
---|---|
CornerRadiusProperty | Identifies the CornerRadius dependency property. |
TargetProperty | Identifies the Target dependency property. |
ValidationStateProperty | Identifies the ValidationState dependency property. |
Name | Description |
---|---|
CornerRadius | Gets or sets a value that represents the degree to which the corners of the element are rounded. |
Target | Gets or sets the target of the validation. |
ValidationState | Gets or sets the ValidationState. |
Name | Description |
---|---|
ChangeVisualStateValidationStates(bool) | Updates the current visual state of the ValidationStates visual state group to match the object's properties. |
OnApplyTemplate() | Builds the visual tree for the C1ValidationDecorator control when a new template is applied. |