8,735
社区成员
发帖
与我相关
我的任务
分享
<imageButton:ImageButton Content="导出到Excel"
x:Name="btnRawDataExport"
Image="pack://application:,,,/Resources/Images/Common/export_16x16.png"
Width="120" Height="30" HorizontalAlignment="Left"
VerticalAlignment="Center" ImageWidth="16"
ImageHeight="16" Margin="20,0,0,0"
Command="{Binding DataContext.RawDataViewModel.RawDataExportCmd,RelativeSource={RelativeSource AncestorType={x:Type view:BaseControl}}}"
IsEnabled="{Binding DataContext.RawDataViewModel.RawDataItemsCount,Converter={StaticResource ExportImageButtonIsEnabledConvert},
ConverterParameter={StaticResource QueryParametersViewModel.HasUpdate},
RelativeSource={RelativeSource AncestorType={x:Type view:BaseControl}}}"