Changes

Property Direct Edit (Client)

932 bytes added, 10:43, 12 July 2021
{{Hint|Once again, you can use the [[Developer_Mode]] to find out more about the PropertyViewModel, like where they are available and how they can be accessed in XAML, or what other members are available underneath, etc.}}
== Relevant behaviors and controls types ==Here are some behaviors and/or controls types created for the purpose of property direct editing. === PropertyDirectItemTemplateSelector === This is used in a ListView-like control where item templates should be specified, in this case property item templates specifically. It determines the different DataTemplates to be used for direct editing PropertyViewModels according to their property types. For types that have default {{UBIK}} direct editing support, the template names follow the pattern of "UBIKPropertyDirectItemXXX" where XXX is the type name, e.g. String, DateTime, List, etc. The selector also allows you to optionally specify a default template name so that template is used for those {{UBIK}} considers direct editing unavailable. The default value is "UBIKPropertyItem" if left unspecified. <tabs><tab name="UWP">Namespace <code>xmlns:tpl="using:UBIK.WinX.Templates"</code></tab> <tab name="Xamarin">Namespace <code>xmlns:resources="clr-namespace:UBIK.CPL.Resources;assembly=UBIK.CPL"</code></tab></tabs> === Behaviors and controls ===
<tabs>
<tab name="UWP">