61 references to ExpandCollapseState_Collapsed
System.Windows.Forms (34)
System\Windows\Forms\Accessibility\AccessibleObject.cs (1)
743
internal virtual ExpandCollapseState ExpandCollapseState => ExpandCollapseState.
ExpandCollapseState_Collapsed
;
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxAccessibleObject.cs (1)
53
: ExpandCollapseState.
ExpandCollapseState_Collapsed
;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
2431
(VARIANT)(int)ExpandCollapseState.
ExpandCollapseState_Collapsed
,
2915
(VARIANT)(int)ExpandCollapseState.
ExpandCollapseState_Collapsed
);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.DataGridViewComboBoxCellAccessibleObject.cs (2)
50
: ExpandCollapseState.
ExpandCollapseState_Collapsed
;
53
return ExpandCollapseState.
ExpandCollapseState_Collapsed
;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxEditingControl.DataGridViewComboBoxEditingControlAccessibleObject.cs (1)
64
: ExpandCollapseState.
ExpandCollapseState_Collapsed
;
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (4)
1048
_expandCollapseState = ExpandCollapseState.
ExpandCollapseState_Collapsed
;
1056
newValue: (VARIANT)(int)ExpandCollapseState.
ExpandCollapseState_Collapsed
);
1073
oldValue: (VARIANT)(int)ExpandCollapseState.
ExpandCollapseState_Collapsed
,
1093
_expandCollapseState = ExpandCollapseState.
ExpandCollapseState_Collapsed
;
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.DateTimePickerAccessibleObject.cs (4)
100
ExpandCollapseState.
ExpandCollapseState_Collapsed
=> SR.AccessibleActionExpand,
111
case ExpandCollapseState.
ExpandCollapseState_Collapsed
:
134
&& ExpandCollapseState == ExpandCollapseState.
ExpandCollapseState_Collapsed
)
152
: ExpandCollapseState.
ExpandCollapseState_Collapsed
;
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (1)
91
? ExpandCollapseState.
ExpandCollapseState_Collapsed
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DetailsButton.DetailsButtonAccessibleObject.cs (1)
37
: ExpandCollapseState.
ExpandCollapseState_Collapsed
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (2)
60
=> !this.TryGetOwnerAs(out GridEntry? owner) ? ExpandCollapseState.
ExpandCollapseState_Collapsed
: owner.Expandable
61
? owner.Expanded ? ExpandCollapseState.ExpandCollapseState_Expanded : ExpandCollapseState.
ExpandCollapseState_Collapsed
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObject.cs (2)
23
: ExpandCollapseState.
ExpandCollapseState_Collapsed
;
145
if (ExpandCollapseState == ExpandCollapseState.
ExpandCollapseState_Collapsed
)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (3)
825
(VARIANT)(int)ExpandCollapseState.
ExpandCollapseState_Collapsed
);
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)
507
(VARIANT)(int)ExpandCollapseState.
ExpandCollapseState_Collapsed
,
537
(VARIANT)(int)ExpandCollapseState.
ExpandCollapseState_Collapsed
);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItemAccessibleObject.cs (2)
86
return _owner.DropDown.Visible ? ExpandCollapseState.ExpandCollapseState_Expanded : ExpandCollapseState.
ExpandCollapseState_Collapsed
;
110
if (ExpandCollapseState == ExpandCollapseState.
ExpandCollapseState_Collapsed
)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.ToolStripSplitButtonExAccessibleObject.cs (2)
74
return _owningToolStripSplitButton.DropDown.Visible ? ExpandCollapseState.ExpandCollapseState_Expanded : ExpandCollapseState.
ExpandCollapseState_Collapsed
;
93
if (ExpandCollapseState == ExpandCollapseState.
ExpandCollapseState_Collapsed
)
System\Windows\Forms\Controls\TreeView\TreeNode.TreeNodeAccessibleObject.cs (2)
171
else if (ExpandCollapseState == ExpandCollapseState.
ExpandCollapseState_Collapsed
)
223
: ExpandCollapseState.
ExpandCollapseState_Collapsed
;
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
2154
newValue: (VARIANT)(int)ExpandCollapseState.
ExpandCollapseState_Collapsed
);
2176
oldValue: (VARIANT)(int)ExpandCollapseState.
ExpandCollapseState_Collapsed
,
System.Windows.Forms.Interop.Tests (7)
AccessibleObjectTests.cs (7)
275
AssertSuccess(Test_IExpandCollapseProviderCollapse(o, ExpandCollapseState.
ExpandCollapseState_Collapsed
));
282
AssertSuccess(Test_IExpandCollapseProviderExpand(o, ExpandCollapseState.
ExpandCollapseState_Collapsed
));
283
AssertSuccess(Test_IExpandCollapseProviderCollapse(o, ExpandCollapseState.
ExpandCollapseState_Collapsed
));
290
AssertSuccess(Test_IExpandCollapseProviderCollapse(o, ExpandCollapseState.
ExpandCollapseState_Collapsed
));
297
AssertSuccess(Test_IExpandCollapseProviderCollapse(o, ExpandCollapseState.
ExpandCollapseState_Collapsed
));
298
AssertSuccess(Test_IExpandCollapseProviderCollapse(o, ExpandCollapseState.
ExpandCollapseState_Collapsed
));
305
AssertSuccess(Test_IExpandCollapseProviderGetExpandCollapseState(o, ExpandCollapseState.
ExpandCollapseState_Collapsed
));
System.Windows.Forms.Tests (20)
System\Windows\Forms\AccessibleObjects\DateTimePicker.DateTimePickerAccessibleObjectTests.cs (12)
122
[InlineData((int)ExpandCollapseState.
ExpandCollapseState_Collapsed
)]
145
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Collapsed
, accessibleObject.ExpandCollapseState);
149
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Collapsed
, accessibleObject.ExpandCollapseState);
161
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Collapsed
, accessibleObject.ExpandCollapseState);
182
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Collapsed
, accessibleObject.ExpandCollapseState);
203
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Collapsed
, accessibleObject.ExpandCollapseState);
207
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Collapsed
, accessibleObject.ExpandCollapseState);
220
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Collapsed
, accessibleObject.ExpandCollapseState);
236
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Collapsed
, accessibleObject.ExpandCollapseState);
246
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Collapsed
, accessibleObject.ExpandCollapseState);
324
[InlineData(true, (int)ExpandCollapseState.
ExpandCollapseState_Collapsed
)]
333
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Collapsed
, accessibleObject.ExpandCollapseState);
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (3)
732
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Collapsed
, group2.AccessibilityObject.ExpandCollapseState);
766
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Collapsed
, listViewGroup.AccessibilityObject.ExpandCollapseState);
772
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Collapsed
, listViewGroup.AccessibilityObject.ExpandCollapseState);
System\Windows\Forms\AccessibleObjects\ToolStripDropDownItemAccessibleObjectTests.cs (1)
59
[InlineData(false, ((int)ExpandCollapseState.
ExpandCollapseState_Collapsed
))]
System\Windows\Forms\AccessibleObjects\ToolStripSplitButton.ToolStripSplitButtonExAccessibleObjectTests.cs (1)
46
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Collapsed
, accessibleObject.ExpandCollapseState);
System\Windows\Forms\AccessibleObjects\TreeNode.TreeNodeAccessibleObjectTests.cs (1)
429
: ExpandCollapseState.
ExpandCollapseState_Collapsed
;
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObjectTests.cs (2)
58
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Collapsed
, expandCollapseState);
82
Assert.Equal(ExpandCollapseState.
ExpandCollapseState_Collapsed
, selectedGridEntryAccessibleObject.ExpandCollapseState);