Jump to: navigation, search

Changes


Version 4.0 (WinX)

1,105 bytes added, 14:23, 31 March 2022
/* XAML changes */
* Prefixed bindings "EnableNAOption", "NotApplicable", "ValueDefinitions", "ValueDefinition", "EnableMultiValueEditing" & "CanExecuteConfirmEditCommand" with "PropertyViewModel.".
=== Any template having ViewModel as the data context ===
Some commands are moved from the ViewModel to the AppStatusViewModel which is available as a property called AppStatus in ViewModel. So the previous bindings in the form of XXXCommand will now require a new binding of AppStatus.XXXCommand (with some exceptions, see below). The affected members include the following.
* CallRemoteSupportCommand;
* SwitchSyncModeCommand;
* SyncMode;
* NavigateToScanPageCommand;
* NavigateToHomePageCommand;
* NavigateBackCommand;
* NavigateToSettingsPageCommand;
* NavigateToGuidCommand;
* NavigateToRootPageCommand;
* NavigateToURICommand;
* DisplayViewCommand;
* EnableNfcCommand;
* CopyToClipboardCommand;
* ShowMessageBoxCommand;
* LocalContentItems -> AppStatus.LocalObjects;
* UserName -> AppStatus.CurrentUserName.
 
{{Hint|The changes here are not mandatory and the old bindings are still compatible. But we highly recommend that you use the new ones since the old ones will not receive further updates such as bugfixes and improvements.}}
{{Hint|All these changes are also marked in the developer mode.}}
<headertabs />