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; 13627Available = available 13693grip.Available = available; 13731Available = available 14869item.Available = !value; 14908item.Available = !value; 14934item.Available = !value; 14966item.Available = !value; 15010item.Available = !value; 15068item.Available = !value; 15104item.Available = !value; 15148item.Available = !value; 15194item.Available = !value; 15218item.Available = false; 15223item.Available = false; 15228item.Available = true; 15234item.Available = false; 15253item.Available = false; 15258item.Available = false; 15263item.Available = true; 15269item.Available = false;
162 references to Available
System.Windows.Forms (17)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObject.cs (7)
65if (owner.Items[i].Available && owner.Items[i].Alignment == ToolStripItemAlignment.Left) 82if (owner.Items[i].Available && owner.Items[i].Alignment == ToolStripItemAlignment.Right) 131if (owner.Items[i].Available) 172if (item.Available) 315if (item.Available && child.Owner == item) 350if (owner.Items[i].Available && owner.Items[i].Alignment == ToolStripItemAlignment.Left) 364if (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)
665if (Items[i].Available) 692if (Items[i].Available) 834if (!item.Available)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (4)
1993get => (ParentInternal is not null) && (ParentInternal.Visible) && Available; 3020if (Enabled && Available) 3039if (Available) 3538if (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); 14859Assert.Equal(value, item.Available); 14865Assert.Equal(value, item.Available); 14871Assert.Equal(!value, item.Available); 14898Assert.Equal(value, item.Available); 14904Assert.Equal(value, item.Available); 14910Assert.Equal(!value, item.Available); 14924Assert.Equal(value, item.Available); 14930Assert.Equal(value, item.Available); 14936Assert.Equal(!value, item.Available); 14954Assert.Equal(value, item.Available); 14961Assert.Equal(value, item.Available); 14968Assert.Equal(!value, item.Available); 14998Assert.Equal(value, item.Available); 15005Assert.Equal(value, item.Available); 15012Assert.Equal(!value, item.Available); 15050Assert.Equal(value, item.Available); 15060Assert.Equal(value, item.Available); 15070Assert.Equal(!value, item.Available); 15092Assert.Equal(value, item.Available); 15099Assert.Equal(value, item.Available); 15106Assert.Equal(!value, item.Available); 15136Assert.Equal(value, item.Available); 15143Assert.Equal(value, item.Available); 15150Assert.Equal(!value, item.Available); 15176Assert.Equal(value, item.Available); 15186Assert.Equal(value, item.Available); 15196Assert.Equal(!value, item.Available); 15219Assert.False(item.Available); 15224Assert.False(item.Available); 15229Assert.True(item.Available); 15235Assert.False(item.Available); 15254Assert.False(item.Available); 15259Assert.False(item.Available); 15264Assert.True(item.Available); 15270Assert.False(item.Available);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
29Assert.True(item.Available);
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
29Assert.True(item.Available);