Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
370
Copy value from summary
posted

Hi.

I have a table with only one summary for every column. Can I allow user to copy data from summary?

Parents
No Data
Reply
  • 138253
    Offline posted

    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.

Children