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

新乡手机网站建设服务seo需要付费吗

新乡手机网站建设服务,seo需要付费吗,html个人主页代码编写,企业信息管理系统发展历程此教程示范如何添加TreeListControl到项目和绑定控件自引用数据源#xff1a; 添加数据模型 绑定tree#xff0c;并添加如下字段到数据源对象#xff1a; Key字段包含唯一值索引节点 Parent字段包含父索引节点 添加数据模型#xff08;Employee和Staff类#xff09;到…此教程示范如何添加TreeListControl到项目和绑定控件自引用数据源 添加数据模型 绑定tree并添加如下字段到数据源对象 Key字段包含唯一值索引节点 Parent字段包含父索引节点 添加数据模型Employee和Staff类到MainWindow.xaml.cs 文件 namespace DxTreeListGettingStarted {public partial class MainWindow : Window { ... }public class Employee {public int ID { get; set; }public int ParentID { get; set; }public string Name { get; set; }public string Position { get; set; }public string Department { get; set; }}public static class Staff {public static ListEmployee GetStaff() {ListEmployee staff new ListEmployee();staff.Add(new Employee() { ID 0, Name Gregory S. Price, Department , Position President });staff.Add(new Employee() { ID 1, ParentID 0, Name Irma R. Marshall, Department Marketing, Position Vice President });staff.Add(new Employee() { ID 2, ParentID 0, Name John C. Powell, Department Operations, Position Vice President });staff.Add(new Employee() { ID 3, ParentID 0, Name Christian P. Laclair, Department Production, Position Vice President });staff.Add(new Employee() { ID 4, ParentID 0, Name Karen J. Kelly, Department Finance, Position Vice President });staff.Add(new Employee() { ID 5, ParentID 1, Name Brian C. Cowling, Department Marketing, Position Manager });staff.Add(new Employee() { ID 6, ParentID 1, Name Thomas C. Dawson, Department Marketing, Position Manager });staff.Add(new Employee() { ID 7, ParentID 1, Name Angel M. Wilson, Department Marketing, Position Manager });staff.Add(new Employee() { ID 8, ParentID 1, Name Bryan R. Henderson, Department Marketing, Position Manager });staff.Add(new Employee() { ID 9, ParentID 2, Name Harold S. Brandes, Department Operations, Position Manager });staff.Add(new Employee() { ID 10, ParentID 2, Name Michael S. Blevins, Department Operations, Position Manager });staff.Add(new Employee() { ID 11, ParentID 2, Name Jan K. Sisk, Department Operations, Position Manager });staff.Add(new Employee() { ID 12, ParentID 2, Name Sidney L. Holder, Department Operations, Position Manager });staff.Add(new Employee() { ID 13, ParentID 3, Name James L. Kelsey, Department Production, Position Manager });staff.Add(new Employee() { ID 14, ParentID 3, Name Howard M. Carpenter, Department Production, Position Manager });staff.Add(new Employee() { ID 15, ParentID 3, Name Jennifer T. Tapia, Department Production, Position Manager });staff.Add(new Employee() { ID 16, ParentID 4, Name Judith P. Underhill, Department Finance, Position Manager });staff.Add(new Employee() { ID 17, ParentID 4, Name Russell E. Belton, Department Finance, Position Manager });return staff;}} } 添加视图模型 创建视图模型暴露Employees字段 using DevExpress.Mvvm;namespace DxTreeListGettingStarted {public partial class MainWindow : Window { ... }public class Employee { ... }public static class Staff { ... }public class MainWindowViewModel : ViewModelBase {public MainWindowViewModel() {Employees Staff.GetStaff();}public ListEmployee Employees { get; private set; }} } 设置window数据上下文到视图模型 Window... Window.DataContextlocal:MainWindowViewModel//Window.DataContext 添加TreeListControl到视图 拖动TreeListControl组件从工具箱到form里面 选择TreeListControl点击Quick Actions 点击重新计算按钮到ItemsSource属性调用上下文菜单。选择创建数据绑定 选择Employees在对话框点击OK 设置AutoGenerateColumns添加AddNew 切换到XAML视图定义TreeListControl 视图 dxg:TreeListControl AutoGenerateColumnsAddNew ItemsSource{Binding Employees}dxg:TreeListControl.Viewdxg:TreeListView //dxg:TreeListControl.View /dxg:TreeListControl 返回设计器视图选择TreeListView调用Quick Actions 启动AutoWidth和AutoExpandAllNodes选项。指定服务行TreeListView.KeyFieldName 和 TreeListView.ParentFieldName生成tree dxg:TreeListControl ItemsSource{Binding Employees}AutoGenerateColumnsAddNew dxg:TreeListControl.Viewdxg:TreeListView KeyFieldNameID ParentFieldNameParentIDAutoWidthTrue AutoExpandAllNodesTrue //dxg:TreeListControl.View /dxg:TreeListControl 运行程序
http://www.dnsts.com.cn/news/224840.html

相关文章:

  • 房地产网站制作网站开发_运行及维护
  • 小型网站制作专业团队建设实施方案
  • 天津专业网站设计报价小型网吧网络设计方案
  • 网站点击量在哪里看手机网站 自适应
  • 淄博做网站58同城dedecms部署两个网站
  • 外网视频网站做泥声控设计网站设计网站
  • 建网站英文苏州工业园区建设局网站
  • 网站keywordswordpress 问答系统
  • 西安企业网站设计哪家专业网站安全建设方案报告
  • 卢氏县网站建设推广一个基于php网站开发课题设计的业务流程描述
  • 谷歌收录网站杭州短视频营销
  • 柬埔寨网赌网站开发公司网站域名如何建立
  • 网页设计茶叶网站建设动易 网站顶部导航 sitefactory
  • 做网站切图的原则是什么网站建设 外包
  • 南山网站建设公司wordpress打开有背景音乐
  • 网站怎么做免费推广方案免费企业名录
  • vpsputty做网站网络营销推广方案书
  • 个性化网站定制价格如何注册公司邮箱帐号
  • 哪个网站做电商门槛最低wordpress个人博客前台模板下载
  • 做个购物网站设计店名logo
  • 长沙竞价网站建设报价国外网站建设官网
  • 模板网站 seowordpress企业模板下载
  • 网站监控怎么做app优化是什么意思
  • 学科主题资源网站的建设河北网站seo优化
  • 伪原创嵌入网站摄影网站的市场可行性
  • 网站开发中为什么有两个控制层网站建设相关关键词
  • 哈尔滨cms模板建站网站301重定向 权重转移
  • 云南省住房和建设厅网站电商网站建设好么
  • 网站动态效果用什么软件做的wordpress图片主题模板
  • 珠海建设局网站首页wordpress页底白