Attribute | Windows Forms Properties window | WPF Designer Properties window and Expression Blend Property Inspector |
|---|
AmbientValueAttribute | Specifies the value to pass to a property to cause the property to get its value from another source. This is known as ambience. | N/A |
BrowsableAttribute | Specifies whether a property or event should be displayed in the Properties window. | Specifies whether a property or event should be displayed in a Properties window. When explicitly set to true on a property that is normally not shown, that property will be shown. |
CategoryAttribute | Specifies the name of the category in which to group the property or event when displayed in a PropertyGrid control set to Categorized mode. | Specifies the name of the category in which to group the property when displayed in a Properties window. |
DefaultValueAttribute | Specifies the default value for a property. | For CLR data types, specifies the default value for a property. Ignored on dependency properties. |
DescriptionAttribute | Specifies a description for a property or event. | N/A |
DisplayNameAttribute | Specifies the display name for a property, event, or public void method that takes no arguments. | Specifies the name that will appear in the Properties window for the property this attribute is applied to. |
EditorAttribute | Specifies the editor to use to change a property. | Specifies the editor to use to change a property, including multi-property category editors. |
EditorBrowsableAttribute | N/A | EditorBrowsableState..::.Advanced puts a category editor or property into the Advanced expander. |
HelpKeywordAttribute | Specifies the context keyword for a class or member. | N/A |
LocalizableAttribute | Specifies whether a property should be localized. | N/A |
PasswordPropertyTextAttribute | Indicates that an object's text representation is obscured by characters, such as asterisks. | N/A |
ReadOnlyAttribute | Specifies whether the property this attribute is bound to is read-only or read/write at design time. | Specifies whether the property this attribute is bound to is read-only or read/write at design time. Properties that are marked with the ReadOnlyAttribute will display the read-only object to string editor in the Property Inspector. |
RefreshPropertiesAttribute | Indicates that the Properties window should refresh when the associated property value changes. | N/A |
TypeConverterAttribute | Specifies what type to use as a converter for the object this attribute is bound to. | Specifies what type to use as a converter for the object this attribute is bound to. |
DefaultEventAttribute | Specifies the default event for a component. | Specifies the default event for a component, which determines the event handler to be created on double-click. |
DefaultPropertyAttribute | Specifies the default property for a component. | Specifies the default property for a component, which determines which property is selected by default. |
DesignerAttribute | Specifies the class used to implement design-time services for a component. | N/A |
DesignerCategoryAttribute | Specifies that the designer for a class belongs to a certain category. | N/A |
ToolboxItemAttribute | Represents an attribute of a Toolbox item. | N/A |
ToolboxItemFilterAttribute | Specifies the filter string and filter type to use for a Toolbox. | N/A |
ToolboxBrowsableAttribute | N/A | Used to prevent a type from showing up in the Toolbox when an assembly is examined for types to add to the Toolbox. |
NewItemTypesAttribute | N/A | Used to specify which items are added to the combo box for the collection editor or sub-properties editor. Allows a factory to be specified that customizes the creation. |
PropertyOrderAttribute | N/A | Used to specify the order in which properties will show up in the Properties window. |