This question is locked. New answers and comments are not allowed.
Hello,
I have a navbar on the MainFrame.xaml. I have a TileView on the WelcomeScreen.xaml.
The navbar has a Setup button that when clicked I want to maximise a tile in the tileview of WelcomeScreen.
I have tried this method which invoked the Messagebox successfully but did not change the tile size:
MainFrame.xaml.cs
WelcomeScreen.xaml.cs
Thanks for any help,
Hakki
I have a navbar on the MainFrame.xaml. I have a TileView on the WelcomeScreen.xaml.
The navbar has a Setup button that when clicked I want to maximise a tile in the tileview of WelcomeScreen.
I have tried this method which invoked the Messagebox successfully but did not change the tile size:
MainFrame.xaml.cs
private
void
SetupButton_Click(
object
sender, RoutedEventArgs e)
{
var wc =
new
WelcomeScreen();
wc.MaximiseSetup();
}
WelcomeScreen.xaml.cs
public
void
MaximiseSetup()
{
//successfully triggers
MessageBox.Show(
"Test"
);
//this doesn't
SetupTile.TileState = TileViewItemState.Maximized;
}
Thanks for any help,
Hakki