Show / Hide Table of Contents

Method BindToValidationErrorsControl

| Improve this Doc View Source

BindToValidationErrorsControl(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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest