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)
56
return
_keyTipControl
;
63
return (
_keyTipControl
== null ? 0 : 1);
69
if (
_keyTipControl
!= null)
72
_keyTipControl
.Measure(childConstraint);
79
if (
_keyTipControl
!= null)
81
_keyTipControl
.Arrange(new Rect(
_keyTipControl
.DesiredSize));
96
Debug.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);
131
AddVisualChild(
_keyTipControl
);
140
if (
_keyTipControl
!= null)
142
_keyTipControl
.KeyTipAdorner = null;
143
RemoveVisualChild(
_keyTipControl
);
152
return
_keyTipControl
;
214
if (
_keyTipControl
!= null)
219
horizontalPosition -=
_keyTipControl
.ActualWidth;
224
horizontalPosition -= (
_keyTipControl
.ActualWidth / 2);
267
if (
_keyTipControl
!= null)
272
verticalPosition -=
_keyTipControl
.ActualHeight;
277
verticalPosition -= (
_keyTipControl
.ActualHeight / 2);
307
if (
_keyTipControl
!= null)
309
keyTipBottomY +=
_keyTipControl
.ActualHeight;
310
keyTipCenterY +=
_keyTipControl
.ActualHeight / 2;
335
if (
_keyTipControl
!= null &&
_keyTipControl
.IsLoaded)
341
_keyTipControl
.ActualWidth,
342
_keyTipControl
.ActualHeight);