static void SetupRotating(FrameworkElement dobj) { var handler = GetRotatingHandler (dobj); if (handler == null) { handler = new MouseRotatingHandler (dobj); SetRotatingHandler (dobj, handler); } }
// ---------------------------------------------------------------------- partial static void OnChange_RotatingHandler(FrameworkElement dobj, MouseRotatingHandler oldValue, MouseRotatingHandler newValue, ref bool handled);
public static void SetRotatingHandler(FrameworkElement dobj, MouseRotatingHandler value) { if (dobj != null) { dobj.SetValue (RotatingHandlerProperty, value); } }