2 writes to _keyTipControl
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\KeyTipAdorner.cs (2)
93_keyTipControl = keyTipControl; 140_keyTipControl = null;
38 references to _keyTipControl
System.Windows.Controls.Ribbon (38)
Microsoft\Windows\Controls\KeyTipAdorner.cs (38)
51_keyTipControl == null) 55return _keyTipControl; 62return (_keyTipControl == null ? 0 : 1); 68if (_keyTipControl != null) 71_keyTipControl.Measure(childConstraint); 78_keyTipControl?.Arrange(new Rect(_keyTipControl.DesiredSize)); 92Debug.Assert(_keyTipControl == null && keyTipControl.KeyTipAdorner == null); 94_keyTipControl.KeyTipAdorner = this; 95_keyTipControl.Text = KeyTipService.GetKeyTip(keyTipElement).ToUpper(KeyTipService.GetCultureForElement(keyTipElement)); 96_keyTipControl.IsEnabled = (bool)keyTipElement.GetValue(UIElement.IsEnabledProperty); 98_keyTipControl.Style = keyTipStyle; 99_keyTipControl.RenderTransform = _keyTipTransform; 110_keyTipControl.Style = keyTipStyle; 115_keyTipControl.Background = ribbon.Background; 116_keyTipControl.BorderBrush = ribbon.BorderBrush; 117_keyTipControl.Foreground = ribbon.Foreground; 123_keyTipControl.ClearValue(Control.BackgroundProperty); 124_keyTipControl.ClearValue(Control.BorderBrushProperty); 125_keyTipControl.ClearValue(Control.ForegroundProperty); 127AddVisualChild(_keyTipControl); 136if (_keyTipControl != null) 138_keyTipControl.KeyTipAdorner = null; 139RemoveVisualChild(_keyTipControl); 148return _keyTipControl; 210if (_keyTipControl != null) 215horizontalPosition -= _keyTipControl.ActualWidth; 220horizontalPosition -= (_keyTipControl.ActualWidth / 2); 263if (_keyTipControl != null) 268verticalPosition -= _keyTipControl.ActualHeight; 273verticalPosition -= (_keyTipControl.ActualHeight / 2); 303if (_keyTipControl != null) 305keyTipBottomY += _keyTipControl.ActualHeight; 306keyTipCenterY += _keyTipControl.ActualHeight / 2; 331if (_keyTipControl != null && _keyTipControl.IsLoaded) 337_keyTipControl.ActualWidth, 338_keyTipControl.ActualHeight);