Advertisement
Guest User

Untitled

a guest
Dec 11th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.89 KB | None | 0 0
  1. <!-- export dialog -->
  2. <DataTemplate x:Key="{themes:NewDocumentViewerThemeKey ResourceKey=ExportOptionsDialogTemplate}">
  3.     <Grid Width="450" >
  4.         <dxlc:DockLayoutControl Margin="12,12,12,0">
  5.             <dxlc:LayoutGroup Name="mainGroup" Orientation="Vertical" ItemLabelsAlignment="Local" dxlc:DockLayoutControl.Dock="Client" >
  6.                 <dxlc:LayoutItem Label="{local:PrintingStringId StringId=ExportFormat}" AddColonToLabel="True">
  7.                     <dxe:ComboBoxEdit EditValue="{Binding ExportFormat, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ItemsSource="{Binding AvailableExportFormats}" IsTextEditable="False"  />
  8.                 </dxlc:LayoutItem>
  9.                 <dxlc:LayoutItem Label="{local:PrintingStringId StringId=FilePath}" AddColonToLabel="True">
  10.                     <dxe:ButtonEdit AllowDefaultButton="False" EditValue="{Binding FileName, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}">
  11.                         <dxe:ButtonEdit.Buttons>
  12.                             <dxe:ButtonInfo GlyphKind="Regular" Command="{Binding SelectFileCommand}" />
  13.                         </dxe:ButtonEdit.Buttons>
  14.                     </dxe:ButtonEdit>
  15.                 </dxlc:LayoutItem>
  16.                 <dxlc:LayoutItem>
  17.                     <dxe:CheckEdit Content="{local:PrintingStringId StringId=OpenFileAfterExport}" EditValue="{Binding OpenFileAfterExport}" IsEnabled="{Binding CanUseActionAfterExport}" />
  18.                 </dxlc:LayoutItem>
  19.             </dxlc:LayoutGroup>
  20.         </dxlc:DockLayoutControl>
  21.     </Grid>
  22. </DataTemplate>
  23.  
  24. <!-- send dialog -->
  25. <DataTemplate x:Key="{themes:NewDocumentViewerThemeKey ResourceKey=SendOptionsDialogTemplate}">
  26.     <Grid Width="450" >
  27.         <dxlc:DockLayoutControl AllowItemSizing="True" Margin="12,12,12,0">
  28.             <dxlc:LayoutGroup Orientation="Vertical" ItemLabelsAlignment="Local" dxlc:DockLayoutControl.Dock="Client" dxlc:DockLayoutControl.AllowHorizontalSizing="True">
  29.                 <dxlc:LayoutItem Label="{local:PrintingStringId StringId=ExportFormat}" AddColonToLabel="True">
  30.                     <dxe:ComboBoxEdit EditValue="{Binding ExportFormat, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ItemsSource="{Binding AvailableExportFormats}" IsTextEditable="False"  />
  31.                 </dxlc:LayoutItem>
  32.                 <dxlc:LayoutItem Label="{local:PrintingStringId StringId=FilePath}" AddColonToLabel="True">
  33.                     <dxe:ButtonEdit AllowDefaultButton="False" EditValue="{Binding FileName, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}">
  34.                         <dxe:ButtonEdit.Buttons>
  35.                             <dxe:ButtonInfo GlyphKind="Regular" Command="{Binding SelectFileCommand}" />
  36.                         </dxe:ButtonEdit.Buttons>
  37.                     </dxe:ButtonEdit>
  38.                 </dxlc:LayoutItem>
  39.             </dxlc:LayoutGroup>
  40.         </dxlc:DockLayoutControl>
  41.     </Grid>
  42. </DataTemplate>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement