public static void SetPanelOrientation(DependencyObject obj, NotesPanelOrientation value) { obj.SetValue(PanelOrientationProperty, value); }