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