-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: scaffold StatusBar and add to MainWindow
- Loading branch information
Per Kops
committed
May 28, 2024
1 parent
e75f743
commit 6789a8c
Showing
8 changed files
with
56 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<fluent:StatusBar | ||
x:Class="Atc.Azure.IoT.Wpf.App.UserControls.StatusBarView" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:fluent="urn:fluent-ribbon" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:userControls="clr-namespace:Atc.Azure.IoT.Wpf.App.UserControls" | ||
d:DataContext="{d:DesignInstance Type=userControls:StatusBarViewModel}" | ||
d:DesignHeight="25" | ||
d:DesignWidth="600" | ||
ContextMenu="{x:Null}" | ||
mc:Ignorable="d"> | ||
|
||
<fluent:StatusBarItem Margin="10,0" HorizontalAlignment="Left"> | ||
<StackPanel Orientation="Horizontal"> | ||
<TextBlock>Hej</TextBlock> | ||
</StackPanel> | ||
</fluent:StatusBarItem> | ||
</fluent:StatusBar> |
12 changes: 12 additions & 0 deletions
12
src/Atc.Azure.IoT.Wpf.App/UserControls/StatusBarView.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
namespace Atc.Azure.IoT.Wpf.App.UserControls; | ||
|
||
/// <summary> | ||
/// Interaction logic for StatusBarView. | ||
/// </summary> | ||
public partial class StatusBarView | ||
{ | ||
public StatusBarView() | ||
{ | ||
InitializeComponent(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
namespace Atc.Azure.IoT.Wpf.App.UserControls; | ||
|
||
public class StatusBarViewModel : ViewModelBase | ||
{ | ||
} |