Represents additional context menu service
Пример #1
0
 /// <summary>
 /// Default Constructor
 /// </summary>
 public ComboBox()
 {
     ContextMenuService.Coerce(this);
 }
Пример #2
0
 /// <summary>
 /// Default Constructor
 /// </summary>
 protected RibbonItemsControl()
 {
     ContextMenuService.Coerce(this);
 }
Пример #3
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public Button()
 {
     ContextMenuService.Coerce(this);
 }
Пример #4
0
        /// <summary>
        /// Initializes a new instance of the <see cref="MenuItem"/> class.
        /// </summary>
        public MenuItem()
        {
            ContextMenuService.Coerce(this);

            this.MouseWheel += this.OnMenuItemMouseWheel;
        }
Пример #5
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public CheckBox()
 {
     ContextMenuService.Coerce(this);
 }
Пример #6
0
        /// <summary>
        /// Default constructor
        /// </summary>
        public RibbonTabControl()
        {
            ContextMenuService.Coerce(this);

            this.Loaded += this.OnLoaded;
        }
Пример #7
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public Button()
 {
     ContextMenuService.Coerce(this);
     FocusManager.SetIsFocusScope(this, true);
 }
Пример #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MenuItem"/> class.
 /// </summary>
 public MenuItem()
 {
     ContextMenuService.Coerce(this);
 }
Пример #9
0
 /// <summary>
 /// Creates a new instance.
 /// </summary>
 public TextBox()
 {
     ContextMenuService.Coerce(this);
 }
Пример #10
0
        static TextBox()
        {
            DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(typeof(TextBox)));

            ContextMenuService.Attach(typeof(TextBox));
        }