Remove steps for setting notification icons
This commit is contained in:
@@ -40,9 +40,7 @@ namespace MyUWPApp
|
|||||||
x:Class="MyUWPApp.MainPage"
|
x:Class="MyUWPApp.MainPage"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:controls="using:NotificationFlyout.Uwp.UI.Controls"
|
xmlns:controls="using:NotificationFlyout.Uwp.UI.Controls">
|
||||||
IconSource="/Assets/Icon.ico"
|
|
||||||
LightIconSource="/Assets/Icon-Light.ico">
|
|
||||||
<Grid Width="400" Height="500">
|
<Grid Width="400" Height="500">
|
||||||
<Button
|
<Button
|
||||||
HorizontalAlignment="Center"
|
HorizontalAlignment="Center"
|
||||||
@@ -51,9 +49,7 @@ namespace MyUWPApp
|
|||||||
</Grid>
|
</Grid>
|
||||||
</controls:NotificationFlyout>
|
</controls:NotificationFlyout>
|
||||||
```
|
```
|
||||||
5. In the UWP app project, add two icons (.ico) to the Assets folder.
|
4. Clean the UWP app project and then build it.
|
||||||
6. Replace the values of `IconSource` and `LightIconSource` with the paths of the icons that you have added to your Assets folder.
|
|
||||||
7. Clean the UWP app project and then build it.
|
|
||||||
|
|
||||||
## Create a WPF project ##
|
## Create a WPF project ##
|
||||||
1. In Solution Explorer, right-click the solution node and select Add -> New Project.
|
1. In Solution Explorer, right-click the solution node and select Add -> New Project.
|
||||||
|
|||||||
Reference in New Issue
Block a user