【发布时间】:2012-02-16 14:23:32
【问题描述】:
我在我的应用程序中使用评级控件(来自 wpf 工具包)。有什么办法可以扩展这个控件?对于我的应用程序来说,星级太大了..
我尝试设置高度或宽度,但这只会削减星星但不会调整它们的大小:
Rating ratingControl = new Rating();
ratingControl .ItemsSource = ratingItems;
ratingControl.Width = 50;
ratingControl.Height = 10;
// --> this doesn't change the size of the stars
问候大安
【问题讨论】:
标签: wpf .net-4.0 wpftoolkit