Click or drag to resize
EnumDataSource Class
Provides a collection of view models suitable for combo-box binding.
Inheritance Hierarchy
SystemObject
  Telerik.Windows.DataEnumDataSource

Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data (in Telerik.Windows.Data.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class EnumDataSource : IEnumerable, 
	INotifyCollectionChanged

The EnumDataSource type exposes the following members.

Constructors
  NameDescription
Public methodEnumDataSource
Initializes a new instance of the EnumDataSource class.
Top
Methods
  NameDescription
Public methodStatic memberFromType(Type)
Returns a collection of EnumMemberViewModel's based on the supplied enumeration type. You can use this method's return value as the ItemsSource of a combo-box.
Public methodStatic memberFromTypeTEnum
Returns a collection of EnumMemberViewModel's based on the supplied enumeration type. You can use this method's return value as the ItemsSource of a combo-box.
Public methodGetEnumerator
Returns an enumerator that iterates through a collection.
Top
Properties
  NameDescription
Public propertyEnumType
Gets or sets the type of the enum.
Top
Events
  NameDescription
Public eventCollectionChanged
Occurs when the collection changes.
Top
See Also