CachedEnumItemsSource

StockSharp.Xaml

Cacheable enumeration items source.

Inherits: MarkupExtension

Implements: IEnumerable, IEnumerable<EnumMemberInfo>

Constructors

CachedEnumItemsSource()

Initializes a new instance of the CachedEnumItemsSource.

Properties

AllowImages : bool

Allow images.

EnumType : Type

Enumeration type.

ImageSize : Size?

Image size.

NameConverter : IValueConverter

Name converter.

SortMode : EnumMembersSortMode

Sort mode.

SplitNames : bool

Split names.

UseNumericEnumValue : bool

Use numeric enum value.

Methods

ProvideValue(IServiceProvider) : object

When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension.

serviceProvider
A service provider helper that can provide services for the markup extension.

Returns: The object value to set on the property where the extension is applied.