Jump to: navigation, search

Version 4.0 (WinX)


Revision as of 12:56, 12 July 2021 by LGE (Talk | contribs) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
[edit]

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 involved. We have striven to maintain backward compatibility, but some changes either are simply unavoidable or their long term benefits outweigh the efforts required this one time.

Converters

  • PropertyItemToValueConverter is removed since it was not used at all.

UBIKChildPageAction

  • 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 Content -> AutoSaveMode.

UBIKPropertyArea

  • The ItemsSource of <uc:SelectionBoundListView x:Name="PropertyListView" ... /> now uses the result of an EvalExpression. Mass editing will no longer work if not updated.

UBIKPropertyItem/UBIKPriorityPropertyItem

  • PriorityPropertyClickedCommand/PriorityPropertyRightClickedCommand are deleted since they are the same as PropertyClickedCommand/PropertyRightClickedCommand. You should use the latter instead;
  • Removed "Content.", "OwnerModel." from bindings.

Editor related templates

The affected list of templates include: UBIKEditDateTime, UBIKEditDouble, UBIKEditInt, UBIKEditGuid, UBIKEditChart, UBIKEditGeo, UBIKEditBool, UBIKEditString, UBIKEditDialogButtons, UBIKEditDialogHeader, UBIKEditDialogNACheck.

  • Changed from "EditDialogViewModel.PropertyItem" to "PropertyViewModel" in bindings;
  • Changed from "EditDialogViewModel." to "PropertyViewModel." in bindings;
  • Changed from "EditDialogViewModel.DeletePressedCommand" to "PropertyViewModel.DeleteValueCommand" in a binding; (UBIKEditGuid)
  • Changed from "PropertyItem.Content.DisplayStrings" to "PropertyViewModel.OwnerObject.DisplayStrings" in bindings; (UBIKEditDialogHeader)
  • 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.

The changes are quite extensive and, therefore, we recommended you taking the default templates from the app and re-customize them from there.