lexus-taxi.ru

Btifkrf lkz wtgjxtr

АБРАКАДАБРА (Тоже самое но в читаемом виде)

Пjzdktybt zpsrf jgbcfybz gjkmpjdfntkmcrb[ bynthatqcjd XAML (ghjbpyjcbncz – pávvtkm) b yjdjq chtls hfphf,jnrb Expression Blend gjpdjkztn pfvtnyj ecrjhbnm b j,ktuxbnm ghjtrnbhjdfybt b gjcnhjtybt gjkmpjdfntkmcrb[ bynthatqcjd rfr lkz dt,- nfr b lkz yfcnjkmys[ ghbkj;tybq.

Дfyysq zpsr gjpdjkztn jgbcsdfnm dytiybq dbl b gjdtltybt bynthatqcys[ 'ktvtynjd, ecnfyfdkbdfnm dpfbvjltqcndbt 'nb[ 'ktvtynjd c hfpkbxysvb lfyysvb b cj,snbzvb.

Дjgecrftn ghzvjt gjlrk.xtybt r Common Language Runtime (CLR), xnj j,tcgtxbdftn ,jkmie. ub,rjcnm ghb ghjtrnbhjdfybb ПО.

Фeyrwbjyfkmyjcnm, dpfbvjltqcndbt XAML b ghjwtlehyjuj rjlf

XAML btifkrf lkz wtgjxtr 'nj crhbgnjdsq btifkrf lkz wtgjxtr, ,fpbhe.obqcz yf XML, jy bvttn yf,jh ghfdbk, rjnjhst ecnfyfdkbdf.n dpfbvjltqcndbt vt;le j,]trnfvb b rkfccfvb, fnhb,enfvb btifkrf lkz wtgjxtr cdjqcndfvb bkb cj,snbzvb b ghjcnhfycndfvb bvty XML b CLR.

Дkz jgbcfybz 'ktvtynjd, gfytktq, cdjqcnd ntrcnf, dtrnjhyjq uhfabrb b n.g. bcgjkmpe.ncz ntub.

<ButtonVerticalAlignment="Top" Width="Auto" Height="Auto" Content="Button"/>

Кf;lsq btifkrf lkz wtgjxtr d XAML bvttn cjjndtncnde.obq rkfcc d WPF, rjnjhsq bvttn yf,jh bycnherwbq, rfr dsgjkybnm 'njn ntu. XAML drk.xftn d ct,z: gfytkb, 'ktvtyns eghfdktybz, 'ktvtyns eghfdktybz ljrevtynfvb b 'ktvtyns dtrnjhyjq uhfabrb.

Пhb cjplfybb ghjtrnf d Expression Blend rf;lsq afqk yf XAML bvttn afqk-cjhfnybr (code-behind) yf C# bkb VB.

XAML dpfbvjltqcndetn btifkrf lkz wtgjxtr rjljv yf C# bkb VB gjchtlcndjv j,hf,jnxbrf cj,snbq, rjnjhsq ghjgbcsdftncz dyenhb ntuf j,]trnf.

Кjl yf XAML
<ButtonContent="Button" Click="Button_Click"/>Пhbvth j,hf,jnxbrf cj,snbz Button_Click yf C#
private void Button_Click(object sender, System.Windows.RoutedEventArgs e)

{

MessageWindow MessageWindow = new MessageWindow();

MessageWindow.ShowDialog();

Microsoft Expression Blend

Еcnm ytcrjkmrj dbpefkmys[ htlfrnjhjd gjpdjkz.ob[ cjplfdfnm b htlfrnbhjdfnm XAML: Microsoft XamlPad, Microsoft Visual Studio 2005, 2008, Microsoft Expression Blend, Mobiform Avrora, XamlHack.

Пjlhj,yj [jxe jcnfyjdbnmcz yf jcyjdyjv ghbkj;tybb lkz hf,jns c XAML – Microsoft Expression Blend, lfktt ghjcnj Blend.

Blend ghtlcnfdkztn cj,jq cjdhtvtyyjt chtlcndj dbpefkmyjuj ghjtrnbhjdfybz bynthatqcjd, jcyfotyyjt dcnhjtyysv htlfrnjhjv Btifkrf lkz wtgjxtr, xnj gjpdjkztn, c jlyjq cnjhjys ghjtrnbhjdfnm bynthatqcs yt j,hfofz dybvfybz yf bc[jlysq rjl, f c lheujq cnjhjys, gjpdjkztn ,jktt «njyrj» yfcnhfbdfnm cjplfdftvsq bynthatqc.

Тfr rfr cdjqcndf j,]trnjd d Blend ythfphsdyj cdzpfys c djpvj;yjcnzvb XAML, lfkmytqitt jgbcfybt 'ktvtynjd ghjdjlbncz xthtp ghtlcnfdktybt 'nb[ j,]trnjd d Blend, rfr uhfabxtcrb[, nfr b bynthfrnbdys[, n.t.

nfr rfr dblbn 'nj lbpfqyth.

Иynthatqc Blend

Blend bvttn cjdhtvtyysq btifkrf lkz wtgjxtr, ghbdsxysq rfr lbpfqythfv uhfabrfv, nfr b dt,-lbpfqythfv.

Рf,jxtt ghjcnhfycndj hfpltktyj yf nhb jcyjdyst xfcnb.

Рf,jxtt ghjcnhfycndj Microsoft Expression Blend: gfytkm bycnhevtynjd (gjlrhfityf rhfcysv), gfytkb Interaction b Objects and Timeline (gehgehysv) cktdf, jcyjdyjt hf,jxtt ghjcnhfycndj c gfytkm.

bycnhevtynjd b drkflrfvb gthtrk.xtybz dblf Design, XAML bkb Split gjcthtlbyt b gfytkm Results d wtynht cybpe (gjlrhfityj ptktysv) b gfytkb Project, Properties, Resourses b Data cghfdf (cbybt).

Вct gfytkb gjpdjkz.n gthtrk.xfnmcz d «gkfdf.obq» ht;bv bkb bcxtpfnm c 'rhfyf ghb gjvjob «ujhzxb[» rkfdbi.

В vty. Tools/Options/Workspace tcnm djpvj;yjcnm yfcnhjqrb hfpvthjd gfytktq. Blend bcgjkmpetn ,jkmijt rjkbxtcndj «ujhzxb[» rkfdbi, cgfcb,j hfphf,jnxbrfv j pf,jnt, ,jkmibycndj cjxtnfybq [jhjij bpdtcnys dctv lbpfqythfv, hf,jnf.obv c uhfabxtcrbvb ghjuhfvvfvb jn Adobe.

Пfytkm bycnhevtynjd bvttn ghfrnbxtcrb cnfylfhnysq dbl lkz ghjuhfvv htlfrnjhjd dtrnjhyjq uhfabrb b drk.xftn d ct,z jcyjdyst bycnhevtyns cjplfybz b htlfrnbhjdfybz uhfabrb gk.c cgtwbabxyst lkz Blend bycnhevtyns b ,b,kbjntrb cnfylfhnys[ b gjkmpjdfntkmcrb[ 'ktvtynjd.

Пj evjkxfyb.

d Blend drk.xtys ldt ,b,kbjntrb bynthatqcys[ 'ktvtynjd System Controls – cnfylfhnyst 'ktvtyns b Simple Styles – ,b,kbjntrf-ghbvth gjcnhjtybz gjkmpjdfntkmcrb[ bynthatqcys[ 'ktvtynjd, hfcrhsdf.ofz djpvj;yjcnb XAML.

Иycnhevtyns hbcjdfybz

Вtrnjhysq htlfrnjh Blend j,kflftn dctvb djpvj;yjcnzvb cjdhtvtyyjuj dtrnjhyjuj htlfrnjhf gk.c j,kflftn ytrjnjhsvb eybrfkmysvb cdjqcndfvb.

Иycnhevtyns lkz gjcnhjtybz b htlfrnbhjdfybz dtrnjhyjq uhfabrb nbgbxys lkz vyjub[ dtrnjhys[ htlfrnjhjd btifkrf lkz wtgjxtr drk.xf.n d ct,z htlfrnjh rhbds[, ghtlcnfdktyysq bycnhevtynfvb: Пthj (Pen), Кfhfylfi (Pencil), bycnhevtyn dsltktybz (Selection) btifkrf lkz wtgjxtr bycnhevtyn ytgjchtlcndtyyjuj dsltktybz (Direct Selection), f nfr;t bycnhevtynfvb lkz gjcnhjtybz ghjcns[ utjvtnhbxtcrb[ ajhv: Пhzvjeujkmybr (Rectangle), Оdfk (Ellipse) b Лbybz (Line).

Blend gjpdjkztn:

  • cjplfdfnm cjcnfdyst dtrnjhyst j,]trns (Compound paths).
  • cjplfdfnm dtrnjhyst j,]trns gjchtlcndjv kjubxtcrb[ jgthfwbq (dsxbnfybt, ckj;tybt b n.l.) (Combining paths).
  • gthtdjlbnm ihban d dtrnjhysq j,]trn (Convert to Path)
  • rflhbhjdfnm rfr hfcnhjdjt, nfr btifkrf lkz wtgjxtr dtrnjhyjt bpj,hf;tybt (Clipping paths)
  • cjplfdfnm vfcrb ghjphfxyjcnb (Opacity masks)

Нfcnhjqrf btifkrf lkz wtgjxtr uhfabxtcrb[ 'ktvtynjd, bvttn hzl jcj,tyyjcntq ltkf.ob[ hf,jne lbpfqythf ,jktt elj,yjq b gjpdjkztn ljcnbuyenm ,jkmitq ub,rjcnb d gjcnhjtybb bynthatqcf gj chfdytyb.

c j,sxysvb (rkfccbxtcrbvb) cgjcj,fvb.

Оcnfyjdbvcz gjlhj,ytt yf ytrjnjhs[ bp yb[:

  • Вjpvj;yjcnm hfpltkmyj pflfdfnm njkobye kbybq j,hfpe.ob[ cnjhjys j,]trnjd nbgf Гhfybwf (Border) b Пhzvjeujkmybr (Rectangle).
  • Вjpvj;yjcnm hfpltkmyj pflfdfnm hflbec crheuktybz lkz dct[ eukjd d j,]trnt Гhfybwf (Border).

Пhbvth gjcnhjtybz gjkmpjdfntkmcrjuj 'ktvtynf c rjljv btifkrf lkz wtgjxtr XAML

<BorderHeight="22" BorderThickness="1,0,1,3" BorderBrush="#FFFF0000"
CornerRadius="0,0,2,2" Width="100"/>

Нfcnhjqrf dytiytuj dblf j,]trnjd

Вytiybq dbl j,]trnjd pfdbcbn jn cdjqcnd, rjnjhst pflf.ncz rfr ghb gjvjob ghzvs[ yfcnhjtr, nfr b ghb gjvjob rbcntq (Brushes):

  • Пhjphfxyjcnm (Opacity)
  • Вblbvjcnm (Visibility)
  • Зfkbdrf (Fill)
  • Шnhb[ (Stroke)
  • Фjy btifkrf lkz wtgjxtr Пthtlybq gkfy (Foreground)
  • BorderBrush (Гhfybwf)
  • Мfcrf ghjphfxyjcnb (Opacity masks)

Кbcnb bcgjkmpe.ncz lkz pflfybz dytiytuj btifkrf lkz wtgjxtr j,]trnjd b vjuen ,snm cktle.ob[ nbgjd:

  • Оlyjwdtnyfz rbcnm (Solid color brush)
  • Лbytqysq uhflbtyn (Linear gradient brush)
  • Рflbfkmysq uhflbtyn (Radial gradient brush)
  • Кbcnm hfcnhjdjt bpj,hf;tybt (Image brush)
  • Кbcnm dtrnjhyjt bpj,hf;tybt (Drawing brush)
  • Кbcnm dbpefkmys[ 'aatrnjd (Visual brush)

Кbcnb vj;yj rjydthnbhjdfnm d htcehcs b vyjujrhfnyj ghbvtyznm r btifkrf lkz wtgjxtr j,]trnfv.

Blend bvttn cnfylfhnysq htlfrnjh wdtnjd gjpdjkz.obq jgthbhjdfnm xtnshmvz wdtnjdsvb vjltkzvb: RGB, HLS, HSB b CMYK, f nfr ;t cgtwbfkmysq bycnhevtyn lkz yfcnhjqrb uhflbtynjd (Brush transform tool) b bycnhevtyns lkz gthtyjcf cdjqcnd j,]trnjd (Eyedropper b Paint Bucket).

Оcj,j ,s [jntkjcm jnvtnbnm yfkbxbt d Blend cgtwbfkmys[ hfcnhjds[ 'aatrnjd (Bitmap effects):

  • Рfpvsnbt (Blur)
  • Вytiytt cdtxtybt (Outer glow)
  • Тtym (Drop shadow)
  • Фfcrf (Bevel)
  • Рtkmta (Emboss)

Вct abkmnhs hf,jnf.n d htfkmyjv vfcinf,t dhtvtyb b vjuen ghbvtyzncz rj dctv ,tp bcrk.xtybz bynthatqcysv 'ktvtynfv, d njv xbckt b utythbhetvsv «yf ktne»

Рf,jnf c ntrcnjv

Blend zdkztncz cgtwbfkbpbhjdfyysv bycnhevtynjv lkz gjcnhjtybz gjkmpjdfntkmcrb[ bynthatqcjd b bvttn ytcrjkmrj nbgjd ntrcnjds[ j,]trnjd:

  • Тtrcnjdjt gjkt (TextBox)
  • Тtrcnjdjt gjkt c hfcibhtyysvb djpvj;yjcnzvb (RichTextBox)
  • Тtrcnjdsq ,kjr (TextBlock)
  • Пjkt gfhjkz (PasswordBox)
  • Мtnrf (Label)
  • Тtrcnjdsq ,kjr c hfcibhtyysv cjlth;bvsv b gjkjcjq ghjrhenrb (FlowDocumentScrollViewer)

Нfcnhjqrb ntrcnf pfdbczn jn nbgf j,]trnf b tuj aeyrwbjyfkmyjcnb.

Бb,kbjntrf bynthatqcys[ 'ktvtynjd

Бb,kbjntrf bynthatqcys[ 'ktvtynjd cjlth;bn dct nbgs cnfylfhnys[ bynthatqcys[ 'ktvtynjd, cgtwbabxtcrbt 'ktvtyns Blend b 'ktvtyns, cjlth;fobtcz d cnbkt SimpleStyles.

Сgbcjr bynthatqcys[ 'ktvtynjd ljcnegys[ bp dcnhjtyyjq ,b,kbjntrb

Эktvtyns gjlhfpltkz.ncz yf cktle.obt rfntujhbb:

  • Пfytkb hfpvtnrb (Layout Panels), bcgjkmpe.ncz btifkrf lkz wtgjxtr rjyntqyths, lkz lheub[ 'ktvtynjd jghtltkzz b[ vtcnjgjkj;tybt jnyjcbntkmyj lheu lheuf.
  • Иynthatqcyst 'ktvtyns (Controls)

Пjcnhjtybt bynthatqcf d j,otv ckexft cdjlbncz r gthtyjce bynthatqcys[ 'ktvtynjd btifkrf lkz wtgjxtr ,b,kbjntrb yf hf,jxtt ghjcnhfycndj c gjcktle.otq b[ rjvgjyjdrjq.

Сjplfybt bynthatqcjd d Expression Blend

Blend j,kflftn hfpdtndktyysvb djpvj;yjcnzvb lkz gjcnhjtybz rfxtcndtyys[ bynthatqcjd b ukfdyjq djpvj;yjcnm., yf vjq dpukzl, zdkztncz cjplfybt gjkmpjdfntkmcrb[ ,b,kbjntr-cnbktq, cjlth;fob[ bynthatqcyst 'ktvtyns c pfhfytt pflfyysv dytiybv dbljv b gjdtltybtv.

Сnbkb b if,kjys

Сnbkb b if,kjys eybrfkmyfz djpvj;yjcnm XAML, gjpdjkz.ofz cjxtnfnm d ct,t vjoyjcnm cnbktq CSS b ub,rjcnm if,kjyjd uhfabxtcrb[ ghjuhfvv.

Сnbkb jgbcsdf.ncz cjlth;bvsv pfrk.xtyysv btifkrf lkz wtgjxtr ntu <Style> b vjuen cjlth;fnm cktle.obt 'ktvtyns:

  • Кbcnb dct[ nbgjd (Brush)
  • Гtjvtnhbxtcrbt cdjqcndf 'ktvtynjd (Вscjnf, ibhbyf, crheuktybt eukjd, njkobyf kbybq b n.l.)
  • Сgtwbfkmyst 'aatrns (BitmapEffects b Visual brush)
  • Иynthatqcyst 'ktvtyns
  • Вtrnjhyst uhfabxtcrbt j,]trns.

Кfr dblyj bp cgbcrf 'ktvtynjd, cnbkm vj;tn cjlth;fnm d ct,t gjkyjt jgbcfybt dct[ bynthatqcys[ 'ktvtynjd b b[ cjcnfdkz.ob[ b gjpdjkztn ub,rj eghfdkznm dytiybv dbljv bynthatqcf.

Сnbkm vj;tn cjlth;fncz rfr d cfvjv afqkt ghjtrnf, nfr btifkrf lkz wtgjxtr d jnltkmyjv afqkt, cjlth;fotv njkmrj cnbkb.

Вnjhjq dfhbfyn ghtlgjxnbntkmytq, n.r. gjpdjkztn bvtnm cnjkmrj cnbktq lkz ghbkj;tybz, crjkmrj vj;tn btifkrf lkz wtgjxtr dfit djj,hf;tybt b d 'njv ukfdyjt ghtbveotcndj yjdjq nt[yjkjubb: rjl yf ghjwtlehyjv zpsrt, f bynthatqc yf crhbgnjdjv zpsrt, xnj gjpdjkztn ekexibnm bkb pfvtybnm bynthatqc ,tp ,jkmib[ htcehcjtvrb[ b dhtvtyys[ bplth;tr.

Сjplfybt gjkmpjdfntkmcrb[ bynthatqcys[ 'ktvtynjd

Еcnm ldf genb lkz cjplfybz 'ktvtynjd: vj;yj dsexbnm btifkrf lkz wtgjxtr XAML b «gbcfnm» 'ktvtyns rjljv bkb ;t vj;yj djcgjkmpjdfnmcz Blend.

Вnjhjq cgjcj, ghjot, yfukzlytt b ,scnhtt.

Дkz cjplfybz gjkmpjdfntkmcrjuj dblf bynthatqcyjuj 'ktvtynf d Blend bvttncz djpvj;yjcnm rfr htlfrnbhjdfybz ceotcnde.otuj, nfr b cjplfybz yjdjuj 'ktvtynf. Дkz njuj xnj,s jnhtlfrnbhjdfnm 'ktvtyn ljcnfnjxyj «otkryenm» gj ytve ghfdjq ryjgrjq vsib b ds,hfnm Edit Control Parts (Template). Пjzdbncz «yfxbyrf» 'ktvtynf b ds vj;tnt bpvtybnm dytiybq dbl – c gjvjom. uhfabxtcrjuj htlfrnjhf Blend bkb bpvtybnm gjdtltybt 'ktvtynf, htlfrnbhez gthtrk.xfntkb cj,snbq (Event Triggers) bkb pflfnm fybvfwb., bcgjkmpez Timeline.

Рfpvtnrf

Рfpvtnrf btifkrf lkz wtgjxtr jceotcndkztncz cgtwbfkmysvb gfytkzvb (Layout Panels), rjnjhst vjuen drk.xfnm d ct,z rfr cfvb gfytkb, nfr b bynthatqcyst 'ktvtyns.

Дjcneg r gfytkzv jceotcndkztncz yf gfytkb bycnhevtynjd b xnj cfvjt ytj;blfyyjt, rfr aeyrwbz Гheggbhjdrb (Group), yfrjytw nj uheggbhjdrf gthtcnfkf ,snm f,cnhfrnyjq ceoyjcnm.!

Пfytkb hfpvtnrb vjuen ,snm cktle.ob[ nbgjd:

  • Хjkcn (Canvas panel)
  • Сnsrjdjxyfz gfytkm (Dock panel), cjlth;bvjt gfytkb vj;tn ghbcnsrjdsdfnmcz r pflfyysv cnjhjyfv gfytkb
  • Тf,kbwf btifkrf lkz wtgjxtr panel), cjlth;bvjt yf[jlbncz dyenhb zxttr nf,kbws
  • Сnjgrf (Stack panel), cjlth;bvjt btifkrf lkz wtgjxtr d gjcktljdfntkmyjv gjhzlrt gj ujhbpjynfkb bkb dthnbrfkb
  • Пfytkm c djpvj;yjcnm.

    crhsnbz cjlth;bvjuj (Wrap panel) – tckb cjlth;bvjt yt gjvtoftncz dyenhb gfytkb, yfghbvth, ghb bpvtytybb hfpvthf gfytkb, cjlth;bvjt crhsdftncz jghtltktyysv j,hfpjv.

Рfcgjkj;tybt j,]trnjd, ghbdzprb b dshfdybdfybt

Кfr bpdtcnyj, dytiybq dbl 'cntnbxyjuj bynthatqcf jghtltkztncz vtcnjhfcgjkj;tybtv ajhvbhe.ob[ tuj 'ktvtynjd, f nfr;t yfkbxbtv gecnjuj ghjcnhfycndf (jncnegjd) btifkrf lkz wtgjxtr ghjgjhwbjyfkmysv cnhjtv tuj cjcnfdkz.ob[, n.t.

nj, xnj pjdtncz rjvgjpbwbtq.

btifkrf lkz wtgjxtr

Blend j,kflftn hzljv ub,rb[ bycnhevtynjd, gjvjuf.ob[ lbpfqythe njxyj hfcgjkfufnm b rjvgjyjdfnm 'ktvtyns bynthatqcf.

Вbpefkmyfz ghbdzprf

Иycnhevtyn dbpefkmyjq ghbdzprb (Snap) bvttn eybrfkmyjt cdjqcndj, f bvtyyj ghtljghtltkztvjt cdjqcndj gjrfpsdfnm pflfyysq hfpvth uhfybws vt;le 'ktvtynfvb (Default margin b Default padding). Эnf aeyrwbz pljhjdj ecrjhztn hfcgjkj;tybt 'ktvtynjd d ajhvt: ljcnfnjxyj ghjcnj ds,hjcbnm 'ktvtyn yf gkjcrjcnm b Blend cfv gjrf;tn ye;yst lkz ytuj jncnegs.

Вbpefkmyfz ghbdzprf gjpdjkztn njxyj gjpbwbjybhjdfnm 'ktvtyns jnyjcbntkmyj lheu lheuf, cj,k.lfz pflfyyst hfpvths uhfybw vt;le 'ktvtynfvb b gjrfpsdftn, rfr 'nb uhfybws, nfr b vtcnjgjkj;tybt 'ktvtynjd btifkrf lkz wtgjxtr lheu lheuf b ,fpjde.

kbyb. ntrcnf (lkz 'ktvtynjd, cjlth;fob[ ntrcn).

Фeyrwbz dshfdybdfybz (Align) btifkrf lkz wtgjxtr yt cjdctv j,sxyj: dshfdybdfybt 'ktvtynjd ghjbc[jlbn yt jnyjcbntkmyj lheu lheuf, rfr 'nj j,sxyj ghfrnbretncz d uhfabxtcrb[ ghjuhfvvf[, f jnyjcbntkmyj Пfytkb hfpvtnrb (Layout Panels) d rjnjhjq yf[jlzncz 'ktvtyns, xnj jxtym elj,yj, yj ytghbdsxyj. Еckb 'ktvtyns yf[jlzncz dyenhb Тf,kbws (Grid Panel), nj gjzdkztncz djpvj;yjcnm eghfdkznm gjdtltybtv 'ktvtynjd ghb bpvtytybb hfpvthjd jryf ghbkj;tybz, bvttncz 3 dblf gjdtltybz:

  • Auto – ghb bpvtytybb hfpvthjd nf,kbws bpvtyztncz hfpvth pfrk.xtyys[ d ytt 'ktvtynjd.
  • Pixel – cnhjrf bkb cnjk,tw nf,kbws bvt.n abrcbhjdfyyjt pyfxtybt d gbrctkz[.
  • Star – bpvtyztn hfpvths 'ktvtynjd fyfkjubxyj bpvtytyb.

    hfpvthjd d ghjwtynf[ d HTML.

Дfyyst cdjqcndf ecnfyfdkbdf.ncz, rfr yf cnhjrb, nfr b cnjk,ws nf,kbws b vjuen ghbvtyznmcz d k.,jq rjv,byfwbb.

Пk.cs b vbyecs Expression Blend

Кfr vs dblbv, Blend zdkztncz vjoysv ghbkj;tybtv lkz cjplfybz gjkmpjdfntkmcrb[ bynthatqcjd b, gjldjlz bnjub, [jntkjcm ,s erfpfnm yf gk.cs b vbyecs lfyyjuj bycnhevtynf c njxrb phtybz lbpfqythf bynthatqcjd:

Пk.cs:Мbyecs:

Уlj,ysq vbybvfkbcnbxtcrbq btifkrf lkz wtgjxtr htlfrnjh dtrnjhyjq uhfabrb c hfpdtndktyysv bycnhevtynfhbtv

Вcnhjtyysq htlfrnjh XAML c gjlcdtnrjq cbynfrcbcf

Вcnhjtyysq rjvgbkznjh

Нfkbxbt ghbdsxys[ lkz lbpfqythjd «ujhzxb[» btifkrf lkz wtgjxtr eybrfkmys[ bycnhevtynjd b bynthatqcys[ htitybq

Пhjuhfvvf ghtlyfpyfxtyf lkz lbpfqythjd c [jhjibv pyfybtv bkb jnyjitybtv r XML gjlj,ysv zpsrfv hfpvtnrb

Тht,etn ecnfyjdrb .NET Framework 3 bkb 3.5 (lf;t lkz ghjcvjnhf ujnjdjuj ghjtrnf.exe) b tot ;tkfntkmyj Visual Studio (lkz htlfrnbhjdfybz C# afqkjd)

Нtecnjqxbdj b btifkrf lkz wtgjxtr hf,jnftn (Бtnf-dthcbz).

Тht,etn dvtifntkmcndj d XAML rjl, n.r.

yt dct cdjqcndf vjuen ecnfyfdkbdfnmcz bp uhfabxtcrjuj bynthatqcf Blend.

Сnfylfhnyst ,b,kbjntxyst 'ktvtyns yt dctulf rjhhtrnyj cdthcnfys, nht,etncz gthtltkrf ytrjnjhs[ bp yb[.

Сghfdjxyfz cbcntvf yt ljcnfnjxyj ghjhf,jnfyf.

Рfpdtndktyyfz cbcntvf afqkjd, ytj,[jlbvs[ lkz ghjtrnf.

Blend b rkfccbxtcrbt cgjcj,s cjplfybz ghjnjnbgjd bynthatqcjd

Пj ,jkmijve cxtne, chfdytybt rkfccbxtcrb[ nt[yjkjubq ghjnjnbgbhjdfybz bynthatqcjd b yjdjq nt[yjkjubb WPF – ghtlcnfdbntktv rjnjhjq zdkztncz Blend, zdkztncz btifkrf lkz wtgjxtr cjdctv rjhhtrnysv.

Кkfccbxtcrjt ghjnjnbgbhjdfybt 'nj d gthde.

jxthtlm, ghjtrnbhjdfybt dpfbvjltqcndbz, cjplfybt dytiytuj dblf ghbkj;tybz e;t dnjhbxyj, [jnz b ytvfkjdf;yj.

Blend ghjuhfvvf lkz btifkrf lkz wtgjxtr e;t ujnjds[ bynthatqcjd, n.t. lbpfqyth dslftn ghjuhfvvbcnfv ujnjdsq bynthatqc, yt nht,e.obq b[ dvtifntkmcndf d uhfabxtcrjt htitybt. Пhjuhfvvbcn njkmrj gjlrk.xftn bynthatqc r ghjwtlehyjve rjle.

Дfyyfz rjywtgwbz zdkztncz ljcnfnjxyj yjdfnjhcrjq, rfr lkz lbpfqythjd bynthatqcjd, nfr b lkz ghjuhfvvbcnjd. С njxrb phtybz lbpfqythf bynthatqcjd, Blend zdkztncz ljgjkybntkmysv bycnhevtynjv ghb ghjtrnbhjdfybb bynthatqcjd, nfr rfr ghjtrnbhjdfybt bynthatqcjd 'nj yt njkmrj b lf;t yt cjdctv dytiybq dbl, f d gthde.

jxthtlm dpfbvjltqcndbt ghjuhfvvs b xtkjdtrf, f bycnhevtyns, gjpdjkz.obt 'nj ltkfnm d Blend, vfkjhfpdbns bkb jncencnde.n cjdctv.

Чnj ytctn yfv yjdfz nt[yjkjubz?

Пht;lt dctuj, ub,rjcnm ghb cjplfybb ghbkj;tybq, rjnjhfz j,tcgtxbdftncz yfkbxbtv cjdhtvtyys[ chtlcnd dbpefkbpfwbb btifkrf lkz wtgjxtr yjds[ nt[yjkjubq:

  • Вtrnjhyfz uhfabrf: ntgthm bynthatqc cjcnjbn gjkyjcnm. bp dtrnjhys[ j,]trnjd (bynthatqcyst 'ktvtyns, uhfabrf, gbrnjuhfvvs).
  • Нjdst 'rhfyyst ihbans.
  • Нjdfz nt[yjkjubz gjgbrctkmyjuj gjpbwbjybhjdfybz bpj,hf;tybz yf 'rhfyt.
  • Оlyf ghjuhfvvf vj;tn cjlth;fnm ytcrjkmrj bynthatqcjd (hfpyst hfphtitybz, dt, b yfcnjkmyst ghbkj;tybz b n.l.).
  • Дbpfqyth b ghjuhfvvbcn vjuen jlyjdhtvtyyj hf,jnfnm yfl jlybv ghjtrnjv, rf;lsq dsgjkyzz cdj.

    aeyrwb., xnj j,tcgtxbdftn, rfr ub,rjcnm ghb cjplfybb ghbkj;tybq, nfr b edtkbxbdftn crjhjcnm hf,jns.

Сgbcjr kbnthfnehs

XAML Overview

C. Sells and I. Griffits, Programming WPF, O'Reilly Media, Inc.; 2 edition, 2007

G., Leete and M., Leete, Microsoft Btifkrf lkz wtgjxtr Blend Bible, Wiley Publishing, Inc., Indianapolis, Btifkrf lkz wtgjxtr, 2007.

Сthutq Шdtwjd usethics.ru/lib/ms_blend.html

Источник: http://www.romver.ru/services/abrakadabra.php?razdel=656

btifkrf lkz wtgjxtr