区域
约 67 字小于 1 分钟
PrismC#MVVMWPF
2025-06-10
定义一个 Region:
<Control xmlns:prism="http://prismlibrary.com/">
<ContentControl prism:RegionManager.RegionName="ContentRegion" />
</Control>在任意控件中通过附加属性 RegionManager.RegionName 给指定 ContentControl 添加一个 RegionName,用于后端绑定特定的控件。