Changes

UBIK Templates

165 bytes added, 17 April
/* ContentAreaTemplateSelector (UWP) / ContentAreaTemplateConverter (Xamarin) */
=== ContentAreaTemplateSelector (UWP) / ContentAreaTemplateConverter (Xamarin) ===
The ContentAreaTemplateSelector returns a fitting template for a given context object according to the following rules:
<tabs>
<tab name="UWP">
The ContentAreaTemplateSelector returns a fitting template for a given context object according to the following rules:
* If the context object is classified with the [[SYSCLS_CONTENTAREATEMPLATE|ContentAreaTemplate Classification]] and carries a valid content area template name:
** Tries to return a custom template with the name of CustomTemplateName + Suffix;
</tab>
<tab name="Xamarin">
The ContentAreaTemplateConverter returns a fitting content area template for a given ContentViewModel if it's * If the context object is classified with the [[SYSCLS_CONTENTAREATEMPLATE|ContentAreaTemplate Classification]].and carries a valid content area template name:* Returns null if * Tries to return a custom template with the given ViewModel is name of CustomTemplateName;** If not a ContentViewModelfound, returns an error template.* Returns Otherwise:** Tries to return a default custom template named with the name of ''UBIKContentArea'' if no specific template is ;** If not found, it returns an error template.
</tab>
</tabs>
 
[[Category:Client|UBIK Templates]]
[[Category:UBIK|UBIK Templates]]
[[Category:WinX|UBIK Templates]]
=== PropertyEditorItemTemplateSelector (UWP) / EditTemplateConverter (Xamarin) ===
257
edits