gpt4 book ai didi

WPF FrameworkPropertyMetaData Journal——这有什么意义?

转载 作者:行者123 更新时间:2023-12-03 18:30:12 31 4
gpt4 key购买 nike

基本上,正如标题所问:

Journal 属性有什么意义? MSDN 并没有真正解释它的实际用途。

最佳答案

blog post 很好地解释了这一点,或上官方MSDN page .

总结一下:

Windows Presentation Foundation (WPF) supports browser-style navigation that can be used in two types of applications: standalone applications and XAML browser applications (XBAPs). To package content for navigation, WPF provides the Page class. You can navigate from one Page to another declaratively, by using a Hyperlink, or programmatically, by using the NavigationService. WPF uses the journal to remember pages that have been navigated from and to navigate back to them.
...
If you need to remember small pieces of state across Page navigations, you can use dependency properties (see DependencyProperty) that are configured with the FrameworkPropertyMetadata.Journal metadata flag.

关于WPF FrameworkPropertyMetaData Journal——这有什么意义?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5824131/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com