private void OnDragEndedPrivate(object sender, EventArgs e) { IsOrdering = false; if (_advisor == null) { return; } _advisor.OnOrderEnd(FrameworkElement); _advisor = null; }
private void OnDragStartedInternal(object sender, EventArgs e) { var element = FrameworkElement; _advisor = FindAdvisor(element); if (_advisor == null) { return; } _advisor.OnOrderStart(FrameworkElement); IsOrdering = true; }
public static void SetAdvisor(DependencyObject depObj, IOrderableAdvisor value) { depObj.SetValue(AdvisorProperty, value); }