Beispiel #1
0
 public FieldInferenceRule(Field field, IFieldConvention fieldBuilder, Binding editorBinding)
     : base(ValidationStep.UpdatedValue, true)
 {
     this.field         = field;
     this.fieldBuilder  = fieldBuilder;
     this.editorBinding = editorBinding;
 }
 public FieldInferenceRule(Field field, IFieldConvention fieldBuilder, Binding editorBinding)
     : base(ValidationStep.UpdatedValue, true)
 {
     this.field = field;
     this.fieldBuilder = fieldBuilder;
     this.editorBinding = editorBinding;
 }
Beispiel #3
0
 /// <summary>
 /// Sets the field builder associated with the given element.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <param name="value">The value.</param>
 public static void SetFieldBuilder(DependencyObject element, IFieldConvention value)
 {
     element.SetValue(FieldBuilderProperty, value);
 }
Beispiel #4
0
 /// <summary>
 /// Sets the field builder associated with the given element.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <param name="value">The value.</param>
 public static void SetFieldBuilder(DependencyObject element, IFieldConvention value)
 {
     element.SetValue(FieldBuilderProperty, value);
 }