123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <UserControl
- x:Class="PDF_Master.Views.Dialog.BOTA.AddBookmarkDialog"
- 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="445"
- Height="180"
- d:DataContext="{d:DesignInstance Type=dialogBOTA:AddBookmarkDialogViewModel}"
- prism:Dialog.WindowStyle="{StaticResource DialogWindowStyle}"
- prism:ViewModelLocator.AutoWireViewModel="True"
- mc:Ignorable="d">
- <cus:DialogContent Header="{Binding Title}">
- <cus:DialogContent.Content>
- <StackPanel Height="50" HorizontalAlignment="Center">
- <TextBox
- Name="TxtInput"
- Width="390"
- Height="30"
- Margin="15"
- HorizontalContentAlignment="Left"
- VerticalContentAlignment="Center"
- FontFamily="微软雅黑"
- FontSize="14"
- Text="{Binding Bookmark}" />
- </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 CreateCommnad}"
- 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>
|