随笔分类 -  ◆WPF◆

WPF相关技术,绑定绑定,Style, ControlTemplate
摘要:WPF 的XAML引入名字空间的概念,经常容易让人混淆。如何引入名字空间,并且在XAML中调用其中的类,下面给一个简单的介绍。 阅读全文
posted @ 2014-04-04 23:32 太古月石 阅读(8053) 评论(0) 推荐(0)
摘要:You can find their source code in codeplex at the ASP.NET source code.ExtendedMembershipProvider: http://aspnetwebstack.codeplex.com/SourceControl/cha... 阅读全文
posted @ 2014-03-24 10:58 太古月石 阅读(183) 评论(0) 推荐(0)
摘要:多线程访问WPF界面问题 阅读全文
posted @ 2014-03-19 13:57 太古月石 阅读(236) 评论(0) 推荐(0)
摘要:不同控件中拖拽数据 阅读全文
posted @ 2013-07-28 00:01 太古月石 阅读(4217) 评论(0) 推荐(0)
摘要:... 阅读全文
posted @ 2013-06-17 00:06 太古月石
摘要:http://msdn.microsoft.com/en-us/library/ee230084.aspxhttp://msdn.microsoft.com/en-us/library/ee230084.aspxScrollBar Styles and Templates 阅读全文
posted @ 2013-04-05 23:33 太古月石 阅读(141) 评论(0) 推荐(0)
摘要:准备总结一系列的WPF控件方面的随笔 阅读全文
posted @ 2013-01-22 17:35 太古月石 阅读(37471) 评论(7) 推荐(1)
摘要:打开.csproject文件把Properties\Resources.Designer.cs相关的东西都删掉,就解决了这个问题了。 <Compile Include="Properties\Resources.Designer.cs"> <AutoGen>True</AutoGen> <DesignTime>True</DesignTime> <DependentUpon>Resources.resx</DependentUpon> </Compile> <Embedde 阅读全文
posted @ 2013-01-15 17:40 太古月石 阅读(1155) 评论(0) 推荐(0)
摘要:常见效果,总结一下,不然总是搜来搜去,影响工作效率。 阅读全文
posted @ 2013-01-08 17:29 太古月石 阅读(20970) 评论(1) 推荐(0)
摘要:WPF XP下去掉控件上的虚线框 阅读全文
posted @ 2013-01-06 20:33 太古月石 阅读(463) 评论(0) 推荐(0)
摘要:问题:动态创建控件,绑定了一个Style, 但是无法得到Style中Controltemplate的控件。解决: GroupBox gb = new GroupBox(); gb.Name = "groupbox1"; gb.Header = "MyTest1"; gb.Height = 50; gb.Width = 100; // 使用FindResource, 然后Apply gb.Style = this.FindResource("MyGroupBoxWithIcon") as Style; gb.ApplyTemplate( 阅读全文
posted @ 2012-07-10 14:49 太古月石 阅读(6279) 评论(0) 推荐(3)