2 writes to _keyTipControl
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\KeyTipAdorner.cs (2)
100_keyTipControl = keyTipControl; 147_keyTipControl = null;
39 references to _keyTipControl
System.Windows.Controls.Ribbon (39)
Microsoft\Windows\Controls\KeyTipAdorner.cs (39)
55_keyTipControl == null) 59return _keyTipControl; 66return (_keyTipControl == null ? 0 : 1); 72if (_keyTipControl != null) 75_keyTipControl.Measure(childConstraint); 82if (_keyTipControl != null) 84_keyTipControl.Arrange(new Rect(_keyTipControl.DesiredSize)); 99Debug.Assert(_keyTipControl == null && keyTipControl.KeyTipAdorner == null); 101_keyTipControl.KeyTipAdorner = this; 102_keyTipControl.Text = KeyTipService.GetKeyTip(keyTipElement).ToUpper(KeyTipService.GetCultureForElement(keyTipElement)); 103_keyTipControl.IsEnabled = (bool)keyTipElement.GetValue(UIElement.IsEnabledProperty); 105_keyTipControl.Style = keyTipStyle; 106_keyTipControl.RenderTransform = _keyTipTransform; 117_keyTipControl.Style = keyTipStyle; 122_keyTipControl.Background = ribbon.Background; 123_keyTipControl.BorderBrush = ribbon.BorderBrush; 124_keyTipControl.Foreground = ribbon.Foreground; 130_keyTipControl.ClearValue(Control.BackgroundProperty); 131_keyTipControl.ClearValue(Control.BorderBrushProperty); 132_keyTipControl.ClearValue(Control.ForegroundProperty); 134AddVisualChild(_keyTipControl); 143if (_keyTipControl != null) 145_keyTipControl.KeyTipAdorner = null; 146RemoveVisualChild(_keyTipControl); 155return _keyTipControl; 217if (_keyTipControl != null) 222horizontalPosition -= _keyTipControl.ActualWidth; 227horizontalPosition -= (_keyTipControl.ActualWidth / 2); 270if (_keyTipControl != null) 275verticalPosition -= _keyTipControl.ActualHeight; 280verticalPosition -= (_keyTipControl.ActualHeight / 2); 310if (_keyTipControl != null) 312keyTipBottomY += _keyTipControl.ActualHeight; 313keyTipCenterY += _keyTipControl.ActualHeight / 2; 338if (_keyTipControl != null && _keyTipControl.IsLoaded) 344_keyTipControl.ActualWidth, 345_keyTipControl.ActualHeight);