96 writes to Available
System.Windows.Forms.Tests (96)
System\Windows\Forms\AccessibleObjects\ToolStripDropDownItemAccessibleObjectTests.cs (6)
95
control.DropDown.Items.Add(new SubToolStripDropDownItem() {
Available
= true });
118
using SubToolStripDropDownItem item1 = new() {
Available
= true };
119
using SubToolStripDropDownItem item2 = new() {
Available
= true };
175
control.DropDownItems.Add(new SubToolStripDropDownItem() {
Available
= true });
190
using SubToolStripDropDownItem item1 = new() {
Available
= true };
191
using SubToolStripDropDownItem item2 = new() {
Available
= true };
System\Windows\Forms\ToolStripControlHostTests.cs (18)
2426
item.
Available
= !value;
2448
item.
Available
= false;
2453
item.
Available
= false;
2458
item.
Available
= true;
2464
item.
Available
= false;
2484
item.
Available
= false;
2489
item.
Available
= false;
2494
item.
Available
= true;
2500
item.
Available
= false;
4478
item.
Available
= !value;
4501
item.
Available
= false;
4506
item.
Available
= false;
4511
item.
Available
= true;
4517
item.
Available
= false;
4537
item.
Available
= false;
4542
item.
Available
= false;
4547
item.
Available
= true;
4553
item.
Available
= false;
System\Windows\Forms\ToolStripItemTests.cs (72)
1126
Available
= value
1133
item.
Available
= value;
1139
item.
Available
= !value;
1164
Available
= value
1171
item.
Available
= value;
1177
item.
Available
= !value;
1191
item.
Available
= value;
1197
item.
Available
= value;
1203
item.
Available
= !value;
1221
item.
Available
= value;
1228
item.
Available
= value;
1235
item.
Available
= !value;
1265
item.
Available
= value;
1272
item.
Available
= value;
1279
item.
Available
= !value;
1317
item.
Available
= value;
1327
item.
Available
= value;
1337
item.
Available
= !value;
1359
item.
Available
= value;
1366
item.
Available
= value;
1373
item.
Available
= !value;
1403
item.
Available
= value;
1410
item.
Available
= value;
1417
item.
Available
= !value;
1443
item.
Available
= value;
1453
item.
Available
= value;
1463
item.
Available
= !value;
1487
item.
Available
= false;
1492
item.
Available
= false;
1497
item.
Available
= true;
1503
item.
Available
= false;
1522
item.
Available
= false;
1527
item.
Available
= false;
1532
item.
Available
= true;
1538
item.
Available
= false;
9189
item.
Available
= !value;
9227
item.
Available
= !value;
9253
item.
Available
= !value;
9285
item.
Available
= !value;
9329
item.
Available
= !value;
9387
item.
Available
= !value;
9423
item.
Available
= !value;
9467
item.
Available
= !value;
9513
item.
Available
= !value;
9537
item.
Available
= false;
9542
item.
Available
= false;
9547
item.
Available
= true;
9553
item.
Available
= false;
9572
item.
Available
= false;
9577
item.
Available
= false;
9582
item.
Available
= true;
9588
item.
Available
= false;
13608
Available
= available
13674
grip.
Available
= available;
13712
Available
= available
14850
item.
Available
= !value;
14889
item.
Available
= !value;
14915
item.
Available
= !value;
14947
item.
Available
= !value;
14991
item.
Available
= !value;
15049
item.
Available
= !value;
15085
item.
Available
= !value;
15129
item.
Available
= !value;
15175
item.
Available
= !value;
15199
item.
Available
= false;
15204
item.
Available
= false;
15209
item.
Available
= true;
15215
item.
Available
= false;
15234
item.
Available
= false;
15239
item.
Available
= false;
15244
item.
Available
= true;
15250
item.
Available
= false;
162 references to Available
System.Windows.Forms (17)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObject.cs (7)
64
if (owner.Items[i].
Available
&& owner.Items[i].Alignment == ToolStripItemAlignment.Left)
81
if (owner.Items[i].
Available
&& owner.Items[i].Alignment == ToolStripItemAlignment.Right)
130
if (owner.Items[i].
Available
)
171
if (item.
Available
)
314
if (item.
Available
&& child.Owner == item)
349
if (owner.Items[i].
Available
&& owner.Items[i].Alignment == ToolStripItemAlignment.Left)
363
if (owner.Items[i].
Available
&& owner.Items[i].Alignment == ToolStripItemAlignment.Right)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItemAccessibleObject.cs (2)
132
if (_owner.DropDownItems[i].
Available
&& child.Owner == _owner.DropDownItems[i])
155
if (_owner.DropDownItems[i].
Available
)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (3)
661
if (Items[i].
Available
)
688
if (Items[i].
Available
)
829
if (!item.
Available
)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (4)
1985
get => (ParentInternal is not null) && (ParentInternal.Visible) &&
Available
;
3012
if (Enabled &&
Available
)
3031
if (
Available
)
3530
if (
Available
)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
535
if (Enabled &&
Available
)
System.Windows.Forms.Tests (145)
System\Windows\Forms\ToolStripButtonTests.cs (6)
29
Assert.True(item.
Available
);
110
Assert.True(item.
Available
);
197
Assert.True(item.
Available
);
287
Assert.True(item.
Available
);
376
Assert.True(item.
Available
);
474
Assert.True(item.
Available
);
System\Windows\Forms\ToolStripControlHostTests.cs (25)
59
Assert.True(item.
Available
);
683
Assert.False(item.
Available
);
689
Assert.True(item.
Available
);
2414
Assert.Equal(value, item.
Available
);
2421
Assert.Equal(value, item.
Available
);
2428
Assert.Equal(!value, item.
Available
);
2449
Assert.False(item.
Available
);
2454
Assert.False(item.
Available
);
2459
Assert.True(item.
Available
);
2465
Assert.False(item.
Available
);
2485
Assert.False(item.
Available
);
2490
Assert.False(item.
Available
);
2495
Assert.True(item.
Available
);
2501
Assert.False(item.
Available
);
4465
Assert.Equal(value, item.
Available
);
4473
Assert.Equal(value, item.
Available
);
4481
Assert.Equal(!value, item.
Available
);
4502
Assert.False(item.
Available
);
4507
Assert.False(item.
Available
);
4512
Assert.True(item.
Available
);
4518
Assert.False(item.
Available
);
4538
Assert.False(item.
Available
);
4543
Assert.False(item.
Available
);
4548
Assert.True(item.
Available
);
4554
Assert.False(item.
Available
);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
28
Assert.True(item.
Available
);
118
Assert.True(item.
Available
);
217
Assert.True(item.
Available
);
317
Assert.True(item.
Available
);
System\Windows\Forms\ToolStripItemTests.cs (108)
31
Assert.True(item.
Available
);
117
Assert.True(item.
Available
);
212
Assert.True(item.
Available
);
1128
Assert.Equal(value, item.
Available
);
1134
Assert.Equal(value, item.
Available
);
1140
Assert.Equal(!value, item.
Available
);
1166
Assert.Equal(value, item.
Available
);
1172
Assert.Equal(value, item.
Available
);
1178
Assert.Equal(!value, item.
Available
);
1192
Assert.Equal(value, item.
Available
);
1198
Assert.Equal(value, item.
Available
);
1204
Assert.Equal(!value, item.
Available
);
1222
Assert.Equal(value, item.
Available
);
1229
Assert.Equal(value, item.
Available
);
1236
Assert.Equal(!value, item.
Available
);
1266
Assert.Equal(value, item.
Available
);
1273
Assert.Equal(value, item.
Available
);
1280
Assert.Equal(!value, item.
Available
);
1318
Assert.Equal(value, item.
Available
);
1328
Assert.Equal(value, item.
Available
);
1338
Assert.Equal(!value, item.
Available
);
1360
Assert.Equal(value, item.
Available
);
1367
Assert.Equal(value, item.
Available
);
1374
Assert.Equal(!value, item.
Available
);
1404
Assert.Equal(value, item.
Available
);
1411
Assert.Equal(value, item.
Available
);
1418
Assert.Equal(!value, item.
Available
);
1444
Assert.Equal(value, item.
Available
);
1454
Assert.Equal(value, item.
Available
);
1464
Assert.Equal(!value, item.
Available
);
1488
Assert.False(item.
Available
);
1493
Assert.False(item.
Available
);
1498
Assert.True(item.
Available
);
1504
Assert.False(item.
Available
);
1523
Assert.False(item.
Available
);
1528
Assert.False(item.
Available
);
1533
Assert.True(item.
Available
);
1539
Assert.False(item.
Available
);
9179
Assert.Equal(value, item.
Available
);
9185
Assert.Equal(value, item.
Available
);
9191
Assert.Equal(!value, item.
Available
);
9217
Assert.Equal(value, item.
Available
);
9223
Assert.Equal(value, item.
Available
);
9229
Assert.Equal(!value, item.
Available
);
9243
Assert.Equal(value, item.
Available
);
9249
Assert.Equal(value, item.
Available
);
9255
Assert.Equal(!value, item.
Available
);
9273
Assert.Equal(value, item.
Available
);
9280
Assert.Equal(value, item.
Available
);
9287
Assert.Equal(!value, item.
Available
);
9317
Assert.Equal(value, item.
Available
);
9324
Assert.Equal(value, item.
Available
);
9331
Assert.Equal(!value, item.
Available
);
9369
Assert.Equal(value, item.
Available
);
9379
Assert.Equal(value, item.
Available
);
9389
Assert.Equal(!value, item.
Available
);
9411
Assert.Equal(value, item.
Available
);
9418
Assert.Equal(value, item.
Available
);
9425
Assert.Equal(!value, item.
Available
);
9455
Assert.Equal(value, item.
Available
);
9462
Assert.Equal(value, item.
Available
);
9469
Assert.Equal(!value, item.
Available
);
9495
Assert.Equal(value, item.
Available
);
9505
Assert.Equal(value, item.
Available
);
9515
Assert.Equal(!value, item.
Available
);
9538
Assert.False(item.
Available
);
9543
Assert.False(item.
Available
);
9548
Assert.True(item.
Available
);
9554
Assert.False(item.
Available
);
9573
Assert.False(item.
Available
);
9578
Assert.False(item.
Available
);
9583
Assert.True(item.
Available
);
9589
Assert.False(item.
Available
);
14840
Assert.Equal(value, item.
Available
);
14846
Assert.Equal(value, item.
Available
);
14852
Assert.Equal(!value, item.
Available
);
14879
Assert.Equal(value, item.
Available
);
14885
Assert.Equal(value, item.
Available
);
14891
Assert.Equal(!value, item.
Available
);
14905
Assert.Equal(value, item.
Available
);
14911
Assert.Equal(value, item.
Available
);
14917
Assert.Equal(!value, item.
Available
);
14935
Assert.Equal(value, item.
Available
);
14942
Assert.Equal(value, item.
Available
);
14949
Assert.Equal(!value, item.
Available
);
14979
Assert.Equal(value, item.
Available
);
14986
Assert.Equal(value, item.
Available
);
14993
Assert.Equal(!value, item.
Available
);
15031
Assert.Equal(value, item.
Available
);
15041
Assert.Equal(value, item.
Available
);
15051
Assert.Equal(!value, item.
Available
);
15073
Assert.Equal(value, item.
Available
);
15080
Assert.Equal(value, item.
Available
);
15087
Assert.Equal(!value, item.
Available
);
15117
Assert.Equal(value, item.
Available
);
15124
Assert.Equal(value, item.
Available
);
15131
Assert.Equal(!value, item.
Available
);
15157
Assert.Equal(value, item.
Available
);
15167
Assert.Equal(value, item.
Available
);
15177
Assert.Equal(!value, item.
Available
);
15200
Assert.False(item.
Available
);
15205
Assert.False(item.
Available
);
15210
Assert.True(item.
Available
);
15216
Assert.False(item.
Available
);
15235
Assert.False(item.
Available
);
15240
Assert.False(item.
Available
);
15245
Assert.True(item.
Available
);
15251
Assert.False(item.
Available
);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
29
Assert.True(item.
Available
);
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
29
Assert.True(item.
Available
);