58 lines
2.2 KiB
Plaintext
Raw Normal View History

2025-08-15 15:38:37 +08:00
<UserControl
x:Class="SWS.WPF.Views.DialogTest"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:CustomControl="clr-namespace:SWS.CustomControl;assembly=SWS.CustomControl"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:SWS.WPF.Views"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
Width="400"
Height="200"
mc:Ignorable="d">
<telerik:RadBusyIndicator BusyContent="{Binding BusyContent}" IsBusy="{Binding IsBusy}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="60" />
<RowDefinition Height="60" />
<RowDefinition Height="60" />
</Grid.RowDefinitions>
<CustomControl:customWindowTitleBar x:Name="titleBar" />
<StackPanel
Grid.Row="1"
Height="30"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Orientation="Horizontal">
<TextBlock
Width="60"
FontSize="18"
Text="传参:" />
<TextBox
Width="200"
FontSize="18"
Text="{Binding parText}" />
</StackPanel>
<StackPanel
Grid.Row="2"
Height="60"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Orientation="Horizontal">
<Button
Width="100"
Margin="10"
Command="{Binding Command_Close1}"
Content="Yes关闭"
FontSize="18" />
<Button
Width="100"
Margin="10"
Command="{Binding Command_Close2}"
Content="No关闭"
FontSize="18" />
</StackPanel>
</Grid>
</telerik:RadBusyIndicator>
2025-08-15 15:38:37 +08:00
</UserControl>