Method BindToValidationErrorsControl
| Improve this Doc View SourceBindToValidationErrorsControl(Model)
Binds row validation errors to ValidationErrorsControl.
Declaration
public static RowBinding<ValidationErrorsControl> BindToValidationErrorsControl(this Model source)
Parameters
Type | Name | Description |
---|---|---|
Model | source | The source model. |
Returns
Type | Description |
---|---|
RowBinding<ValidationErrorsControl> | The row binding object. |
BindToValidationErrorsControl<T>(RowInput<T>)
Binds row input validation errors to ValidationErrorsControl.
Declaration
public static RowBinding<ValidationErrorsControl> BindToValidationErrorsControl<T>(this RowInput<T> source)
where T : UIElement, new()
Parameters
Type | Name | Description |
---|---|---|
RowInput<T> | source | The source row input. |
Returns
Type | Description |
---|---|
RowBinding<ValidationErrorsControl> | The row binding object. |
Type Parameters
Name | Description |
---|---|
T | The element type of row input. |
BindToValidationErrorsControl(BasePresenter)
Binds all scalar validation errors to ValidationErrorsControl.
Declaration
public static ScalarBinding<ValidationErrorsControl> BindToValidationErrorsControl(this BasePresenter source)
Parameters
Type | Name | Description |
---|---|---|
BasePresenter | source | The source presenter. |
Returns
Type | Description |
---|---|
ScalarBinding<ValidationErrorsControl> | The scalar binding object. |
BindToValidationErrorsControl<T>(ScalarInput<T>)
Binds scalar input validation errors to ValidationErrorsControl.
Declaration
public static ScalarBinding<ValidationErrorsControl> BindToValidationErrorsControl<T>(this ScalarInput<T> source)
where T : UIElement, new()
Parameters
Type | Name | Description |
---|---|---|
ScalarInput<T> | source | The source scalar input. |
Returns
Type | Description |
---|---|
ScalarBinding<ValidationErrorsControl> | The scalar binding object. |
Type Parameters
Name | Description |
---|---|
T | The element type of scalar input. |