wpf 笔记 Buttons and Other Controls
来源:互联网 发布:mac rar解压缩软件 编辑:程序博客网 时间:2024/05/21 14:04
1.Uri:
Uri uri=new Uri("pack://application:,,/filename");
2.Command: AppliactionCommands,ComponentCommands,MediaCommands,NavigationCommands,EditingCommands 类的静态Property。类型为RoutedUICommand。
CommanBindings.Add(new CommandBinding(ApplicationCommands.Paste,PasteOnExecute,PasteCanExecute));
剪切板 Clipboard.ContainsText();Clipboard.GetText();
3.ToggleButton
IsThreeState
toggleButton.setBinding(ToggleButton.IsCheckedProperty,bind);
4.TextBox
SelectionStart 设置光标位置
AcceptsReturn
CaretIndex
5.Path.Combine
Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),xxx);
6.ListBox
ItemContainerStyleSelector ,继承StyleSelector
ItemTemplateSelector ,继承DataTemplateSelector
AlternationConverter ,AlternationIndex,AlternationCount
- wpf 笔记 Buttons and Other Controls
- Windows Controls and WPF UserControls inside an XNA Game Project
- WPF & Silverlight Layout Controls
- User controls and custom controls
- Custom Controls and User Controls
- WPF Tips: Uncheckable radio buttons
- Radio buttons and GroupBox
- Buttons and Toolbars
- sourcegrid 应用实例(全部来自官网下载的例子)——Grid navigation, tab, arrows and other controls
- WPF and Silverlight 学习笔记
- Building a WPF Sudoku Game: Part 3 - Adding Polish and Customizing Controls (zz)
- How to use UpdateLayeredWindow with UI Controls like buttons etc?:)
- Forms Controls and ActiveX Controls in Excel
- Using Push Buttons and Hyperlinks
- Building a WPF Sudoku Game: Part 4 - Building a Least Privilege Plug-in System and Even More Custom Controls (zz)
- WPF and Silverlight 学习笔记(十):WPF控件模型
- WPF and Silverlight 学习笔记(三):WPF体系结构
- WPF and Silverlight 学习笔记(十五):WPF命令(Commands)
- 加密工具truecrypt 中文版 的加密解密添加文件的方法
- 浙大PAT 1053题 1053. Path of Equal Weight
- 2014年3月17-19CMMI高成熟度培训在上海
- 如何阅读一本电子书
- 我们爱过就好
- wpf 笔记 Buttons and Other Controls
- ubuntu server 备份还原
- 浙大PAT 1058题 1058. A+B in Hogwarts
- C#:String类型中的CharAt 方法
- by2 不哭了
- cocos2d之CCTexture2D
- DP:***24种设计模式--转自刘伟
- c# MODBUS协议 上位机
- (八)委托、Lambda和事件