In This Article

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)

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

Extension Methods