i'm trying creat on windows phone,and windows forms used line of code "navigate" controls , buttons.
foreach (control item in this.controls) { if(item button) { item.tabstop = false; } } but how can same thing on windows phone 8.1, controls dont exist,and know "tabstop" button.isenabled!
item.isenabled = false; any ideia how can ? thanks!
a page can have 1 child uielement (uielement equivalent of control), use reference it:
uielement maincontrolonpage = this.content; usually, 1 child panel control of kind, such grid. use following loop through children of panel control:
foreach (uielement element in this.mainpagegrid.children) { // element }
Comments
Post a Comment