The data object for which to select the template.
The data-bound object.
SelectTemplate Method (MinimizeAndMaximizeButtonTemplateSelector)
When overridden in a derived class, returns a System.Windows.DataTemplate based on custom logic.
Syntax
public override DataTemplate SelectTemplate( 
   object item,
   DependencyObject container
)

Parameters

item
The data object for which to select the template.
container
The data-bound object.

Return Value

Returns a System.Windows.DataTemplate or a null reference (Nothing in Visual Basic). The default value is a null reference (Nothing in Visual Basic).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also