文章分类 -  WPF

摘要:http://msdn.microsoft.com/en-us/library/ms744790(v=vs.110).aspx Focus Here Focus Here 阅读全文
posted @ 2014-06-16 21:21 penney
摘要:http://weblog.west-wind.com/posts/2007/May/23/WPF-How-hard-could-it-be-to-get-a-SelectedItemTemplate ... 阅读全文
posted @ 2014-06-10 20:43 penney
摘要:The difference is thatVisibility.Hiddenhides the control, but reserves the space it occupies in the layout. So it renders whitespace instead of the co... 阅读全文
posted @ 2014-05-15 09:45 penney
摘要:Image in Grid should set dpi is 96有些情况下是72 ,需要把image stretch =!none 阅读全文
posted @ 2014-05-12 23:02 penney
摘要:... 阅读全文
posted @ 2014-05-11 18:12 penney
摘要:ddddddddddddddddddddddddddd dddddddddddddddddddddffffffffffffffffffffffffff 阅读全文
posted @ 2014-04-13 22:22 penney
摘要:/// /// Gets the for the that paints the background of selected items. /// /// /// /// The resource key for the th... 阅读全文
posted @ 2014-04-13 20:45 penney
摘要:1.新建UserControl2.添加listview3.修改listview模版 ... 阅读全文
posted @ 2014-04-12 16:09 penney
摘要:private void OnSearchLostFocus(object sender, RoutedEventArgs e) { ImageBrush imageBrush = new ImageBrush();// pack://applic... 阅读全文
posted @ 2014-04-12 16:05 penney
摘要:使用usrcontorl ,类似于customcontrol。 1.删除Grid 2.修改tempalte 主要使用Image\xxx.jpg 。然后再后台中自定义事件public event KeyEventHandler OnEnterTrigger; public event DependencyPropertyChangedEventHandler OnRetriveItems; private void txtoutter_PreviewKeyDown(object sender, KeyEventArgs e) { ... 阅读全文
posted @ 2014-04-12 16:01 penney