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

ModalBackground isn't working

3 Answers 125 Views
Window
This is a migrated thread and some comments may be shown as answers.
Aaron
Top achievements
Rank 1
Aaron asked on 17 Mar 2010, 02:27 PM
WPF RadWindow (Q1 2010) is never showing a modal background.

Here is simple example xaml:
Window x:Class="Window1" 
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" 
        Title="Window1" Height="400" Width="600" WindowStartupLocation="CenterOwner"
    <Grid> 
        <telerikNavigation:RadWindow ModalBackground="Red" 
                           Name="testObj" Height="100" Width="200" CanClose="True" 
                           WindowStartupLocation="CenterOwner" Background="Beige"/> 
    </Grid> 
</Window> 

Here is the code:
Class Window1  
    Public Sub x() Handles Me.MouseLeftButtonDown 
        testObj.ShowDialog() 
    End Sub 
End Class 

Image is attached.

Any idea what's up?

Thanks

3 Answers, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 18 Mar 2010, 07:13 PM
Hello Aaron,

This property is created for usage only in Silverlight or in XBAP mode.  We are sorry for any inconvenience that this causes to you.

All the best,
Rosi
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Aaron
Top achievements
Rank 1
answered on 18 Mar 2010, 07:17 PM
Is there another property that I should be using?  Or is a modal background not supported by this RadWindow at all?
0
Rosi
Telerik team
answered on 19 Mar 2010, 02:44 PM
Hi Aaron,

RadWindow for WPF does not support modal background except when it is in XBAP mode.

Sorry for the caused inconvenience once again.

Regards
Rosi
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Window
Asked by
Aaron
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Aaron
Top achievements
Rank 1
Share this question
or