中文亚洲精品无码_熟女乱子伦免费_人人超碰人人爱国产_亚洲熟妇女综合网

當(dāng)前位置: 首頁(yè) > news >正文

超級(jí)seo外鏈seo的推廣技巧

超級(jí)seo外鏈,seo的推廣技巧,新能源汽車價(jià)格及圖片,網(wǎng)站開(kāi)發(fā) 論文WPF Property Grid控件使用屬性定義定義如何做和顯示 本教程示范如何綁定WP Property Grid控件到數(shù)據(jù)和創(chuàng)建屬性定義。 執(zhí)行如下步驟 第一步-創(chuàng)建屬性定義 添加PropertyGridControl組件到項(xiàng)目。 打開(kāi)工具箱在vs,定位到DX.23.1: Data 面板,選擇Prope…

WPF Property Grid控件使用屬性定義定義如何做和顯示

本教程示范如何綁定WP Property Grid控件到數(shù)據(jù)和創(chuàng)建屬性定義。

執(zhí)行如下步驟

第一步-創(chuàng)建屬性定義

添加PropertyGridControl組件到項(xiàng)目。

打開(kāi)工具箱在vs,定位到DX.23.1: Data 面板,選擇PropertyGridControl工具箱選項(xiàng),拖動(dòng)到窗口。

右鍵點(diǎn)擊Property Grid選擇Layout | Reset All填充全部窗口:

第二步-創(chuàng)建數(shù)據(jù)對(duì)象

創(chuàng)建數(shù)據(jù)對(duì)象和設(shè)置到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 屬性綁定數(shù)據(jù)

<Windowxmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:dxprg="http://schemas.devexpress.com/winfx/2008/xaml/propertygrid" x:Class="PG_lesson1.MainWindow"Title="MainWindow" Height="250" Width="525"><Grid><dxprg:PropertyGridControl SelectedObject="{Binding}" /></Grid>
</Window>

步驟四-創(chuàng)建屬性定義

添加屬性定義到Property Grid.設(shè)置PropertyGridControl.ShowProperties屬性ShowPropertiesMode.WithPropertyDefinitions,隱藏未定義屬性:

<Windowxmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:sys="clr-namespace:System;assembly=mscorlib"xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"xmlns:dxprg="http://schemas.devexpress.com/winfx/2008/xaml/propertygrid" x:Class="PG_lesson1.MainWindow"Title="MainWindow" Height="250" Width="525"><Grid><dxprg:PropertyGridControl SelectedObject="{Binding}" ShowProperties="WithPropertyDefinitions" ><dxprg:PropertyDefinition Type="sys:String" /><dxprg:PropertyDefinition Path="Gender" /><dxprg:PropertyDefinition Path="BirthDate" /></dxprg:PropertyGridControl></Grid>
</Window>

運(yùn)行程序看到結(jié)果

http://www.risenshineclean.com/news/56559.html

相關(guān)文章:

  • 做設(shè)計(jì)的有什么網(wǎng)站西安網(wǎng)絡(luò)推廣seo0515
  • 星子網(wǎng)今天最新新聞北京百度推廣排名優(yōu)化
  • 做商城的網(wǎng)站用什么框架好網(wǎng)絡(luò)營(yíng)銷五個(gè)主要手段
  • wordpress 重裝win7優(yōu)化工具哪個(gè)好用
  • wordpress手機(jī)登錄跳轉(zhuǎn)頁(yè)面模板商丘seo教程
  • 清苑區(qū)建設(shè)網(wǎng)站找那家公司可以商用的電視app永久軟件
  • 可信賴的做網(wǎng)站發(fā)帖子最好的幾個(gè)網(wǎng)站
  • 做搜狗手機(jī)網(wǎng)站快速網(wǎng)站開(kāi)發(fā)與設(shè)計(jì)
  • 網(wǎng)站做自簽發(fā)證書(shū)黃金網(wǎng)站軟件免費(fèi)
  • dede怎么做網(wǎng)站日記搜索點(diǎn)擊軟件
  • 一般做網(wǎng)站是用什么程序做的烏魯木齊seo
  • 企業(yè)建設(shè)網(wǎng)站個(gè)人總結(jié)報(bào)告seo網(wǎng)站優(yōu)化多少錢
  • 平臺(tái)電商網(wǎng)站開(kāi)發(fā)5月疫情最新消息
  • 百度網(wǎng)盟推廣怎么選擇投放網(wǎng)站網(wǎng)絡(luò)推廣引流是做什么的
  • 配音秀做素材網(wǎng)站惠州seo推廣公司
  • 響應(yīng)式門(mén)戶網(wǎng)站站長(zhǎng)推薦黃色
  • 找兼職做酒店網(wǎng)站瀏覽器廣告投放
  • 自我介紹ppt配圖上海搜索引擎優(yōu)化seo
  • 公司品牌推廣方案范文廣西壯族自治區(qū)在線seo關(guān)鍵詞排名優(yōu)化
  • 免費(fèi)做微網(wǎng)站google權(quán)重查詢
  • 高端網(wǎng)站建設(shè)北京企業(yè)網(wǎng)站營(yíng)銷
  • 哪家微網(wǎng)站建設(shè)網(wǎng)絡(luò)營(yíng)銷優(yōu)化推廣
  • 做網(wǎng)站資訊運(yùn)營(yíng)推廣運(yùn)營(yíng)
  • 網(wǎng)站的會(huì)員功能怎么做推廣普通話手抄報(bào)模板
  • 手機(jī) 網(wǎng)站 微信 源碼微信朋友圈廣告怎么推廣
  • 模仿網(wǎng)站怎么防止侵權(quán)搜狗搜索引擎優(yōu)化論文
  • 做企業(yè)網(wǎng)站注意事項(xiàng)廣告軟文200字
  • htnl5 做的視頻網(wǎng)站萬(wàn)網(wǎng)域名續(xù)費(fèi)
  • 做網(wǎng)站優(yōu)化選阿里巴巴還是百度今日頭條10大新聞
  • 傳奇輔助網(wǎng)站怎么做廣告關(guān)鍵詞有哪些類型