9 references to OwningSplitButton
System.Windows.Controls.Ribbon (9)
Microsoft\Windows\Automation\Peers\RibbonSplitButtonAutomationPeer.cs (9)
53
if (patternInterface == PatternInterface.Toggle &&
OwningSplitButton
.IsCheckable)
58
else if (patternInterface == PatternInterface.Invoke && !
OwningSplitButton
.IsCheckable)
76
if (!
OwningSplitButton
.IsCheckable)
81
if (
OwningSplitButton
.HeaderButton != null)
83
ToggleButtonAutomationPeer headerButtonAutomationPeer = CreatePeerForElement(
OwningSplitButton
.HeaderButton) as ToggleButtonAutomationPeer;
95
return
OwningSplitButton
.IsChecked ? ToggleState.On : ToggleState.Off;
109
if (
OwningSplitButton
.IsCheckable)
114
if (
OwningSplitButton
.HeaderButton != null)
116
ButtonAutomationPeer headerButtonAutomationPeer = CreatePeerForElement(
OwningSplitButton
.HeaderButton) as ButtonAutomationPeer;