mirror of
https://github.com/ZuneDev/Xune.git
synced 2026-07-27 13:13:10 -07:00
32 lines
1.3 KiB
XML
32 lines
1.3 KiB
XML
<Window x:Class="Xune.Wpf.MainWindow"
|
|
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:local="clr-namespace:Xune.Wpf"
|
|
xmlns:sk="clr-namespace:SkiaSharp.Views.WPF;assembly=SkiaSharp.Views.WPF"
|
|
mc:Ignorable="d"
|
|
Title="Xune" Height="450" Width="800">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Border Padding="4">
|
|
<Border.Background>
|
|
<LinearGradientBrush StartPoint="0,0" EndPoint="1,0">
|
|
<LinearGradientBrush.GradientStops>
|
|
<GradientStop Color="#f10da1" Offset="0.0"/>
|
|
<GradientStop Color="#e95214" Offset="1.0"/>
|
|
</LinearGradientBrush.GradientStops>
|
|
</LinearGradientBrush>
|
|
</Border.Background>
|
|
|
|
<TextBlock Text="Howdy! This text is from WPF." Foreground="White"/>
|
|
</Border>
|
|
|
|
<sk:SKElement x:Name="Canvas" Grid.Row="1"/>
|
|
</Grid>
|
|
</Window>
|