2 writes to _keyTipControl
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\KeyTipAdorner.cs (2)
97_keyTipControl = keyTipControl; 144_keyTipControl = null;
39 references to _keyTipControl
System.Windows.Controls.Ribbon (39)
Microsoft\Windows\Controls\KeyTipAdorner.cs (39)
52_keyTipControl == null) 56return _keyTipControl; 63return (_keyTipControl == null ? 0 : 1); 69if (_keyTipControl != null) 72_keyTipControl.Measure(childConstraint); 79if (_keyTipControl != null) 81_keyTipControl.Arrange(new Rect(_keyTipControl.DesiredSize)); 96Debug.Assert(_keyTipControl == null && keyTipControl.KeyTipAdorner == null); 98_keyTipControl.KeyTipAdorner = this; 99_keyTipControl.Text = KeyTipService.GetKeyTip(keyTipElement).ToUpper(KeyTipService.GetCultureForElement(keyTipElement)); 100_keyTipControl.IsEnabled = (bool)keyTipElement.GetValue(UIElement.IsEnabledProperty); 102_keyTipControl.Style = keyTipStyle; 103_keyTipControl.RenderTransform = _keyTipTransform; 114_keyTipControl.Style = keyTipStyle; 119_keyTipControl.Background = ribbon.Background; 120_keyTipControl.BorderBrush = ribbon.BorderBrush; 121_keyTipControl.Foreground = ribbon.Foreground; 127_keyTipControl.ClearValue(Control.BackgroundProperty); 128_keyTipControl.ClearValue(Control.BorderBrushProperty); 129_keyTipControl.ClearValue(Control.ForegroundProperty); 131AddVisualChild(_keyTipControl); 140if (_keyTipControl != null) 142_keyTipControl.KeyTipAdorner = null; 143RemoveVisualChild(_keyTipControl); 152return _keyTipControl; 214if (_keyTipControl != null) 219horizontalPosition -= _keyTipControl.ActualWidth; 224horizontalPosition -= (_keyTipControl.ActualWidth / 2); 267if (_keyTipControl != null) 272verticalPosition -= _keyTipControl.ActualHeight; 277verticalPosition -= (_keyTipControl.ActualHeight / 2); 307if (_keyTipControl != null) 309keyTipBottomY += _keyTipControl.ActualHeight; 310keyTipCenterY += _keyTipControl.ActualHeight / 2; 335if (_keyTipControl != null && _keyTipControl.IsLoaded) 341_keyTipControl.ActualWidth, 342_keyTipControl.ActualHeight);