-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from microsoft/user/hamiltonia/sdkupdates
Prepare for latest SDK drop (1.0.200212001-prerelease)
- Loading branch information
Showing
21 changed files
with
330 additions
and
171 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,21 @@ | ||
#include "pch.h" | ||
#include "Extension1Settings.h" | ||
#if __has_include("Extension1Settings.g.cpp") | ||
#include "Extension1Settings.g.cpp" | ||
#endif | ||
|
||
using namespace winrt; | ||
using namespace Windows::UI::Xaml; | ||
|
||
namespace winrt::UIExtAdvSample::implementation | ||
{ | ||
Extension1Settings::Extension1Settings() | ||
{ | ||
InitializeComponent(); | ||
} | ||
|
||
void Extension1Settings::ClickHandler(IInspectable const&, RoutedEventArgs const&) | ||
{ | ||
Button().Content(box_value(L"Clicked")); | ||
} | ||
} |
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 @@ | ||
#pragma once | ||
|
||
#include "Extension1Settings.g.h" | ||
|
||
namespace winrt::UIExtAdvSample::implementation | ||
{ | ||
struct Extension1Settings : Extension1SettingsT<Extension1Settings> | ||
{ | ||
Extension1Settings(); | ||
|
||
void ClickHandler(Windows::Foundation::IInspectable const& sender, Windows::UI::Xaml::RoutedEventArgs const& args); | ||
}; | ||
} | ||
|
||
namespace winrt::UIExtAdvSample::factory_implementation | ||
{ | ||
struct Extension1Settings : Extension1SettingsT<Extension1Settings, implementation::Extension1Settings> | ||
{ | ||
}; | ||
} |
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,8 @@ | ||
namespace UIExtAdvSample | ||
{ | ||
[default_interface] | ||
runtimeclass Extension1Settings : Windows.UI.Xaml.Controls.Page | ||
{ | ||
Extension1Settings(); | ||
} | ||
} |
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,13 @@ | ||
<Page | ||
x:Class="UIExtAdvSample.Extension1Settings" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="using:UIExtAdvSample" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="d"> | ||
|
||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center"> | ||
<Button x:Name="Button" Click="ClickHandler">Click Me</Button> | ||
</StackPanel> | ||
</Page> |
Oops, something went wrong.