Skip to content

v0.5.1

Compare
Choose a tag to compare
@SlimeNull SlimeNull released this 02 Jul 11:54
· 118 commits to master since this release

Compared to v0.4.0, this version has the following additional features.

  • Support customize window minimize, maximize and close buttons, by using attached property ws:WindowOption.IsMaximumButton on the button, it can be set as the maximize button of the current window, and the "Snap Layout Options" shown by hovering on the maximize button on Win11 can be shown correctly.
  • Support hide the whole title bar of the form or hide the menu buttons of the title bar, use ws:WindowOption.IsCaptionVisible and ws:WindowOption.IsCaptionMenuVisible to set it.
  • The ScrollViewer's smooth scrolling animation now works for TextBoxes as well.

Breaking changes.

  • Password property of PasswordBox has been changed from SecureString type to string type.

Detailed change:

  • The duration of ScrollViewer's smooth scrolling animation has been increased compared to 0.4.0, it is now 250ms.

相较于 v0.4.0, 此版本总功能上多了:

  • 支持自定义窗体的最小化, 最大化与关闭按钮, 通过在按钮上使用附加属性 ws:WindowOption.IsMaximumButton 即可将其设定为当前窗口的最大化按钮, 在 Win11 上的悬停在最大化按钮所显示的 "贴靠布局选项" 也能正确显示出来
  • 支持隐藏窗体的整个标题栏或者隐藏标题栏的菜单按钮, 使用 ws:WindowOption.IsCaptionVisible 与 ws:WindowOption.IsCaptionMenuVisible 进行设置即可
  • 现在 ScrollViewer 的缓动动画对 TextBox 也有效

中断性变更:

  • PasswordBox 的 Password 属性由原来的 SecureString 类型变更为了 string 类型

细节变更:

  • ScrollViewer 的平滑滚动动画时长相较 0.4.0 有所增加, 现在是 250ms