c# - Windows Phone 8.1 Runtime - how to make listbox longer length when selecting -
simplified xaml demonstrate problem, listbox.item's added in code behind (but not relevant question):
<grid height="200"> <grid.rowdefinitions> <rowdefinition height="60"/> </grid.rowdefinitions> <listbox x:name="lbpurpose" fontsize="28" /> </grid>
when listbox tapped, 1 row high (60 pixels set row definition). there property can set allow grow 200 pixels when in focus make scrolling through list easier - return original size when not in focus? it's dificult scroll through when 1 row displayed @ time.
thank you!
rookie mistake.......... wanted combo box , grid row height should have been auto. thanks!!
<grid height="200"> <grid.rowdefinitions> <rowdefinition height="auto"/> </grid.rowdefinitions> <combobox x:name="lbpurpose" fontsize="28"/> <grid>
Comments
Post a Comment