2 writes to _keyTipControl
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\KeyTipAdorner.cs (2)
94_keyTipControl = keyTipControl; 141_keyTipControl = null;
38 references to _keyTipControl
System.Windows.Controls.Ribbon (38)
Microsoft\Windows\Controls\KeyTipAdorner.cs (38)
52_keyTipControl == null) 56return _keyTipControl; 63return (_keyTipControl == null ? 0 : 1); 69if (_keyTipControl != null) 72_keyTipControl.Measure(childConstraint); 79_keyTipControl?.Arrange(new Rect(_keyTipControl.DesiredSize)); 93Debug.Assert(_keyTipControl == null && keyTipControl.KeyTipAdorner == null); 95_keyTipControl.KeyTipAdorner = this; 96_keyTipControl.Text = KeyTipService.GetKeyTip(keyTipElement).ToUpper(KeyTipService.GetCultureForElement(keyTipElement)); 97_keyTipControl.IsEnabled = (bool)keyTipElement.GetValue(UIElement.IsEnabledProperty); 99_keyTipControl.Style = keyTipStyle; 100_keyTipControl.RenderTransform = _keyTipTransform; 111_keyTipControl.Style = keyTipStyle; 116_keyTipControl.Background = ribbon.Background; 117_keyTipControl.BorderBrush = ribbon.BorderBrush; 118_keyTipControl.Foreground = ribbon.Foreground; 124_keyTipControl.ClearValue(Control.BackgroundProperty); 125_keyTipControl.ClearValue(Control.BorderBrushProperty); 126_keyTipControl.ClearValue(Control.ForegroundProperty); 128AddVisualChild(_keyTipControl); 137if (_keyTipControl != null) 139_keyTipControl.KeyTipAdorner = null; 140RemoveVisualChild(_keyTipControl); 149return _keyTipControl; 211if (_keyTipControl != null) 216horizontalPosition -= _keyTipControl.ActualWidth; 221horizontalPosition -= (_keyTipControl.ActualWidth / 2); 264if (_keyTipControl != null) 269verticalPosition -= _keyTipControl.ActualHeight; 274verticalPosition -= (_keyTipControl.ActualHeight / 2); 304if (_keyTipControl != null) 306keyTipBottomY += _keyTipControl.ActualHeight; 307keyTipCenterY += _keyTipControl.ActualHeight / 2; 332if (_keyTipControl != null && _keyTipControl.IsLoaded) 338_keyTipControl.ActualWidth, 339_keyTipControl.ActualHeight);