Jump to: navigation, search

Changes


XAML Tips

33 bytes added, 08:48, 8 August 2019
/* Content creation */
</source>
=== Content creation ==={{Version/AndroidSince|3.5.5}}
To directly create an object on a child of the current object, you can define a Button as follows. The method "Item.IsTypeCreationAllowed" used in the expression gets the uid of the type that should be created below a child, if a child does not allow the creation of that type underneath it, the child will be hidden in the selection dialog. To actually create the object, the "CreateChildItemCommand" needs to be passed a KeyValueList with two parameters: The Parent-key is the ContentViewModel of the child underneath the object should be created, the Type-key is the type of object which should be created--this should match the uid passed to the "Item.IsTypeCreationAllowed" method.
<source lang = "xml">
</AppBarButton>
</source>
 
=== Hotspotting ===
53
edits