Handles Alt, F10 and so on
コード例 #1
0
ファイル: Ribbon.cs プロジェクト: Gainedge/BetterExplorer
 /// <summary>
 /// Default constructor
 /// </summary>
 public Ribbon()
 {
     VerticalAlignment = VerticalAlignment.Top;
     KeyboardNavigation.SetDirectionalNavigation(this, KeyboardNavigationMode.Contained);
     this.Loaded += this.OnLoaded;
     this.Unloaded += this.OnUnloaded;
     keyTipService = new KeyTipService(this);
 }
コード例 #2
0
        /// <summary>
        /// Default constructor
        /// </summary>
        public Ribbon()
        {
            this.VerticalAlignment = VerticalAlignment.Top;
            KeyboardNavigation.SetDirectionalNavigation(this, KeyboardNavigationMode.Contained);

            WindowChrome.SetIsHitTestVisibleInChrome(this, true);

            this.keyTipService = new KeyTipService(this);

            this.Loaded += this.OnLoaded;
            this.Unloaded += this.OnUnloaded;
        }