ClientApp/MainWindow.xaml

(完整代码) 1KB

<Window x:Class="MyApp.ClientApp.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:MyApp.ClientApp"
        mc:Ignorable="d"
        Title="MainWindow" MinHeight="550" MinWidth="1000">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="20"></RowDefinition>
            <RowDefinition/>
            <RowDefinition Height="20"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Border Grid.Row="0" BorderBrush="Red" BorderThickness="1" MinHeight="10" MinWidth="120">
            <TextBlock Text="菜单栏" TextWrapping="Wrap"/>
        </Border>
        <Border Grid.Row="1" Grid.Column="0" BorderBrush="Blue" BorderThickness="0,1,0,1">
            <wv2:WebView2 Source="https://cn.bing.com"/>
        </Border>
        <StackPanel Grid.Row="2" Orientation="Horizontal" MinHeight="16" MinWidth="120">
            <TextBlock Text="状态栏" TextWrapping="Wrap"/>
        </StackPanel>
    </Grid>
</Window>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。