|
ViewTemplateSelectorSelectTemplate Method |
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Returns the data template based on a given data item.
Namespace:
WeroSoft.Development.Controls
Assembly:
WeroSoft.Client.Desktop.Library (in WeroSoft.Client.Desktop.Library.dll) Version: 3.0 Pre-Release
Syntax 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:
DataTemplateThe template to be used or null, if no template was found.
See Also