i tried set masterdetailpage display masterpage on tablet layout:
public mainpage() { initializecomponent(); if (device.idiom == targetidiom.phone) { this.masterbehavior = masterbehavior.popover; } else { this.masterbehavior = masterbehavior.split; } }
however, hamburger icon still displayed , when clicking on error saying can't change ispresented when setting split
. how override ispresented
property? trying bind method ispresentedchanged
, event fired after ispresented
value changed, not before - still exception.
i can't make comment, have had put answer.
can set ispresented = true, before set behaviour split?
as should make master page visible, , not hamburger icon.
Comments
Post a Comment