Class ValidationBinding
- Namespace
- UraniumUI.Validations
- Assembly
- UraniumUI.Validations.DataAnnotations.dll
[ContentProperty("Path")]
[Obsolete("Use the new DataAnnotationsBehavior instead.")]
public class ValidationBinding : IMarkupExtension<BindingBase>, IMarkupExtension
- Inheritance
-
ValidationBinding
- Implements
-
- Inherited Members
-
Properties
FieldName
public string FieldName { get; set; }
Property Value
- string
Mode
public BindingMode Mode { get; set; }
Property Value
- BindingMode
Path
public string Path { get; set; }
Property Value
- string
Source
public object Source { get; set; }
Property Value
- object
Methods
GetProperty(Type, string)
protected virtual PropertyInfo GetProperty(Type type, string propertyName)
Parameters
type Type
propertyName string
Returns
- PropertyInfo
IsNestedProperty(string)
protected bool IsNestedProperty(string propertyName)
Parameters
propertyName string
Returns
- bool
ProvideValue(IServiceProvider)
public object ProvideValue(IServiceProvider serviceProvider)
Parameters
serviceProvider IServiceProvider
Returns
- object