C# Class WPF.JoshSmith.Controls.RoutedDataTemplateSelector

A DataTemplateSelector which raises the bubbling TemplateRequested routed event on the templated element when a DataTemplate must be chosen.
Documentation: http://www.codeproject.com/KB/WPF/RoutedTemplateSelection.aspx
Inheritance: System.Windows.Controls.DataTemplateSelector
Show file Open project: Warewolf-ESB/Warewolf

Public Properties

Property Type Description
TemplateRequestedEvent System.Windows.RoutedEvent

Public Methods

Method Description
SelectTemplate ( object item, DependencyObject container ) : System.Windows.DataTemplate

Raises the TemplateRequested event up the 'container' element's logical tree so that the DataTemplate to return can be determined.

Method Details

SelectTemplate() public method

Raises the TemplateRequested event up the 'container' element's logical tree so that the DataTemplate to return can be determined.
public SelectTemplate ( object item, DependencyObject container ) : System.Windows.DataTemplate
item object The data object being templated.
container System.Windows.DependencyObject The element which contains the data object.
return System.Windows.DataTemplate

Property Details

TemplateRequestedEvent public static property

Represents the TemplateRequested bubbling routed event.
public static RoutedEvent,System.Windows TemplateRequestedEvent
return System.Windows.RoutedEvent