RadModalWindow Opacity

4 posts, 1 answers
  1. Vitalii
    Vitalii avatar
    104 posts
    Member since:
    Jul 2013

    Posted 03 Oct 2013 Link to this post

    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.
  2. Answer
    Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 04 Oct 2013 Link to this post

    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 >>
  3. DevCraft banner
  4. Vitalii
    Vitalii avatar
    104 posts
    Member since:
    Jul 2013

    Posted 05 Oct 2013 Link to this post

    Thanks, that works.
    However, i guess, 90% would be #E6******, and 100% is #FF******.
  5. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 10 Oct 2013 Link to this post

    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 >>
Back to Top