Freigeben über


SearchOptionsItemTemplateSelector.SelectTemplate Method

Definition

Obtains the template for the specified search option item.

public:
 override System::Windows::DataTemplate ^ SelectTemplate(System::Object ^ item, System::Windows::DependencyObject ^ container);
public override System.Windows.DataTemplate SelectTemplate (object item, System.Windows.DependencyObject container);
override this.SelectTemplate : obj * System.Windows.DependencyObject -> System.Windows.DataTemplate
Public Overrides Function SelectTemplate (item As Object, container As DependencyObject) As DataTemplate

Parameters

item
Object

The item to get the template for.

container
DependencyObject

The option button containing the item.

Returns

Returns the template of the item.

Applies to