Method AddStandardValues
- Namespace
- Alternet.FormDesigner.Wpf
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
AddStandardValues(Type, Type)
Registers a set of standard values for a type by using the
public static properties of the type valuesContainer.
public static void AddStandardValues(Type type, Type valuesContainer)
Parameters
Examples
Metadata.AddStandardValues(typeof(Brush), typeof(Brushes));
AddStandardValues<T>(Type, IEnumerable<T>)
Registers a set of standard values for a type.
public static void AddStandardValues<T>(Type type, IEnumerable<T> values)
Parameters
typeTypevaluesIEnumerable<T>
Type Parameters
T
Remarks
You can call this method multiple times to add additional standard values.