public setContent ( UIElement control ) : void | ||
control | UIElement | Sets the inner child contents of the page |
Результат | void |
/// <summary> /// push the given screen into the screen stack /// </summary> public void pushScreenOnStack(TopLevelPage nextScreen, String[] buttons, Color colour, UserControl content, String Subtitle) { nextScreen.setButtons(buttons); nextScreen.setTitleColour(colour); nextScreen.setContent(content); nextScreen.setSubtitle(Subtitle); popAll(); pushScreen(nextScreen); try { (content as Animatiable).AnimateIn(); } catch (NullReferenceException) { //Do nothing with this } }