/// <summary> /// Default Constructor /// </summary> public ComboBox() { ContextMenuService.Coerce(this); }
/// <summary> /// Default Constructor /// </summary> protected RibbonItemsControl() { ContextMenuService.Coerce(this); }
/// <summary> /// Default constructor /// </summary> public Button() { ContextMenuService.Coerce(this); }
/// <summary> /// Initializes a new instance of the <see cref="MenuItem"/> class. /// </summary> public MenuItem() { ContextMenuService.Coerce(this); this.MouseWheel += this.OnMenuItemMouseWheel; }
/// <summary> /// Default constructor /// </summary> public CheckBox() { ContextMenuService.Coerce(this); }
/// <summary> /// Default constructor /// </summary> public RibbonTabControl() { ContextMenuService.Coerce(this); this.Loaded += this.OnLoaded; }
/// <summary> /// Default constructor /// </summary> public Button() { ContextMenuService.Coerce(this); FocusManager.SetIsFocusScope(this, true); }
/// <summary> /// Initializes a new instance of the <see cref="MenuItem"/> class. /// </summary> public MenuItem() { ContextMenuService.Coerce(this); }
/// <summary> /// Creates a new instance. /// </summary> public TextBox() { ContextMenuService.Coerce(this); }
static TextBox() { DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(typeof(TextBox))); ContextMenuService.Attach(typeof(TextBox)); }