Exemplo n.º 1
0
 private static void AttachBehavior(FrameworkElement element)
 {
     var proxy = element.DataContext as ColumnHeaderContainer.TreeItemProxy;
     var behavior = new ColumnHeaderExtensions { proxy = proxy };
     behavior.Attach(element);
     SetBehavior(element, behavior);
 }
Exemplo n.º 2
0
        private static void AttachBehavior(FrameworkElement element)
        {
            var proxy    = element.DataContext as ColumnHeaderContainer.TreeItemProxy;
            var behavior = new ColumnHeaderExtensions {
                proxy = proxy
            };

            behavior.Attach(element);
            SetBehavior(element, behavior);
        }
Exemplo n.º 3
0
 private static void SetBehavior(DependencyObject obj, ColumnHeaderExtensions value)
 {
     obj.SetValue(BehaviorProperty, value);
 }
Exemplo n.º 4
0
 private static void SetBehavior(DependencyObject obj, ColumnHeaderExtensions value)
 {
     obj.SetValue(BehaviorProperty, value);
 }