EnumExtension Class |
Namespace: BionicCode.Utilities.Net.Framework.Wpf.Markup
The EnumExtension type exposes the following members.
| Name | Description | |
|---|---|---|
| EnumExtension |
Default constructor.
| |
| EnumExtension(Type) |
Constructor to initialize the EnumType property.
|
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ProvideValue | When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension. (Overrides MarkupExtensionProvideValue(IServiceProvider).) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| ToDictionary | Overloaded.
Coverts any type to a DictionaryTKey, TValue, where the TKey is the member name and TValue the member's value.
(Defined by HelperExtensions.) | |
| ToDictionary | Overloaded.
Coverts any type to a DictionaryTKey, TValue, where the TKey is the member name and TValue the member's value.
(Defined by HelperExtensions.) |
<ComboBox ItemsSource="{Enum {x:Type MyEnum}}" /><ComboBox ItemsSource="{Enum EnumType={x:Type MyEnum}}" />