Windows Background is always transparent

3 posts, 1 answers
  1. Nino
    Nino avatar
    19 posts
    Member since:
    Apr 2012

    Posted 20 Aug 2013 Link to this post

    Hi

    I want use a RadWindows to show some options, but not in fullscreen. I have the following xaml Code:

    <telerikPrimitives:RadWindow x:Name="WindowLayers" IsClosedOnOutsideTap="True" Placement="CenterCenter" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="86,216,70,180" Width="300" Height="300" Background="{StaticResource PhoneTextBoxReadOnlyBrush}">
        <Button Content="Test" />
    </telerikPrimitives:RadWindow>

    But altough I've defined a Background color it is always transparent (see Screenshot)

     Are I using the wrong propertie to set the background or are they any other ideas what could be wrong?

    Regards
    Nino
  2. Answer
    Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 23 Aug 2013 Link to this post

    Hi Nino,

    Thanks for writing.

    RadWindow itself does not have a background. The background is defined by its content. In that aspect, RadWindow is a content control which shows whatever content is put in it. So you should simply define the background of your button or put the button in a Border with specific backround.

    I hope this helps.

    Regards,
    Deyan
    Telerik
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  3. DevCraft banner
  4. Nino
    Nino avatar
    19 posts
    Member since:
    Apr 2012

    Posted 23 Aug 2013 Link to this post

    Hi Deyan

    How you suggested I added a border control to the window and it works perfectly. Thanks for your help.

    Regard
    Nino
Back to Top