Interface ISelector
Interface which must be implemented into all custom and default selector, to make a UITemplate dependeding on any property
Namespace: Simplic.UIDataTemplate
Assembly: Simplic.UIDataTemplate.dll
Syntax
public interface ISelector
Methods
| Improve this Doc View SourceSelectTemplate(UITemplate, Object)
Returns true if a template is selectable
Declaration
bool SelectTemplate(UITemplate template, object viewModel)
Parameters
Type | Name | Description |
---|---|---|
UITemplate | template | Template instance which should be proofed |
System.Object | viewModel | Current viewmodel instance |
Returns
Type | Description |
---|---|
System.Boolean | True if the template is selectable |