콘텐츠로 이동

ItemTemplateExtensions.ItemTemplate method (1 of 17)

이 콘텐츠는 아직 번역되지 않았습니다.

Sets the item template.

public static NavigationList ItemTemplate(this NavigationList navigationList,
IDataTemplate template)

Sets: NavigationList.ItemTemplate


ItemTemplateExtensions.ItemTemplate<TItem> method (2 of 17)

Section titled “ItemTemplateExtensions.ItemTemplate<TItem> method (2 of 17)”

Sets the item template using delegate-based templating.

public static ItemsControl ItemTemplate<TItem>(this ItemsControl itemsControl,
Func<TemplateContext, FrameworkElement> build,
Action<FrameworkElement, TItem, int, TemplateContext> bind,
Action<FrameworkElement, TItem, int, TemplateContext>? unbind = null)
parameter description
TItem Item type.

ItemTemplateExtensions.ItemTemplate<TItem> method (3 of 17)

Section titled “ItemTemplateExtensions.ItemTemplate<TItem> method (3 of 17)”

Sets the item template using delegate-based templating.

public static NavigationList ItemTemplate<TItem>(this NavigationList navigationList,
Func<TemplateContext, FrameworkElement> build,
Action<FrameworkElement, TItem, int, TemplateContext> bind,
Action<FrameworkElement, TItem, int, TemplateContext>? unbind = null)
parameter description
TItem Item type.

ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (4 of 17)

Section titled “ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (4 of 17)”

Sets the segment template from a root element and a bind callback that needs only the item.

public static ButtonGroup ItemTemplate<TItem, TElement>(this ButtonGroup control,
Func<TemplateContext, TElement> build, Action<TElement, TItem> bind)
where TElement : FrameworkElement
parameter description
TItem Item type.
TElement Template root element type.

ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (5 of 17)

Section titled “ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (5 of 17)”

Sets the drop-down item template from a root element and a bind callback that needs only the item.

public static ComboBox ItemTemplate<TItem, TElement>(this ComboBox comboBox,
Func<TemplateContext, TElement> build, Action<TElement, TItem> bind)
where TElement : FrameworkElement
parameter description
TItem Item type.
TElement Template root element type.

ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (6 of 17)

Section titled “ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (6 of 17)”

Sets the item template from a root element and a bind callback that needs only the item.

public static ItemsControl ItemTemplate<TItem, TElement>(this ItemsControl itemsControl,
Func<TemplateContext, TElement> build, Action<TElement, TItem> bind)
where TElement : FrameworkElement
parameter description
TItem Item type.
TElement Template root element type.

ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (7 of 17)

Section titled “ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (7 of 17)”

Sets the item template from a root element and a bind callback that needs only the item.

public static ListBox ItemTemplate<TItem, TElement>(this ListBox listBox,
Func<TemplateContext, TElement> build, Action<TElement, TItem> bind)
where TElement : FrameworkElement
parameter description
TItem Item type.
TElement Template root element type.

ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (8 of 17)

Section titled “ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (8 of 17)”

Sets the item template from a root element and a bind callback that needs only the item.

public static NavigationList ItemTemplate<TItem, TElement>(this NavigationList navigationList,
Func<TemplateContext, TElement> build, Action<TElement, TItem> bind)
where TElement : FrameworkElement
parameter description
TItem Item type.
TElement Template root element type.

ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (9 of 17)

Section titled “ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (9 of 17)”

Sets the segment template from a root element and a bind callback that needs only the item.

public static SegmentedControl ItemTemplate<TItem, TElement>(this SegmentedControl control,
Func<TemplateContext, TElement> build, Action<TElement, TItem> bind)
where TElement : FrameworkElement
parameter description
TItem Item type.
TElement Template root element type.

ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (10 of 17)

Section titled “ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (10 of 17)”

Sets the node template from a root element and a bind callback that needs only the item.

public static TreeView ItemTemplate<TItem, TElement>(this TreeView treeView,
Func<TemplateContext, TElement> build, Action<TElement, TItem> bind)
where TElement : FrameworkElement
parameter description
TItem Item type.
TElement Template root element type.

ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (11 of 17)

Section titled “ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (11 of 17)”

Sets the segment template; the bind callback receives the root the build callback returned.

public static ButtonGroup ItemTemplate<TItem, TElement>(this ButtonGroup control,
Func<TemplateContext, TElement> build, Action<TElement, TItem, int, TemplateContext> bind,
Action<TElement, TItem, int, TemplateContext>? unbind = null)
where TElement : FrameworkElement
parameter description
TItem Item type.
TElement Template root element type.

ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (12 of 17)

Section titled “ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (12 of 17)”

Sets the drop-down item template; the bind callback receives the root the build callback returned.

public static ComboBox ItemTemplate<TItem, TElement>(this ComboBox comboBox,
Func<TemplateContext, TElement> build, Action<TElement, TItem, int, TemplateContext> bind,
Action<TElement, TItem, int, TemplateContext>? unbind = null)
where TElement : FrameworkElement
parameter description
TItem Item type.
TElement Template root element type.

ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (13 of 17)

Section titled “ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (13 of 17)”

Sets the item template; the bind callback receives the root the build callback returned.

public static ItemsControl ItemTemplate<TItem, TElement>(this ItemsControl itemsControl,
Func<TemplateContext, TElement> build, Action<TElement, TItem, int, TemplateContext> bind,
Action<TElement, TItem, int, TemplateContext>? unbind = null)
where TElement : FrameworkElement
parameter description
TItem Item type.
TElement Template root element type.

ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (14 of 17)

Section titled “ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (14 of 17)”

Sets the item template; the bind callback receives the root the build callback returned.

public static ListBox ItemTemplate<TItem, TElement>(this ListBox listBox,
Func<TemplateContext, TElement> build, Action<TElement, TItem, int, TemplateContext> bind,
Action<TElement, TItem, int, TemplateContext>? unbind = null)
where TElement : FrameworkElement
parameter description
TItem Item type.
TElement Template root element type.

ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (15 of 17)

Section titled “ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (15 of 17)”

Sets the item template; the bind callback receives the root the build callback returned.

public static NavigationList ItemTemplate<TItem, TElement>(this NavigationList navigationList,
Func<TemplateContext, TElement> build, Action<TElement, TItem, int, TemplateContext> bind,
Action<TElement, TItem, int, TemplateContext>? unbind = null)
where TElement : FrameworkElement
parameter description
TItem Item type.
TElement Template root element type.

ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (16 of 17)

Section titled “ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (16 of 17)”

Sets the segment template; the bind callback receives the root the build callback returned.

public static SegmentedControl ItemTemplate<TItem, TElement>(this SegmentedControl control,
Func<TemplateContext, TElement> build, Action<TElement, TItem, int, TemplateContext> bind,
Action<TElement, TItem, int, TemplateContext>? unbind = null)
where TElement : FrameworkElement
parameter description
TItem Item type.
TElement Template root element type.

ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (17 of 17)

Section titled “ItemTemplateExtensions.ItemTemplate<TItem,TElement> method (17 of 17)”

Sets the node template; the bind callback receives the root the build callback returned.

public static TreeView ItemTemplate<TItem, TElement>(this TreeView treeView,
Func<TemplateContext, TElement> build, Action<TElement, TItem, int, TemplateContext> bind,
Action<TElement, TItem, int, TemplateContext>? unbind = null)
where TElement : FrameworkElement
parameter description
TItem Item type.
TElement Template root element type.