mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
adding support for xaml islands
This commit is contained in:
18
src/modules/launcher/PowerLauncher.UI/LauncherControl.xaml
Normal file
18
src/modules/launcher/PowerLauncher.UI/LauncherControl.xaml
Normal file
@@ -0,0 +1,18 @@
|
||||
<UserControl
|
||||
x:Class="PowerLauncher.UI.LauncherControl"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="using:PowerLauncher.UI"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d"
|
||||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
||||
|
||||
<Grid>
|
||||
<StackPanel Background="LightCoral">
|
||||
<TextBlock>This is a simple custom UWP control</TextBlock>
|
||||
<Rectangle Fill="Blue" Height="100" Width="100"/>
|
||||
<TextBlock Text="{x:Bind XamlIslandMessage}" FontSize="50"></TextBlock>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
Reference in New Issue
Block a user