Click or drag to resize

CauldronTemplateSelectorSelectTemplate Method

When overridden in a derived class, returns a DataTemplate based on custom logic.

Namespace:  Cauldron.XAML
Assembly:  Cauldron.Win32.WPF (in Cauldron.Win32.WPF.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public override DataTemplate SelectTemplate(
	Object item,
	DependencyObject container
)

Parameters

item
Type: SystemObject
The data object for which to select the template.
container
Type: System.WindowsDependencyObject
The data-bound object.

Return Value

Type: DataTemplate
Returns a DataTemplate or null. The default value is null.
See Also