Table of Contents

Class Metadata

Namespace
Alternet.FormDesigner.Wpf
Assembly
Alternet.FormDesigner.Wpf.v10.dll

Contains helper methods for retrieving meta data.

public static class Metadata
Inheritance
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 type by using the public static properties of the type valuesContainer.

AddStandardValues<T>(Type, IEnumerable<T>)

Registers a set of standard values for a type.

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, bool)

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 type.

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.