Esempio n. 1
0
        private static void OnDropDownProeprtyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            MenuButton sender = (MenuButton)d;

            sender.OnDropDownChanged(e.OldValue as ContextMenu, e.NewValue as ContextMenu);
        }
Esempio n. 2
0
 internal static void SetParentMenuButton(ContextMenu obj, MenuButton value)
 {
     obj.SetValue(ParentMenuButtonProperty, value);
 }