EnumItemsSourceBehavior Members
Binds a control’s ItemsSource property to an enumeration.Constructors
| Name | Description |
|---|---|
| EnumItemsSourceBehavior() | Initializes a new instance of the EnumItemsSourceBehavior class. |
Fields
| Name | Description |
|---|---|
| AllowImagesProperty static | Identifies the EnumItemsSourceBehavior.AllowImages dependency property. |
| EnumTypeProperty static | Identifies the EnumItemsSourceBehavior.EnumType dependency property. |
| ImageSizeProperty static | Identifies the ImageSize dependency property. |
| ItemTemplateProperty static | Identifies the EnumItemsSourceBehavior.ItemTemplate dependency property. |
| NameConverterProperty static | Identifies the EnumItemsSourceBehavior.NameConverter dependency property. |
| SortModeProperty static | Identifies the EnumItemsSourceBehavior.SortMode dependency property. |
| SplitNamesProperty static | Identifies the EnumItemsSourceBehavior.SplitNames dependency property. |
| UseNumericEnumValueProperty static | Identifies the EnumItemsSourceBehavior.UseNumericEnumValue dependency property. |
Properties
| Name | Description |
|---|---|
| AllowImages | Gets or sets whether images in a target control’s items are displayed. This is a dependency property. |
| EnumType | Gets or sets the enumeration type to be shown in the associated control. This is a dependency property. |
| HasAnimatedProperties | Gets a value that indicates whether one or more AnimationClock objects is associated with any of this object’s dependency properties. Inherited from Animatable. |
| ImageSize | Gets or sets the item’s image size (in pixels). This is a dependency property. |
| ItemTemplate | Gets or sets a template that defines the appearance of enumeration items. This is a dependency property. |
| NameConverter | Gets or sets a converter used to provide the item’s display value. This is a dependency property. |
| SortMode | Gets or sets a control’s item sort order. This is a dependency property. |
| SplitNames | Gets or sets whether an enumeration member’s name is split. This property is in effect if the member’s name is written in Pascal Case. This is a dependency property. |
| UseNumericEnumValue | Gets or sets whether an enumeration element can be identified by a numeric value. This is a dependency property. |
Methods
| Name | Description |
|---|---|
| ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) | Applies an AnimationClock to the specified DependencyProperty. If the property is already animated, the specified HandoffBehavior is used. Inherited from Animatable. |
| ApplyAnimationClock(DependencyProperty, AnimationClock) | Applies an AnimationClock to the specified DependencyProperty. If the property is already animated, the SnapshotAndReplace handoff behavior is used. Inherited from Animatable. |
| BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) | Applies an animation to the specified DependencyProperty. The animation is started when the next frame is rendered. If the specified property is already animated, the specified HandoffBehavior is used. Inherited from Animatable. |
| BeginAnimation(DependencyProperty, AnimationTimeline) | Applies an animation to the specified DependencyProperty. The animation is started when the next frame is rendered. If the specified property is already animated, the SnapshotAndReplace handoff behavior is used. Inherited from Animatable. |
| Clone() | Creates a modifiable clone of this Animatable, making deep copies of this object’s values. When copying this object’s dependency properties, this method copies resource references and data bindings (but they might no longer resolve) but not animations or their current values. Inherited from Animatable. |
| GetAnimationBaseValue(DependencyProperty) | Returns the non-animated value of the specified DependencyProperty. Inherited from Animatable. |
| ShouldSerializeStoredWeakReference(DependencyObject) static | Specifies whether a dependency object should be serialized. Inherited from Animatable. |
See Also