CachedEnumItemsSource

StockSharp.Xaml

Cacheable enumeration items source.

继承自: MarkupExtension

实现: IEnumerable, IEnumerable<EnumMemberInfo>

构造函数

CachedEnumItemsSource()

Initializes a new instance of the CachedEnumItemsSource.

属性

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.

方法

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.

返回值: The object value to set on the property where the extension is applied.