当前位置: 首页 > news >正文

个人网站有商业内容备案本地网站开发环境搭建

个人网站有商业内容备案,本地网站开发环境搭建,网站推广宣传方案,婴儿衣服做的网站好WPF Property Grid控件使用属性定义定义如何做和显示 本教程示范如何绑定WP Property Grid控件到数据和创建属性定义。 执行如下步骤 第一步-创建属性定义 添加PropertyGridControl组件到项目。 打开工具箱在vs#xff0c;定位到DX.23.1: Data 面板#xff0c;选择Prope…WPF Property Grid控件使用属性定义定义如何做和显示 本教程示范如何绑定WP Property Grid控件到数据和创建属性定义。 执行如下步骤 第一步-创建属性定义 添加PropertyGridControl组件到项目。 打开工具箱在vs定位到DX.23.1: Data 面板选择PropertyGridControl工具箱选项拖动到窗口。 右键点击Property Grid选择Layout | Reset All填充全部窗口 第二步-创建数据对象 创建数据对象和设置到DataContext namespace Creating_Definitions {public partial class MainWindow : Window {public MainWindow() {InitializeComponent();DataContext new Customer() {ID 1,FirstName Nancy,LastName Davolio,Gender Gender.Female,BirthDate new DateTime(1948, 8, 12),Phone 7138638137};}public class Customer {public int ID { get; set; }public string FirstName { get; set; }public string LastName { get; set; }public Gender Gender { get; set; }public DateTime BirthDate { get; set; }public string Phone { get; set; }}public enum Gender { Male, Female }} } 第三步-绑定Property Grid到Data Object 使用property grid PropertyGridControl.SelectedObject 属性绑定数据 Windowxmlnshttp://schemas.microsoft.com/winfx/2006/xaml/presentationxmlns:xhttp://schemas.microsoft.com/winfx/2006/xamlxmlns:dxprghttp://schemas.devexpress.com/winfx/2008/xaml/propertygrid x:ClassPG_lesson1.MainWindowTitleMainWindow Height250 Width525Griddxprg:PropertyGridControl SelectedObject{Binding} //Grid /Window 步骤四-创建属性定义 添加属性定义到Property Grid.设置PropertyGridControl.ShowProperties属性ShowPropertiesMode.WithPropertyDefinitions隐藏未定义属性 Windowxmlnshttp://schemas.microsoft.com/winfx/2006/xaml/presentationxmlns:xhttp://schemas.microsoft.com/winfx/2006/xamlxmlns:sysclr-namespace:System;assemblymscorlibxmlns:dxehttp://schemas.devexpress.com/winfx/2008/xaml/editorsxmlns:dxprghttp://schemas.devexpress.com/winfx/2008/xaml/propertygrid x:ClassPG_lesson1.MainWindowTitleMainWindow Height250 Width525Griddxprg:PropertyGridControl SelectedObject{Binding} ShowPropertiesWithPropertyDefinitions dxprg:PropertyDefinition Typesys:String /dxprg:PropertyDefinition PathGender /dxprg:PropertyDefinition PathBirthDate //dxprg:PropertyGridControl/Grid /Window 运行程序看到结果
http://www.hkea.cn/news/14442328/

相关文章:

  • 网站建设合同免费下载垂直电商网站建设方案
  • 制作自助网站中华建设
  • 资阳建设机械网站海口网约车最新政策
  • 做网站推广话术平台搭建与拆除流程
  • 山西网站建设交流建筑的网站
  • 西安微信网站个人网页制作ps
  • 提高网站排名成全动漫免费观看在线看
  • 电子商务网站建设.pdf数字经济发展情况报告
  • 电子商务网站建设题目自己设计一个网页
  • 怎么做能够让网站流量大网页游戏网站快手
  • 网站建设制作介绍河南目前基金会网站做的比较好的
  • 百度贴吧的互动社区心理医院网站优化服务商
  • 金华网站开发建设泉州自主建站模板
  • 提高网站互动性互联网公司设计
  • 网站制作费用及后期运营优质的网站建设
  • 官方网站minecraft免费ppt模板免费下载完整版免费
  • 做安防在哪个网站做广告呢公司网站不用了如何注销
  • 做rom网站网络营销推广方式包括?
  • 平台式网站模板下载地址企业综合信息服务平台
  • 做公司的网站大概多少钱网页打包app
  • 长沙城乡建设网站城乡建设部门户网站
  • 设计一个手机网站平面多少钱企业crm销售管理系统
  • 网站建设asp文件怎么展现建筑网站知识大全
  • 重庆免费网站建站模板贵阳个人做网站
  • 手机做简单的网站一个做网站的团队需要哪些
  • 网站客户端开发怎么制作网站登录
  • 网站备案流程以及所需资料asp网站开发技术
  • 西安网站建设推广优化包装设计流程
  • 一个主体如何添加网站优化网站流量
  • 青岛企业网站推广做购物网站的公司