Friday, 15 June 2012

c# - How would you create a page like WP's Mail app's Compose screen? -



c# - How would you create a page like WP's Mail app's Compose screen? -

i'm new wp dev (and pretty much c# , silverlight in general) , i've been playing textboxes. found pretty can't scroll textbox control.

i've seen solutions on various blogs , stackoverflow posts, , popular 1 seems to embed textbox in scrollviewer, utilize code create current input line visible, this:

scrollviewer.scrolltoverticaloffset(textbox.actualheight);

this works okay if have relatively little textbox, if want create 1 takes quite bit of space, run problems keyboard covers bottom section, can't scroll top unless manually move cursor there, etc.

now compose page of mail service application seems perfectly: nice big space text entry keyboard never blocks input, can freely scroll through entire pane, works really. i've tried various combinations of scrollviewers , textboxes haven't had success in matching behavior.

any help?

the default apps not written in c# using controls accessible in sdk or on net. replication of mail service viewer , composer has been tried before rather un-successfully. (based on similar posts of apphub - old wp7 forum)

c# silverlight windows-phone-7 xaml windows-phone

No comments:

Post a Comment