ModalBackground isn't working

4 posts, 0 answers
  1. Aaron
    Aaron avatar
    20 posts
    Member since:
    Jul 2009

    Posted 17 Mar 2010 Link to this post

    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
  2. Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 18 Mar 2010 Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Aaron
    Aaron avatar
    20 posts
    Member since:
    Jul 2009

    Posted 18 Mar 2010 Link to this post

    Is there another property that I should be using?  Or is a modal background not supported by this RadWindow at all?
  5. Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 19 Mar 2010 Link to this post

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