ValidationHelper

Ecng.Xaml

Provides attached properties to associate validation rules with DevExpress editors.

Methods

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

Gets the BaseEdit instance associated with the specified settings object.

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

Gets the collection of validation rules attached to the specified object.

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

Associates a BaseEdit instance with the specified settings object.

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

Sets the collection of validation rules attached to the specified object.

Fields

BaseEditProperty
public static readonly DependencyProperty BaseEditProperty
value = ValidationHelper.BaseEditProperty

Identifies the BaseEdit attached property.

ValidationRulesProperty
public static readonly DependencyProperty ValidationRulesProperty
value = ValidationHelper.ValidationRulesProperty

Identifies the ValidationRules attached property.