This is a migrated thread and some comments may be shown as answers.

[Solved] New issue with SelectionRegionBackgroundControl

2 Answers 84 Views
Grid for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Yuri
Top achievements
Rank 1
Yuri asked on 26 Feb 2015, 05:21 PM
Hello,

I've been using all the hacks described in this forum's relevant threads to set the background of the selected Grid row, along the following lines:
<Style TargetType="telerikGridPrimitives:DataGridCurrencyControl">
    <Setter Property="Background" Value="Transparent"/>
</Style>
<Style TargetType="telerikGridPrimitives:SelectionRegionBackgroundControl">
    <Setter Property="Background" Value="{StaticResource SelectionBrush}"/>
    <Setter Property="BorderThickness" Value="0"/>
</Style>
<Style TargetType="telerikGridPrimitives:SelectionRegionBorderControl">
    <Setter Property="BorderBrush" Value="Transparent"/>
</Style>

It has been working with the previous versions, but now I've upgraded to the latest Telerik Controls for Universal Apps (v.2014.3.1203.45), and what I see is the SelectionBrush solid colour completely covering the row's content.

The only workaround I was able to find is to set SelectionRegionBackgroundControl's opacity to lower levels (say, 0.5) to see the row's content.
I suspect this is an indication of the fact that in this latest version SelectionRegionBackgroundControl is actually rendered on top of the other layers (instead of being the bottom most as it should).
Whether this is the case or now, please suggest a temporary workaround until this issue is fixed a future release.

2 Answers, 1 is accepted

Sort by
0
Yuri
Top achievements
Rank 1
answered on 26 Feb 2015, 05:22 PM
Sorry, looks like I posted this question twice. Please remove one of the instances.
0
Tsvyatko
Telerik team
answered on 27 Feb 2015, 09:15 AM
Link to the duplicate thread - http://www.telerik.com/forums/new-issue-with-selectionregionbackgroundcontrol

Regards,
Tsvyatko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid for XAML
Asked by
Yuri
Top achievements
Rank 1
Answers by
Yuri
Top achievements
Rank 1
Tsvyatko
Telerik team
Share this question
or