-
Notifications
You must be signed in to change notification settings - Fork 2
Windows Identity App Private Preview #87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
faec4bb
Merge pull request #81 from microsoft/main
hamza-usmani f70cc75
GUI app preview refactor
hamza-usmani 483fc89
Update gui-usage.md with usage instructions
hamza-usmani 831fbe8
update .gitignore
hamza-usmani db57eea
Merge branch 'hamza/gui-preview' of https://github.com/microsoft/WinA…
hamza-usmani 999e35f
Merge branch 'main' into hamza/gui-preview
nmetulev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,43 @@ | ||
| | ||
| Microsoft Visual Studio Solution File, Format Version 12.00 | ||
| # Visual Studio Version 17 | ||
| VisualStudioVersion = 17.14.36408.4 d17.14 | ||
| MinimumVisualStudioVersion = 10.0.40219.1 | ||
| Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "winapp-GUI", "winapp-GUI\winapp-GUI.csproj", "{8C1F6AEE-36CD-4871-A2AF-97566468E684}" | ||
| EndProject | ||
| Global | ||
| GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
| Debug|ARM64 = Debug|ARM64 | ||
| Debug|x64 = Debug|x64 | ||
| Debug|x86 = Debug|x86 | ||
| Release|ARM64 = Release|ARM64 | ||
| Release|x64 = Release|x64 | ||
| Release|x86 = Release|x86 | ||
| EndGlobalSection | ||
| GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
| {8C1F6AEE-36CD-4871-A2AF-97566468E684}.Debug|ARM64.ActiveCfg = Debug|ARM64 | ||
| {8C1F6AEE-36CD-4871-A2AF-97566468E684}.Debug|ARM64.Build.0 = Debug|ARM64 | ||
| {8C1F6AEE-36CD-4871-A2AF-97566468E684}.Debug|ARM64.Deploy.0 = Debug|ARM64 | ||
| {8C1F6AEE-36CD-4871-A2AF-97566468E684}.Debug|x64.ActiveCfg = Debug|x64 | ||
| {8C1F6AEE-36CD-4871-A2AF-97566468E684}.Debug|x64.Build.0 = Debug|x64 | ||
| {8C1F6AEE-36CD-4871-A2AF-97566468E684}.Debug|x64.Deploy.0 = Debug|x64 | ||
| {8C1F6AEE-36CD-4871-A2AF-97566468E684}.Debug|x86.ActiveCfg = Debug|x86 | ||
| {8C1F6AEE-36CD-4871-A2AF-97566468E684}.Debug|x86.Build.0 = Debug|x86 | ||
| {8C1F6AEE-36CD-4871-A2AF-97566468E684}.Debug|x86.Deploy.0 = Debug|x86 | ||
| {8C1F6AEE-36CD-4871-A2AF-97566468E684}.Release|ARM64.ActiveCfg = Release|ARM64 | ||
| {8C1F6AEE-36CD-4871-A2AF-97566468E684}.Release|ARM64.Build.0 = Release|ARM64 | ||
| {8C1F6AEE-36CD-4871-A2AF-97566468E684}.Release|ARM64.Deploy.0 = Release|ARM64 | ||
| {8C1F6AEE-36CD-4871-A2AF-97566468E684}.Release|x64.ActiveCfg = Release|x64 | ||
| {8C1F6AEE-36CD-4871-A2AF-97566468E684}.Release|x64.Build.0 = Release|x64 | ||
| {8C1F6AEE-36CD-4871-A2AF-97566468E684}.Release|x64.Deploy.0 = Release|x64 | ||
| {8C1F6AEE-36CD-4871-A2AF-97566468E684}.Release|x86.ActiveCfg = Release|x86 | ||
| {8C1F6AEE-36CD-4871-A2AF-97566468E684}.Release|x86.Build.0 = Release|x86 | ||
| {8C1F6AEE-36CD-4871-A2AF-97566468E684}.Release|x86.Deploy.0 = Release|x86 | ||
| EndGlobalSection | ||
| GlobalSection(SolutionProperties) = preSolution | ||
| HideSolutionNode = FALSE | ||
| EndGlobalSection | ||
| GlobalSection(ExtensibilityGlobals) = postSolution | ||
| SolutionGuid = {DAC9315A-1024-4379-BB63-9DD2BB81E2C5} | ||
| EndGlobalSection | ||
| EndGlobal |
This file contains hidden or 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,17 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <Application | ||
| x:Class="winapp_GUI.App" | ||
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
| xmlns:local="using:winapp_GUI" | ||
| RequestedTheme="Light"> | ||
| <Application.Resources> | ||
| <ResourceDictionary> | ||
| <ResourceDictionary.MergedDictionaries> | ||
| <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" /> | ||
| <!-- Other merged dictionaries here --> | ||
| </ResourceDictionary.MergedDictionaries> | ||
| <!-- Other app resources here --> | ||
| </ResourceDictionary> | ||
| </Application.Resources> | ||
| </Application> |
This file contains hidden or 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,50 @@ | ||
| using System; | ||
| using System.Collections.Generic; | ||
| using System.IO; | ||
| using System.Linq; | ||
| using System.Runtime.InteropServices.WindowsRuntime; | ||
| using Microsoft.UI.Xaml; | ||
| using Microsoft.UI.Xaml.Controls; | ||
| using Microsoft.UI.Xaml.Controls.Primitives; | ||
| using Microsoft.UI.Xaml.Data; | ||
| using Microsoft.UI.Xaml.Input; | ||
| using Microsoft.UI.Xaml.Media; | ||
| using Microsoft.UI.Xaml.Navigation; | ||
| using Microsoft.UI.Xaml.Shapes; | ||
| using Windows.ApplicationModel; | ||
| using Windows.ApplicationModel.Activation; | ||
| using Windows.Foundation; | ||
| using Windows.Foundation.Collections; | ||
|
|
||
| // To learn more about WinUI, the WinUI project structure, | ||
| // and more about our project templates, see: http://aka.ms/winui-project-info. | ||
|
|
||
| namespace winapp_GUI | ||
| { | ||
| /// <summary> | ||
| /// Provides application-specific behavior to supplement the default Application class. | ||
| /// </summary> | ||
| public partial class App : Application | ||
| { | ||
| private Window? _window; | ||
|
|
||
| /// <summary> | ||
| /// Initializes the singleton application object. This is the first line of authored code | ||
| /// executed, and as such is the logical equivalent of main() or WinMain(). | ||
| /// </summary> | ||
| public App() | ||
| { | ||
| InitializeComponent(); | ||
| } | ||
|
|
||
| /// <summary> | ||
| /// Invoked when the application is launched. | ||
| /// </summary> | ||
| /// <param name="args">Details about the launch request and process.</param> | ||
| protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs args) | ||
| { | ||
| _window = new MainWindow(); | ||
| _window.Activate(); | ||
| } | ||
| } | ||
| } |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+671 Bytes
...p-GUI/winapp-GUI/Assets/Square44x44Logo.altform-lightunplated_targetsize-16.png
Oops, something went wrong.
Binary file added
BIN
+972 Bytes
...p-GUI/winapp-GUI/Assets/Square44x44Logo.altform-lightunplated_targetsize-24.png
Oops, something went wrong.
Binary file added
BIN
+46.8 KB
...-GUI/winapp-GUI/Assets/Square44x44Logo.altform-lightunplated_targetsize-256.png
Oops, something went wrong.
Binary file added
BIN
+1.3 KB
...p-GUI/winapp-GUI/Assets/Square44x44Logo.altform-lightunplated_targetsize-32.png
Oops, something went wrong.
Binary file added
BIN
+1.98 KB
...p-GUI/winapp-GUI/Assets/Square44x44Logo.altform-lightunplated_targetsize-48.png
Oops, something went wrong.
Binary file added
BIN
+671 Bytes
...winapp-GUI/winapp-GUI/Assets/Square44x44Logo.altform-unplated_targetsize-16.png
Oops, something went wrong.
Binary file added
BIN
+46.8 KB
...inapp-GUI/winapp-GUI/Assets/Square44x44Logo.altform-unplated_targetsize-256.png
Oops, something went wrong.
Binary file added
BIN
+1.3 KB
...winapp-GUI/winapp-GUI/Assets/Square44x44Logo.altform-unplated_targetsize-32.png
Oops, something went wrong.
Binary file added
BIN
+1.98 KB
...winapp-GUI/winapp-GUI/Assets/Square44x44Logo.altform-unplated_targetsize-48.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+972 Bytes
...winapp-GUI/winapp-GUI/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
src/winapp-GUI/winapp-GUI/Controls/CertificatePickerControl.xaml
This file contains hidden or 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,23 @@ | ||
| <UserControl | ||
| x:Class="winapp_GUI.Controls.CertificatePickerControl" | ||
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
| xmlns:local="using:winapp_GUI.Controls" | ||
| xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
| xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
| mc:Ignorable="d" | ||
| d:DesignHeight="60" d:DesignWidth="400"> | ||
| <StackPanel Orientation="Vertical" Margin="0,16,0,16" HorizontalAlignment="Stretch"> | ||
| <TextBlock x:Name="CertLabel" Text="Certificate File (.pfx, .cer, etc: optional - if no certificate provided one will be created by default)" Margin="0,0,0,4"/> | ||
| <Grid> | ||
| <Grid.ColumnDefinitions> | ||
| <ColumnDefinition Width="260"/> | ||
| <ColumnDefinition Width="Auto"/> | ||
| <ColumnDefinition Width="*"/> | ||
| </Grid.ColumnDefinitions> | ||
| <TextBox x:Name="CertPathBox" Grid.Column="0" PlaceholderText="Select certificate file..." IsReadOnly="True"/> | ||
| <Button x:Name="CertBrowseButton" Grid.Column="1" Content="Browse..." Margin="8,0,8,0"/> | ||
| <TextBox x:Name="CertPasswordBox" Grid.Column="2" PlaceholderText="password" Text="password" HorizontalAlignment="Stretch"/> | ||
| </Grid> | ||
| </StackPanel> | ||
| </UserControl> |
38 changes: 38 additions & 0 deletions
38
src/winapp-GUI/winapp-GUI/Controls/CertificatePickerControl.xaml.cs
This file contains hidden or 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,38 @@ | ||
| using Microsoft.UI.Xaml; | ||
| using Microsoft.UI.Xaml.Controls; | ||
| using System; | ||
|
|
||
| namespace winapp_GUI.Controls | ||
| { | ||
| public sealed partial class CertificatePickerControl : UserControl | ||
| { | ||
| public CertificatePickerControl() | ||
| { | ||
| this.InitializeComponent(); | ||
| } | ||
|
|
||
| public string CertificatePath | ||
| { | ||
| get => CertPathBox.Text; | ||
| set => CertPathBox.Text = value; | ||
| } | ||
|
|
||
| public string CertificatePassword | ||
| { | ||
| get => CertPasswordBox.Text; | ||
| set => CertPasswordBox.Text = value; | ||
| } | ||
|
|
||
| public event RoutedEventHandler BrowseClicked | ||
| { | ||
| add { CertBrowseButton.Click += value; } | ||
| remove { CertBrowseButton.Click -= value; } | ||
| } | ||
|
|
||
| public string Label | ||
| { | ||
| get => CertLabel.Text; | ||
| set => CertLabel.Text = value; | ||
| } | ||
| } | ||
| } |
16 changes: 16 additions & 0 deletions
16
src/winapp-GUI/winapp-GUI/Controls/FileNamePanelControl.xaml
This file contains hidden or 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,16 @@ | ||
| <UserControl | ||
| x:Class="winapp_GUI.Controls.FileNamePanelControl" | ||
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
| xmlns:local="using:winapp_GUI.Controls" | ||
| xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
| xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
| mc:Ignorable="d" | ||
| d:DesignHeight="40" d:DesignWidth="300"> | ||
| <StackPanel Orientation="Horizontal" Spacing="8" HorizontalAlignment="Center" Margin="0,4,0,0"> | ||
| <TextBlock x:Name="FileNameText" FontSize="16" FontWeight="SemiBold" VerticalAlignment="Center"/> | ||
| <Button x:Name="CancelButton" Width="32" Height="32" Padding="0" FontSize="20" VerticalAlignment="Center" HorizontalAlignment="Center" Background="Transparent" BorderThickness="0" ToolTipService.ToolTip="Remove file"> | ||
| <TextBlock FontFamily="Segoe MDL2 Assets" Text="" VerticalAlignment="Center" HorizontalAlignment="Center"/> | ||
| </Button> | ||
| </StackPanel> | ||
| </UserControl> | ||
26 changes: 26 additions & 0 deletions
26
src/winapp-GUI/winapp-GUI/Controls/FileNamePanelControl.xaml.cs
This file contains hidden or 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,26 @@ | ||
| using Microsoft.UI.Xaml; | ||
| using Microsoft.UI.Xaml.Controls; | ||
| using System; | ||
|
|
||
| namespace winapp_GUI.Controls | ||
| { | ||
| public sealed partial class FileNamePanelControl : UserControl | ||
| { | ||
| public FileNamePanelControl() | ||
| { | ||
| this.InitializeComponent(); | ||
| } | ||
|
|
||
| public string FileName | ||
| { | ||
| get => FileNameText.Text; | ||
| set => FileNameText.Text = value; | ||
| } | ||
|
|
||
| public event RoutedEventHandler CancelClicked | ||
| { | ||
| add { CancelButton.Click += value; } | ||
| remove { CancelButton.Click -= value; } | ||
| } | ||
| } | ||
| } |
32 changes: 32 additions & 0 deletions
32
src/winapp-GUI/winapp-GUI/Controls/ProgressPanelControl.xaml
This file contains hidden or 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,32 @@ | ||
| <UserControl | ||
| x:Class="winapp_GUI.Controls.ProgressPanelControl" | ||
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
| xmlns:local="using:winapp_GUI.Controls" | ||
| xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
| xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
| mc:Ignorable="d" | ||
| d:DesignHeight="180" d:DesignWidth="400"> | ||
| <StackPanel> | ||
| <TextBlock Text="Progress:" FontSize="14" Margin="0,0,0,0" HorizontalAlignment="Center"/> | ||
| <Border Margin="0,8,0,0" Padding="16" CornerRadius="16" VerticalAlignment="Top"> | ||
| <ScrollViewer x:Name="ProgressScrollViewer" VerticalScrollBarVisibility="Auto"> | ||
| <ListView x:Name="ProgressItemsControl"> | ||
| <ListView.ItemTemplate> | ||
| <DataTemplate> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Make sure to give data type and use x:Bind |
||
| <Expander Header="{Binding Title}" HorizontalAlignment="Stretch" Width="Auto"> | ||
| <ItemsControl ItemsSource="{Binding SubItems}" HorizontalAlignment="Stretch"> | ||
| <ItemsControl.ItemTemplate> | ||
| <DataTemplate> | ||
| <TextBlock Text="{Binding}" TextWrapping="Wrap"/> | ||
| </DataTemplate> | ||
| </ItemsControl.ItemTemplate> | ||
| </ItemsControl> | ||
| </Expander> | ||
| </DataTemplate> | ||
| </ListView.ItemTemplate> | ||
| </ListView> | ||
| </ScrollViewer> | ||
| </Border> | ||
| </StackPanel> | ||
| </UserControl> | ||
21 changes: 21 additions & 0 deletions
21
src/winapp-GUI/winapp-GUI/Controls/ProgressPanelControl.xaml.cs
This file contains hidden or 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,21 @@ | ||
| using Microsoft.UI.Xaml; | ||
| using Microsoft.UI.Xaml.Controls; | ||
| using System.Collections.ObjectModel; | ||
| using winapp_GUI; | ||
|
|
||
| namespace winapp_GUI.Controls | ||
| { | ||
| public sealed partial class ProgressPanelControl : UserControl | ||
| { | ||
| public ProgressPanelControl() | ||
| { | ||
| this.InitializeComponent(); | ||
| } | ||
|
|
||
| public ObservableCollection<ProgressCard> ProgressCards | ||
| { | ||
| get => (ObservableCollection<ProgressCard>)ProgressItemsControl.ItemsSource; | ||
| set => ProgressItemsControl.ItemsSource = value; | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong fontfamily, should use the resource SymbolThemeFontFamily.