Files
RevitArchive/WPFMonitorRevitAPI-master/DoWork/ProgressWindow.xaml
2026-02-23 14:58:05 +08:00

26 lines
922 B
XML

<Window
x:Class="Utils.Basis.Controls.ProgressWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:basic="clr-namespace:Utils.Basis.Controls"
Title="{Binding ProgressVM.WindowTitle}"
Width="308.2"
Height="96.2"
MinWidth="300"
Closing="Window_Closing"
ResizeMode="NoResize"
WindowStartupLocation="CenterScreen">
<Grid>
<StackPanel HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<ProgressBar
Height="30"
HorizontalAlignment="Stretch"
DataContext="{Binding ProgressVM}" />
<Button
Margin="200,3,3,3"
Click="Button_Click"
Command="{Binding ProgressViewModel.CancelProcess}"
Content="Cancel" />
</StackPanel>
</Grid>
</Window>