<TViewModel> 卡特尔 5.12 中的用户控件在哪里



我在使用.NET 6.0和Catel 5.12.22的MVVM/WPF项目上有一些嵌套的UserControls谷歌把我引向了这篇文章,不管它是一篇老文章https://www.codeproject.com/Articles/129920/Catel-Part-3-of-n-The-MVVM-Framework#mapping

我在Catel 5.12 中找不到UserControl了

目前有很多旧文档的死链接,所以请告诉我在哪里可以找到它,或者它现在是如何工作的。

Jeroen

UserControl仍然存在于Catel中。

这是完整的文档。

要在xaml中使用它,请使用以下代码:

<catel:UserControl x:Class="Catel.Views.MyControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:catel="http://schemas.catelproject.com">

<!-- For the sake of simplicity, content is left out -->

</catel:UserControl>

最新更新