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

RadModalWindow Opacity

3 Answers 65 Views
Window
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Vitalii
Top achievements
Rank 2
Vitalii asked on 03 Oct 2013, 07:02 PM
Is it possible to make a background semi-transparent?

<telerikPrimitives:RadModalWindow x:Name="window"
                                          Background="Black" Opacity="0.7"
                                          Placement="CenterCenter">

Opacity seems to have no effect in this case.

3 Answers, 1 is accepted

Sort by
0
Accepted
Kiril Stanoev
Telerik team
answered on 04 Oct 2013, 02:17 PM
Hello Vitalii,

Please try the following approach:

<telerikPrimitives:RadModalWindow x:Name="window" Placement="CenterCenter">
    <telerikPrimitives:RadModalWindow.Background>
        <SolidColorBrush Color="#48FF0000" />
    </telerikPrimitives:RadModalWindow.Background>
</telerikPrimitives:RadModalWindow>

 

0% = #00
10% = #16
20% = #32
30% = #48
40% = #64
50% = #80
60% = #96
70% = #B4
80% = #CC
90% = #E6
100% = #FF

 Regards,
Kiril Stanoev
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Vitalii
Top achievements
Rank 2
answered on 05 Oct 2013, 04:27 PM
Thanks, that works.
However, i guess, 90% would be #E6******, and 100% is #FF******.
0
Kiril Stanoev
Telerik team
answered on 10 Oct 2013, 07:24 AM
Hi Vitalii,

You're right. I've updated the chart accordingly. 

Regards,
Kiril Stanoev
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Window
Asked by
Vitalii
Top achievements
Rank 2
Answers by
Kiril Stanoev
Telerik team
Vitalii
Top achievements
Rank 2
Share this question
or