Пример #1
0
        private static void OnDragCueStylePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            RowReorderBehavior rowReorder = (RowReorderBehavior)sender;

            if (rowReorder.dragCue != null)
            {
                rowReorder.dragCue.Style = rowReorder.DragCueStyle;
            }
        }
Пример #2
0
        private static void OnDragCueTooltipContentTemplatePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            RowReorderBehavior rowReorder = (RowReorderBehavior)sender;

            if (rowReorder.dragCue != null)
            {
                rowReorder.dragCue.DragTooltipContentTemplate = rowReorder.DragCueTooltipContentTemplate;
            }
        }