예제 #1
0
 public ColumnBinderSelector(Selector tb)
     : base(tb)
 {
     Binding = (BindingExpression)tb.SetBinding(Selector.SelectedItemProperty,
         new System.Windows.Data.Binding("Value")
         {
             Source = this,
             Mode = System.Windows.Data.BindingMode.TwoWay,
             ValidatesOnExceptions = true,
             NotifyOnValidationError = true
         });
 }