public static void SetFocusingElement(BarItem barItem, UIElement element) { barItem.SetValue(FocusingElementProperty, element); }
public static void SetAction(BarItem barItem, object action) { barItem.SetValue(ActionProperty, action); }
static void SetDefaultAction(BarItem barItem, object action) { barItem.SetValue(DefaultActionProperty, action); }