You can change dynamically with c# the Image Source of an image with the following code
imageName.Source = new BitmapImage(new Uri("ms-appx:/path"));
Where
imageName = (yours image control name) path = (yours image path in the VS solution)
You can change dynamically with c# the Image Source of an image with the following code
imageName.Source = new BitmapImage(new Uri("ms-appx:/path"));
Where
imageName = (yours image control name) path = (yours image path in the VS solution)
One simple way to override the default style of an element on Windows Store aps can be done by changing the default styles. So first of all google for those styles and when you find them just edit and paste in
App.xaml
For example i wanted to make a ToggleSwitch Black. So i found all the available styles and i just modified those i wanted. Then in App.xaml you could see that
<Application.Resources> <SolidColorBrush x:Key="SearchBoxButtonBackgroundThemeBrush" Color="Black" /> <SolidColorBrush x:Key="ToggleSwitchCurtainBackgroundThemeBrush" Color="Black" /> <SolidColorBrush x:Key="ToggleSwitchCurtainDisabledBackgroundThemeBrush" Color="Transparent" /> <SolidColorBrush x:Key="ToggleSwitchCurtainPointerOverBackgroundThemeBrush" Color="Black" /> <SolidColorBrush x:Key="ToggleSwitchCurtainPressedBackgroundThemeBrush" Color="Black" /> </Application.Resources>