Metadata Class
Definition
Contains helper methods for retrieving meta data.
Inheritance
Syntax
public static class Metadata
Properties
UseVisualStudioCustomCategorization |
Methods
AddCategory(Type, String, String) | |
AddCategory(DependencyProperty, String) | |
AddDefaultPropertyValue(Type, DependencyProperty, Object) | Registers a default Property Value which should be used |
AddDefaultSize(Type, Size) | Registers a default size for new controls of the specified type. |
AddPopularControl(Type) | Registers a popular control (visible in the default toolbox). |
AddPopularProperty(Type, String) | Registers a popular property (shown first in the property grid). |
AddPopularProperty(DependencyProperty) | Registers a popular property (shown first in the property grid). |
AddStandardValues(Type, Type) | Registers a set of standard values for a |
AddStandardValues<T>(Type, IEnumerable<T>) | Registers a set of standard |
AddValueRange(DependencyProperty, Double, Double) | Registers the value range for the property. |
DisablePlacement(Type) | Disables the default placement behavior (setting the ContentProperty) for the type. |
GetCategory(DesignItemProperty) | |
GetDefaultPropertyValues(Type) | Gets Default Property Values for a type |
GetDefaultSize(Type, Boolean) | Gets the default size for new controls of the specified type, or new Size(double.NaN, double.NaN) if no default size was registered. |
GetFullName(DependencyProperty) | Gets the full name of a dependency property (OwnerType.FullName + "." + Name). |
GetPopularControls() | Gets the list of popular controls. |
GetStandardValues(Type) | Retrieves the standard values for the specified |
GetValueRange(DesignItemProperty) | Gets the registered value range for the property, or null if no range was registered. |
HideProperty(Type, String) | Hides the specified property (marks it as not browsable). |
HideProperty(DependencyProperty) | Hides the specified property (marks it as not browsable). |
IsBrowsable(DesignItemProperty) | Gets whether the specified property is browsable (should be visible in property grids). |
IsPlacementDisabled(Type) | Gets whether the default placement behavior (setting the ContentProperty) was disabled for the type. |
IsPopularControl(Type) | Gets whether the specified control was registered as popular. |
IsPopularProperty(DesignItemProperty) | Gets whether the specified property was registered as popular. |