ui/winui/MainWindow.xaml

Wed, 11 Oct 2023 10:54:24 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 11 Oct 2023 10:54:24 +0200
branch
newapi
changeset 206
7ebc5a747c6f
parent 205
b1ac0dd1d38b
child 207
93b9f502cb88
permissions
-rw-r--r--

implement toolbar togglebutton

<?xml version="1.0" encoding="utf-8"?>
<Window
    x:Class="winui.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:winui"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Window.SystemBackdrop>
        <MicaBackdrop Kind="BaseAlt"/>
    </Window.SystemBackdrop>

    <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
        <Button x:Name="myButton" Click="myButton_Click">Click Me !</Button>
    </StackPanel>
</Window>

mercurial