Freigeben über


IUIElementProvider<TItem,TContext> Interface

Definition

Defines the provider of WPF UIElements for objects of a certain type, for a specified context.

generic <typename TItem, typename TContext>
public interface class IUIElementProvider
public interface class IUIElementProvider
template <typename TItem, typename TContext>
__interface IUIElementProvider
public interface IUIElementProvider<TItem,TContext>
type IUIElementProvider<'Item, 'Context> = interface
Public Interface IUIElementProvider(Of TItem, TContext)

Type Parameters

TItem

The type of the item.

TContext

The type of the context.

Remarks

This is a MEF component part, and should be exported with the following attribute: [Export(typeof(IUIElementProvider<T>))] [Name("")] [Order()] [ContentType("")]

Methods

GetUIElement(TItem, TContext, UIElementType)

Gets a UIElement to display an item for the specified the context.

Applies to