Jump to: navigation, search

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 of <uc:SelectionBoundListView x:Name="PropertyListView" ... /> now uses the result of an [[EvalExpression]]. Mass editing will no longer work if not updated.
+
* 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 affected list of templates include: UBIKEditDateTime, UBIKEditDouble, UBIKEditInt, UBIKEditGuid, UBIKEditChart, UBIKEditGeo, UBIKEditBool, UBIKEditString, UBIKEditDialogButtons, UBIKEditDialogHeader, UBIKEditDialogNACheck.
+
{{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." to "PropertyViewModel." in bindings;
+
* 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)
* Changed from "PropertyItem.Content.DisplayStrings" to "PropertyViewModel.OwnerObject.DisplayStrings" in bindings; (UBIKEditDialogHeader)
+
* Prefixed "EditDialogViewModel" with "PropertyViewModel." in the binding of <Button x:Name="TeachInButton" />; (UBIKEditGeo)
* Changed from "PropertyItem." to "PropertyViewModel." in bindings; (UBIKEditDialogHeader)
+
* Prefixed bindings "NotApplicable", "ValueDefinitions", "ValueDefinition" & "EnableMultiValueEditing" with "PropertyViewModel."; (UBIKEditDialogHeader)
+
* Prefixed bindings "EnableNAOption" & "NotApplicable" with "PropertyViewModel."; (UBIKEditDialogNACheck)
+
* Prefixed "CanExecuteConfirmEditCommand" with "PropertyViewModel."; (UBIKEditDialogButtons)
+
* Prefixed "EditDialogViewModel." with "PropertyViewModel." in the binding of <Button x:Name="TeachInButton" />; (UBIKEditGeo)
+
 
* UBIKEditString was renamed from UBIKEdit.
 
* UBIKEditString was renamed from UBIKEdit.
The changes are quite extensive and, therefore, we recommended you taking the default templates from the app and re-customize them from there.
+
 
 +
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)]]

Revision as of 14:29, 12 July 2021

[edit]

Release Notes