Returns a DataTemplate suitable for editing the specified item.

Namespace:  Mindscape.WpfElements.WpfPropertyGrid
Assembly:  Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public override DataTemplate SelectTemplate(
	Object item,
	DependencyObject container
)
Visual Basic (Declaration)
Public Overrides Function SelectTemplate ( _
	item As Object, _
	container As DependencyObject _
) As DataTemplate

Parameters

item
Type: System..::.Object
The data object for which to select the template.
container
Type: System.Windows..::.DependencyObject
The data-bound object.

Return Value

The DataTemplate to be used to present and edit the item, if one was found; otherwise null.

See Also