Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- export dialog -->
- <DataTemplate x:Key="{themes:NewDocumentViewerThemeKey ResourceKey=ExportOptionsDialogTemplate}">
- <Grid Width="450" >
- <dxlc:DockLayoutControl Margin="12,12,12,0">
- <dxlc:LayoutGroup Name="mainGroup" Orientation="Vertical" ItemLabelsAlignment="Local" dxlc:DockLayoutControl.Dock="Client" >
- <dxlc:LayoutItem Label="{local:PrintingStringId StringId=ExportFormat}" AddColonToLabel="True">
- <dxe:ComboBoxEdit EditValue="{Binding ExportFormat, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ItemsSource="{Binding AvailableExportFormats}" IsTextEditable="False" />
- </dxlc:LayoutItem>
- <dxlc:LayoutItem Label="{local:PrintingStringId StringId=FilePath}" AddColonToLabel="True">
- <dxe:ButtonEdit AllowDefaultButton="False" EditValue="{Binding FileName, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}">
- <dxe:ButtonEdit.Buttons>
- <dxe:ButtonInfo GlyphKind="Regular" Command="{Binding SelectFileCommand}" />
- </dxe:ButtonEdit.Buttons>
- </dxe:ButtonEdit>
- </dxlc:LayoutItem>
- <dxlc:LayoutItem>
- <dxe:CheckEdit Content="{local:PrintingStringId StringId=OpenFileAfterExport}" EditValue="{Binding OpenFileAfterExport}" IsEnabled="{Binding CanUseActionAfterExport}" />
- </dxlc:LayoutItem>
- </dxlc:LayoutGroup>
- </dxlc:DockLayoutControl>
- </Grid>
- </DataTemplate>
- <!-- send dialog -->
- <DataTemplate x:Key="{themes:NewDocumentViewerThemeKey ResourceKey=SendOptionsDialogTemplate}">
- <Grid Width="450" >
- <dxlc:DockLayoutControl AllowItemSizing="True" Margin="12,12,12,0">
- <dxlc:LayoutGroup Orientation="Vertical" ItemLabelsAlignment="Local" dxlc:DockLayoutControl.Dock="Client" dxlc:DockLayoutControl.AllowHorizontalSizing="True">
- <dxlc:LayoutItem Label="{local:PrintingStringId StringId=ExportFormat}" AddColonToLabel="True">
- <dxe:ComboBoxEdit EditValue="{Binding ExportFormat, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ItemsSource="{Binding AvailableExportFormats}" IsTextEditable="False" />
- </dxlc:LayoutItem>
- <dxlc:LayoutItem Label="{local:PrintingStringId StringId=FilePath}" AddColonToLabel="True">
- <dxe:ButtonEdit AllowDefaultButton="False" EditValue="{Binding FileName, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}">
- <dxe:ButtonEdit.Buttons>
- <dxe:ButtonInfo GlyphKind="Regular" Command="{Binding SelectFileCommand}" />
- </dxe:ButtonEdit.Buttons>
- </dxe:ButtonEdit>
- </dxlc:LayoutItem>
- </dxlc:LayoutGroup>
- </dxlc:DockLayoutControl>
- </Grid>
- </DataTemplate>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement