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)
59
return
_keyTipControl
;
66
return (
_keyTipControl
== null ? 0 : 1);
72
if (
_keyTipControl
!= null)
75
_keyTipControl
.Measure(childConstraint);
82
if (
_keyTipControl
!= null)
84
_keyTipControl
.Arrange(new Rect(
_keyTipControl
.DesiredSize));
99
Debug.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);
134
AddVisualChild(
_keyTipControl
);
143
if (
_keyTipControl
!= null)
145
_keyTipControl
.KeyTipAdorner = null;
146
RemoveVisualChild(
_keyTipControl
);
155
return
_keyTipControl
;
217
if (
_keyTipControl
!= null)
222
horizontalPosition -=
_keyTipControl
.ActualWidth;
227
horizontalPosition -= (
_keyTipControl
.ActualWidth / 2);
270
if (
_keyTipControl
!= null)
275
verticalPosition -=
_keyTipControl
.ActualHeight;
280
verticalPosition -= (
_keyTipControl
.ActualHeight / 2);
310
if (
_keyTipControl
!= null)
312
keyTipBottomY +=
_keyTipControl
.ActualHeight;
313
keyTipCenterY +=
_keyTipControl
.ActualHeight / 2;
338
if (
_keyTipControl
!= null &&
_keyTipControl
.IsLoaded)
344
_keyTipControl
.ActualWidth,
345
_keyTipControl
.ActualHeight);