ThicknessPropertyConverter,以便绑定Thickness的某几个属性

时间:2016-02-18 07:36:37
【文件属性】:
文件名称:ThicknessPropertyConverter,以便绑定Thickness的某几个属性
文件大小:7KB
文件格式:7Z
更新时间:2016-02-18 07:36:37
WPF C# .NET Thickness的Top、Left等属性不是依赖项属性,不能单独绑定。 我的ThicknessPropertyConverter可以绑定到Thickness的任意一个或几个属性。 具体参见http://blog.csdn.net/gqqnb/article/details/8548509
【文件预览】:
App.xaml
ThicknessPropertyConverter演示.csproj
App.xaml.cs
ThicknessPropertyConverter演示.csproj.user
ThicknessPropertyConverter.cs
App.config
MainWindow.xaml
Properties
----Resources.resx(5KB)
----Settings.settings(201B)
----AssemblyInfo.cs(2KB)
----Settings.Designer.cs(1KB)
----Resources.Designer.cs(3KB)
MainWindow.xaml.cs

网友评论

  • 不错!可以用!