32 references to Yes
System.ComponentModel.Primitives (2)
System\ComponentModel\BrowsableAttribute.cs (2)
29/// which is <see cref='System.ComponentModel.BrowsableAttribute.Yes'/>. 32public static readonly BrowsableAttribute Default = Yes;
System.ComponentModel.TypeConverter (1)
System\ComponentModel\TypeConverter.cs (1)
239return GetProperties(context, value, new Attribute[] { BrowsableAttribute.Yes });
System.Data.Common (2)
System\Data\Common\DbConnectionStringBuilder.cs (2)
509BrowsableAttribute.Yes, 517BrowsableAttribute.Yes,
System.Windows.Forms (11)
System\Windows\Forms\ComponentModel\COM2Interop\COM2IPerPropertyBrowsingHandler.cs (1)
70e.Add(BrowsableAttribute.Yes);
System\Windows\Forms\ComponentModel\COM2Interop\COM2IProvidePropertyBuilderHandler.cs (1)
67e.Add(BrowsableAttribute.Yes);
System\Windows\Forms\ComponentModel\COM2Interop\COM2IVsPerPropertyBrowsingHandler.cs (2)
92e.Add(hide ? BrowsableAttribute.No : BrowsableAttribute.Yes); 103e.Add(BrowsableAttribute.Yes);
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (1)
30private static readonly Attribute[] s_staticAttributes = [BrowsableAttribute.Yes, DesignTimeVisibleAttribute.No];
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (2)
362get => _browsableAttributes ??= new(BrowsableAttribute.Yes); 367_browsableAttributes = new(BrowsableAttribute.Yes);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\IRootGridEntry.cs (1)
23/// The default filter is currently <see cref="BrowsableAttribute.Yes"/>.
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertiesTab.cs (1)
45attributes ??= [BrowsableAttribute.Yes];
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\SingleSelectRootGridEntry.cs (2)
59get => _browsableAttributes ??= new(BrowsableAttribute.Yes); 215public void ResetBrowsableAttributes() => _browsableAttributes = new(BrowsableAttribute.Yes);
System.Windows.Forms.Design (9)
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (2)
18private static readonly Attribute[] s_deserializeFilter = [BrowsableAttribute.Yes]; 348PropertyDescriptorCollection props = TypeDescriptor.GetProperties(instance, [BrowsableAttribute.Yes]);
System\Windows\Forms\Design\ControlDesigner.cs (1)
1661BrowsableAttribute.Yes,
System\Windows\Forms\Design\DataGridViewColumnDesigner.cs (1)
251BrowsableAttribute.Yes,
System\Windows\Forms\Design\DocumentDesigner.cs (2)
1253BrowsableAttribute.Yes, 1293properties["AutoScaleMode"] = TypeDescriptor.CreateProperty(typeof(DocumentDesigner), prop, DesignerSerializationVisibilityAttribute.Visible, BrowsableAttribute.Yes);
System\Windows\Forms\Design\ParentControlDesigner.cs (3)
2102BrowsableAttribute.Yes, 2108BrowsableAttribute.Yes, 2114BrowsableAttribute.Yes,
System.Windows.Forms.Tests (7)
System\Windows\Forms\PropertyGridTests.cs (7)
532yield return new object[] { null, new AttributeCollection([BrowsableAttribute.Yes]) }; 533yield return new object[] { AttributeCollection.Empty, new AttributeCollection([BrowsableAttribute.Yes]) }; 535yield return new object[] { new AttributeCollection([BrowsableAttribute.Yes]), new AttributeCollection([BrowsableAttribute.Yes]) }; 536yield return new object[] { new AttributeCollection([BrowsableAttribute.Yes, ReadOnlyAttribute.Yes]), new AttributeCollection([BrowsableAttribute.Yes, ReadOnlyAttribute.Yes]) }; 3937Assert.Equal(BrowsableAttribute.Yes, browsableAttributes[0]);