SearchOptionsItemTemplateSelector.SelectTemplate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.