Changes

XAML Best practices

259 bytes added, 24 July
/* Template Selectors */
==== Template Selectors ====
Various parts Although you can always hardcode what template to use, sometimes a more dynamic template selection is required. For example, think of the UBIK UI are dynamically swapped ChildItemTemplateSelector used in based on specific conditionsthe generic UBIKChildArea. One A more advanced example is found on the UBIKPropertyDirectItemContainer.xaml, which serves as defines all the base for an item common aspects of a Property Item in the property listUBIK 4.0+, and which renders a different but then uses the PropertyDirectItemTemplateSelector to swap in the relevant type-appropriate editing UI for each kind of property based user input controls (such as textbox, selection, datetime, geo coordinates, etc).
The logical tree used by these selectors to render different UIs is documented in our article [[UBIK_Templates]].
<br><br>
 
[[Category:Pages with broken file links|XAML Best practices]]
[[Category:XAML|XAML Best practices]]
=== How to select the right Control ===
511
edits