Ejemplo n.º 1
0
 public static void OnRibbonBarWidthPropertyChanged(DependencyObject objects, DependencyPropertyChangedEventArgs args)
 {
     if (args.NewValue != null)
     {
         RibbonBar bases = objects as RibbonBar;
         bases.SetRibbonBarWidth((double)args.NewValue);
     }
 }
Ejemplo n.º 2
0
 public static void OnItemsPropertyChanged(DependencyObject objects, DependencyPropertyChangedEventArgs args)
 {
     if (args.NewValue != null)
     {
         RibbonBar bases = objects as RibbonBar;
         bases.LoadItems();
     }
 }