ValidationHelper

Ecng.Xaml

添付されたプロパティをDevExpressエディタと関連付ける。

メソッド

GetBaseEdit
public static BaseEdit GetBaseEdit(BaseEditSettings settings)
result = ValidationHelper.GetBaseEdit(settings)

指定した設定オブジェクトに関連付けられている BaseEdit インスタンスを取得します。

GetValidationRules
public static ValidationRulesCollection GetValidationRules(DependencyObject obj)
result = ValidationHelper.GetValidationRules(obj)

指定したオブジェクトに添付されたバリデーションルールのコレクションを取得します。

SetBaseEdit
public static void SetBaseEdit(BaseEditSettings settings, BaseEdit edit)
ValidationHelper.SetBaseEdit(settings, edit)

指定した設定オブジェクトでBaseEditインスタンスを関連付けます。

SetValidationRules
public static void SetValidationRules(DependencyObject obj, ValidationRulesCollection value)
ValidationHelper.SetValidationRules(obj, value)

指定したオブジェクトに添付されたバリデーションルールのコレクションを設定します。

フィールド

BaseEditProperty
public static readonly DependencyProperty BaseEditProperty
value = ValidationHelper.BaseEditProperty

BaseEdit に添付されたプロパティを識別します。

ValidationRulesProperty
public static readonly DependencyProperty ValidationRulesProperty
value = ValidationHelper.ValidationRulesProperty

ValidationRules に添付されたプロパティを識別します。