UserPromptButtonItemsControl Class
An ItemsControl for displaying buttons in a UserPromptControl.
public class UserPromptButtonItemsControl : ItemsControl, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, IAddChild, IGeneratorHost
- Inheritance:
- Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control ItemsControl Object
Constructors
UserPromptButtonItemsControl()
Initializes a new instance of the UserPromptButtonItemsControl class.
public UserPromptButtonItemsControl()
Methods
ClearContainerForItemOverride(DependencyObject, Object)
Removes the effects of a PrepareContainerForItemOverride(DependencyObject, Object) call.
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameter | Type | Description |
---|---|---|
element | DependencyObject | The DependencyObject that is the wrapper element. |
item | Object | The item that is being wrapped. |
GetContainerForItemOverride()
Creates or identifies the element used to display the specified item.
protected override DependencyObject GetContainerForItemOverride()
Returns
- DependencyObject:
The element that is used to display the given item.
IsItemItsOwnContainerOverride(Object)
Determines if the specified item is (or is eligible to be) its own item container.
protected override bool IsItemItsOwnContainerOverride(object item)
Parameter | Type | Description |
---|---|---|
item | Object | Specified item. |
Returns
- Boolean:
true
if the item is its own item container; otherwise,false
.
PrepareContainerForItemOverride(DependencyObject, Object)
Prepares the specified element to display the specified item.
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameter | Type | Description |
---|---|---|
element | DependencyObject | The DependencyObject that is the wrapper element. |
item | Object | The item that is being wrapped. |
Inherited Members
- Object.ToString()
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.GetType()
- Object.MemberwiseClone()
Extension Methods
- FrameworkElementExtensions.AnimateDoubleProperty(String, Double, Double, Double, Nullable<Double>, Nullable<Double>)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, String, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, DependencyProperty, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.GetCurrentSize()