46 references to ExpandCollapseState_Expanded
System.Windows.Forms (28)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxAccessibleObject.cs (1)
52
? ExpandCollapseState.
ExpandCollapseState_Expanded
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
2432
(VARIANT)(int)ExpandCollapseState.
ExpandCollapseState_Expanded
);
2914
(VARIANT)(int)ExpandCollapseState.
ExpandCollapseState_Expanded
,
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.DataGridViewComboBoxCellAccessibleObject.cs (1)
49
? ExpandCollapseState.
ExpandCollapseState_Expanded
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxEditingControl.DataGridViewComboBoxEditingControlAccessibleObject.cs (1)
63
? ExpandCollapseState.
ExpandCollapseState_Expanded
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (3)
1055
oldValue: (VARIANT)(int)ExpandCollapseState.
ExpandCollapseState_Expanded
,
1066
_expandCollapseState = ExpandCollapseState.
ExpandCollapseState_Expanded
;
1074
newValue: (VARIANT)(int)ExpandCollapseState.
ExpandCollapseState_Expanded
);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.DateTimePickerAccessibleObject.cs (3)
101
ExpandCollapseState.
ExpandCollapseState_Expanded
=> SR.AccessibleActionCollapse,
114
case ExpandCollapseState.
ExpandCollapseState_Expanded
:
143
&& ExpandCollapseState == ExpandCollapseState.
ExpandCollapseState_Expanded
)
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (1)
92
: ExpandCollapseState.
ExpandCollapseState_Expanded
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DetailsButton.DetailsButtonAccessibleObject.cs (1)
36
? ExpandCollapseState.
ExpandCollapseState_Expanded
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (1)
61
? owner.Expanded ? ExpandCollapseState.
ExpandCollapseState_Expanded
: ExpandCollapseState.ExpandCollapseState_Collapsed
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObject.cs (2)
22
? ExpandCollapseState.
ExpandCollapseState_Expanded
137
if (ExpandCollapseState == ExpandCollapseState.
ExpandCollapseState_Expanded
)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (3)
824
(VARIANT)(int)ExpandCollapseState.
ExpandCollapseState_Expanded
,
4524
var oldExpandedState = value ? ExpandCollapseState.ExpandCollapseState_Collapsed : ExpandCollapseState.
ExpandCollapseState_Expanded
;
4525
var newExpandedState = value ? ExpandCollapseState.
ExpandCollapseState_Expanded
: ExpandCollapseState.ExpandCollapseState_Collapsed;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (2)
508
(VARIANT)(int)ExpandCollapseState.
ExpandCollapseState_Expanded
);
536
(VARIANT)(int)ExpandCollapseState.
ExpandCollapseState_Expanded
,
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItemAccessibleObject.cs (1)
86
return _owner.DropDown.Visible ? ExpandCollapseState.
ExpandCollapseState_Expanded
: ExpandCollapseState.ExpandCollapseState_Collapsed;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.ToolStripSplitButtonExAccessibleObject.cs (1)
74
return _owningToolStripSplitButton.DropDown.Visible ? ExpandCollapseState.
ExpandCollapseState_Expanded
: ExpandCollapseState.ExpandCollapseState_Collapsed;
System\Windows\Forms\Controls\TreeView\TreeNode.TreeNodeAccessibleObject.cs (3)
53
return expandCollapseState == ExpandCollapseState.
ExpandCollapseState_Expanded
167
if (ExpandCollapseState == ExpandCollapseState.
ExpandCollapseState_Expanded
)
222
? ExpandCollapseState.
ExpandCollapseState_Expanded
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
2153
oldValue: (VARIANT)(int)ExpandCollapseState.
ExpandCollapseState_Expanded
,
2177
newValue: (VARIANT)(int)ExpandCollapseState.
ExpandCollapseState_Expanded
);
System.Windows.Forms.Tests (18)
System\Windows\Forms\AccessibleObjects\DateTimePicker.DateTimePickerAccessibleObjectTests.cs (11)
121
[InlineData((int)ExpandCollapseState.
ExpandCollapseState_Expanded
)]
163
dateTimePicker.TestAccessor().Dynamic._expandCollapseState = ExpandCollapseState.
ExpandCollapseState_Expanded
;
165
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Expanded
, accessibleObject.ExpandCollapseState);
169
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Expanded
, accessibleObject.ExpandCollapseState);
184
dateTimePicker.TestAccessor().Dynamic._expandCollapseState = ExpandCollapseState.
ExpandCollapseState_Expanded
;
186
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Expanded
, accessibleObject.ExpandCollapseState);
190
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Expanded
, accessibleObject.ExpandCollapseState);
224
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Expanded
, accessibleObject.ExpandCollapseState);
242
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Expanded
, accessibleObject.ExpandCollapseState);
325
[InlineData(false, (int)ExpandCollapseState.
ExpandCollapseState_Expanded
)]
339
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Expanded
, accessibleObject.ExpandCollapseState);
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (4)
731
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Expanded
, group1.AccessibilityObject.ExpandCollapseState);
733
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Expanded
, listView.DefaultGroup.AccessibilityObject.ExpandCollapseState);
777
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Expanded
, listViewGroup.AccessibilityObject.ExpandCollapseState);
783
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Expanded
, listViewGroup.AccessibilityObject.ExpandCollapseState);
System\Windows\Forms\AccessibleObjects\ToolStripDropDownItemAccessibleObjectTests.cs (1)
60
[InlineData(true, ((int)ExpandCollapseState.
ExpandCollapseState_Expanded
))]
System\Windows\Forms\AccessibleObjects\TreeNode.TreeNodeAccessibleObjectTests.cs (1)
428
? ExpandCollapseState.
ExpandCollapseState_Expanded
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObjectTests.cs (1)
85
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Expanded
, selectedGridEntryAccessibleObject.ExpandCollapseState);