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