C# Class MetroDemo.Markup.EnumBindingSourceExtension

Markup extension for Enum values.
Inheritance: System.Windows.Markup.MarkupExtension
Exibir arquivo Open project: MahApps/MahApps.Metro

Public Methods

Method Description
EnumBindingSourceExtension ( ) : System

Initializes a new instance of EnumBindingSourceExtension.

EnumBindingSourceExtension ( Type enumType ) : System

Initializes a new instance of EnumBindingSourceExtension.

ProvideValue ( IServiceProvider serviceProvider ) : object

Method Details

EnumBindingSourceExtension() public method

Initializes a new instance of EnumBindingSourceExtension.
public EnumBindingSourceExtension ( ) : System
return System

EnumBindingSourceExtension() public method

Initializes a new instance of EnumBindingSourceExtension.
public EnumBindingSourceExtension ( Type enumType ) : System
enumType System.Type The type of the Enum.
return System

ProvideValue() public method

The type of the Enum is undefined.
public ProvideValue ( IServiceProvider serviceProvider ) : object
serviceProvider IServiceProvider Object that can provide services for the markup extension.
return object