阅读背景:

使用数据库值更新控件的宽度(WPF)

来源:互联网 

I created a user control and an associated view model. The properties "DisplayName" and "TimeIntervalLength" of the view model are displayed in the user control view DataBinding. Depending on those properties of the view model I want to update the width of my control. The width should be "TimeIntervalLength" but at least "DisplayName". I tried to override "OnPropertyChanged" but this does not work. Further I could not find an appropriated event to override.I created a user control and an associated view




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: