Difference between revisions of "Version 4.0 (WinX)"
(Created page with "= Release Notes = = XAML Notes = == XAML changes == Since there has been a major UI redesign in this version, quite a lot of changes in XAML code (especially bindings) are...") |
|||
Line 13: | Line 13: | ||
* The Visibility of <AppBarButton x:Name="SaveButton" ... /> now adjusts according to setting "Content -> enable auto save mode". Nothing will be broken if your existing XAMLs are not updated. However, the saving behavior might not match what's described in [[Settings#Content|Content -> AutoSaveMode]]. | * The Visibility of <AppBarButton x:Name="SaveButton" ... /> now adjusts according to setting "Content -> enable auto save mode". Nothing will be broken if your existing XAMLs are not updated. However, the saving behavior might not match what's described in [[Settings#Content|Content -> AutoSaveMode]]. | ||
− | === UBIKPropertyArea === | + | === UBIKPropertyArea/UBIKContentArea === |
− | * The ItemsSource | + | * The ItemsSource and property count now use the result of an [[EvalExpression]]. Mass editing will no longer work or the count will be incorrect if not updated; |
+ | * Changed from "Properties.Items" to "Properties.VisibleItems" in bindings because Items/AllItems now also include those system/invisible ones that users are not supposed to see. | ||
=== UBIKPropertyItem/UBIKPriorityPropertyItem === | === UBIKPropertyItem/UBIKPriorityPropertyItem === | ||
Line 21: | Line 22: | ||
=== Editor related templates === | === Editor related templates === | ||
− | The | + | {{Hint|The changes are quite extensive and, therefore, we recommended you taking the default templates from the app and re-customize them from there.}} |
+ | |||
+ | First of all for UBIKEditDateTime, UBIKEditDouble, UBIKEditInt, UBIKEditGuid, UBIKEditChart, UBIKEditGeo, UBIKEditBool, UBIKEditString. | ||
* Changed from "EditDialogViewModel.PropertyItem" to "PropertyViewModel" in bindings; | * Changed from "EditDialogViewModel.PropertyItem" to "PropertyViewModel" in bindings; | ||
− | * Changed from "EditDialogViewModel | + | * Changed from "EditDialogViewModel" to "PropertyViewModel" in bindings; |
* Changed from "EditDialogViewModel.DeletePressedCommand" to "PropertyViewModel.DeleteValueCommand" in a binding; (UBIKEditGuid) | * Changed from "EditDialogViewModel.DeletePressedCommand" to "PropertyViewModel.DeleteValueCommand" in a binding; (UBIKEditGuid) | ||
− | + | * Prefixed "EditDialogViewModel" with "PropertyViewModel." in the binding of <Button x:Name="TeachInButton" />; (UBIKEditGeo) | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | * Prefixed "EditDialogViewModel | + | |
* UBIKEditString was renamed from UBIKEdit. | * UBIKEditString was renamed from UBIKEdit. | ||
− | + | ||
+ | Then for UBIKEditDialogButtons, UBIKEditDialogHeader, UBIKEditDialogNACheck. | ||
+ | * Changed from "PropertyItem.Content.DisplayStrings" to "PropertyViewModel.OwnerObject.DisplayStrings" in bindings; (UBIKEditDialogHeader) | ||
+ | * Changed from "PropertyItem" to "PropertyViewModel" in bindings; | ||
+ | * Prefixed bindings "EnableNAOption", "NotApplicable", "ValueDefinitions", "ValueDefinition", "EnableMultiValueEditing" & "CanExecuteConfirmEditCommand" with "PropertyViewModel.". | ||
<headertabs /> | <headertabs /> | ||
{{Category/Version2|{{PAGENAME}}}} | {{Category/Version2|{{PAGENAME}}}} | ||
+ | |||
+ | [[Category:Version 4.0|Version 4.0 (WinX)]] |