Hi.
I have a table with only one summary for every column. Can I allow user to copy data from summary?
Hello Nikolay,
Thank you for your post. I have been looking through it and I suggest you use the following style for the SummaryResultPresenter:
<Style TargetType="{x:Type igDP:SummaryResultPresenter}"> <Setter Property="Padding" Value="1,1"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type igDP:SummaryResultPresenter}"> <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" Padding="{TemplateBinding Padding}" ToolTip="{Binding Path=SummaryResult.ToolTipResolved, RelativeSource={RelativeSource TemplatedParent}}"> <TextBox IsReadOnly="True" BorderThickness="0" Background="{TemplateBinding Background}" Text="{Binding Path=SummaryResult.DisplayTextAsync, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}"/> </Border> </ControlTemplate> </Setter.Value> </Setter> <Setter Property="Margin" Value="0,0,0,2"/> </Style>
Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
Hi Stefan,
Thank you for your regard, but in this scenario, the user can copy data from only one cell. But he can't copy summary from all row or several columns. And it is this functionality required.