windows - How i can made TextBox like this -


enter image description here

how can made textbox in windows phone 8.1

you can create usercontrol has image , textbox in it. you'd need declare string text dependencyproperty , string imagesource dependencyproperty data bind to. xaml this:

<grid>     <grid.columndefinitions>         <columndefinition width="auto" />         <columndefinition />     </grid.columndefinitions>     <image source="{binding imagesource, relativesource={relativesource          ancestortype={x:type yourprefix:yourusercontrol}}}" />     <textbox grid.column="1" text="{binding text, relativesource={relativesource          ancestortype={x:type yourprefix:yourusercontrol}}}" /> </grid> 

if you're not familiar creating dependencypropertys, can find out how in custom dependency properties page on msdn.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -