main

mattermost/focalboard

Last updated at: 28/12/2023 01:38

MainWindow.xaml

TLDR

This file defines the main window for the Focalboard application. It contains a DockPanel with a Label and a WebView2 control.

Classes

MainWindow

This class represents the main window of the Focalboard application. It includes a DockPanel that contains a Label and a WebView2 control. The window is sized to 800 pixels in height and 1024 pixels in width.

<Window x:Class="Focalboard.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:wv2="clr-namespace:Microsoft.Web.WebView2.Wpf;assembly=Microsoft.Web.WebView2.Wpf"
        xmlns:local="clr-namespace:Focalboard"
        mc:Ignorable="d"
        Title="Focalboard" Height="800" Width="1024">
    <DockPanel>
        <Label Name="installingLabel" Visibility="Collapsed" DockPanel.Dock="Top">Downloading webview2...</Label>
        <wv2:WebView2
            Name="webView"
        />
    </DockPanel>
</Window>