コード例 #1
0
        private static void AttachBehavior(FrameworkElement element)
        {
            var behavior = new GanttDoubleClickExtension();

            behavior.Attach(element);
            SetBehavior(element, behavior);
        }
コード例 #2
0
		private static void AttachBehavior(FrameworkElement element)
		{
			var behavior = new GanttDoubleClickExtension();
			behavior.Attach(element);
			SetBehavior(element, behavior);
		}
コード例 #3
0
		private static void SetBehavior(DependencyObject obj, GanttDoubleClickExtension value)
		{
			obj.SetValue(BehaviorProperty, value);
		}
コード例 #4
0
 private static void SetBehavior(DependencyObject obj, GanttDoubleClickExtension value)
 {
     obj.SetValue(BehaviorProperty, value);
 }