12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <UserControl
- x:Class="PDF_Master.Views.Dialog.BOTA.BookmarkInfoDialog"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:cus="clr-namespace:PDF_Master.CustomControl"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:dialogBOTA="clr-namespace:PDF_Master.ViewModels.Dialog.BOTA"
- xmlns:local="clr-namespace:PDF_Master.Views.Dialog.BOTA"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:prism="http://prismlibrary.com/"
- Width="395"
- Height="220"
- d:DataContext="{d:DesignInstance Type=dialogBOTA:BookmarkInfoDialogViewModel}"
- prism:Dialog.WindowStyle="{StaticResource DialogWindowStyle}"
- prism:ViewModelLocator.AutoWireViewModel="True"
- mc:Ignorable="d">
- <cus:DialogContent Header="提示">
- <cus:DialogContent.Content>
- <StackPanel Height="80" HorizontalAlignment="Center">
- <TextBlock
- Name="TxtInput"
- Width="300"
- Margin="15"
- FontFamily="微软雅黑"
- FontSize="20"
- Text="{Binding BookmarkInfo}"
- TextWrapping="Wrap" />
- </StackPanel>
- </cus:DialogContent.Content>
- <cus:DialogContent.BottmBar>
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="50*" />
- <ColumnDefinition Width="50*" />
- </Grid.ColumnDefinitions>
- <Button
- Grid.Column="0"
- Width="150"
- Height="32"
- Margin="25,0,0,0"
- HorizontalAlignment="Left"
- Command="{Binding OkCommnad}"
- Content="确定" />
- <Button
- Grid.Column="1"
- Width="150"
- Height="32"
- Margin="0,0,25,0"
- HorizontalAlignment="Right"
- Command="{Binding CancelCommand}"
- Content="取消" />
- </Grid>
- </cus:DialogContent.BottmBar>
- </cus:DialogContent>
- </UserControl>
|