Пример #1
0
        private static void OnDropDownProeprtyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            MenuButton sender = (MenuButton)d;

            sender.OnDropDownChanged(e.OldValue as ContextMenu, e.NewValue as ContextMenu);
        }
Пример #2
0
 internal static void SetParentMenuButton(ContextMenu obj, MenuButton value)
 {
     obj.SetValue(ParentMenuButtonProperty, value);
 }