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

Windows Background is always transparent

2 Answers 49 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.
Nino
Top achievements
Rank 1
Nino asked on 20 Aug 2013, 02:10 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Deyan
Telerik team
answered on 23 Aug 2013, 07:49 AM
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.
0
Nino
Top achievements
Rank 1
answered on 23 Aug 2013, 09:58 PM
Hi Deyan

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

Regard
Nino
Tags
Window
Asked by
Nino
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Nino
Top achievements
Rank 1
Share this question
or