Changes
</tab>
<tab name="Mobile(Xamarin)">
They are accessible as DataTemplates from UBIKThemes.xamlx and the syntax in XAML is <code>{DynamicResource TEMPLATE_NAME}</code>. Just like such templates, they can be customized by providing your own DataTemplate resources (with the keys of TEMPLATE_NAME) in UBIKThemes.xamlx.
</tab>
* With selective list items: named as UBIKPropertyDirectItemList.
{{Hint|Due to the limited screen size of most mobile devices, direct editing is not enabled by default in the Xamarin Mobile clients.}}
=== For MRO-Tasks: ===
* With selective list items: named as UBIKTaskPropertyList.
{{Hint|Due to the limited screen size of most mobile devices, direct editing is not enabled by default for DateTime and GeoData types in the Xamarin Mobile clients.}}
This is the view model for every single {{UBIK}} property and also the basement for property direct editing (and regular editing alike). For example, a certain named PropertyViewModel (with the name of PROPERTY_NAME) of the context object in a content page is accessible as <code>{Binding Properties.VisibleItems[PROPERTY_NAME]}</code>.
[[File:UBIK_Xamarin_UI_Template_PropertyDirectItemString_Debug_NotInEditing.png|thumb|A test template for direct editing a String property (XamarinMobile)]][[File:UBIK_Xamarin_UI_Template_PropertyDirectItemString_Debug_InEditing.png|thumb|The same template now in edit mode (XamarinMobile)]]
In the example demonstrated in the screenshot where a test template is used to enable direct editing of a String/Text typed property, the following members of the PropertyViewModel are involved.
* '''InEditing''': This is the boolean member indicating whether the PropertyViewModel is currently in edit mode. It can be used to decide whether the UI should display the DisplayValue text or present a text box for user input;
</tab>
<tab name="Mobile(Xamarin)">
<source lang = "xml">
<Button ...
</tab>
<tab name="Mobile(Xamarin)">
<source lang = "xml">
<Button ...
</tab>
<tab name="Mobile(Xamarin)">
Namespace <code>xmlns:resources="clr-namespace:UBIK.CPL.Resources;assembly=UBIK.CPL"</code>
</tab>
</tab>
<tab name="Mobile(Xamarin)">
Namespace <code>xmlns:resources="clr-namespace:UBIK.CPL.Resources;assembly=UBIK.CPL"</code>
</tab>
</tab>
<tab name="Mobile(Xamarin)">
The SelectAllEntry optionally accepts two commands (ReturnCommand & EscapeCommand) to execute when a user inputs the return key {{key press|Enter}} and the escape key {{key press|Esc}} respecitively.
<source lang = "xml">
</tab>
<tab name="DateTimeControl Mobile(Xamarin)">
The CalendarControl has an additional Event called "DateSelected" that is called when confirming a value on the flyoutpickers. The TimeControl has a similar "TimeSelected" Event (Note that this event may have wrong behaviour on iOS)
<source lang = "xml">
[[Category:Client|Property Direct Edit (Client)]]
[[Category:Mobile|Property Direct Edit (Client)]]
[[Category:Version 4.0|Property Direct Edit (Client)]]
[[Category:WinX|Property Direct Edit (Client)]]