RadWindow Alignment parameters

4 posts, 0 answers
  1. Sunil
    Sunil avatar
    14 posts
    Member since:
    Sep 2012

    Posted 01 Dec 2010 Link to this post

    what are the %  parametres  (Top, Left, Botttom, Right) used for radwindow alignment in Maximize and restore mode - So that it can be used in any PC resolution (16:9,5:4,Laptop etc.)
  2. George
    Admin
    George avatar
    1332 posts

    Posted 02 Dec 2010 Link to this post

    Hello,

    Could you please give us some more information about your scenario? Sending us a screenshot will be really helpful. 

    I will be glad to assist you further.
     

    All the best,
    George
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  3. DevCraft banner
  4. Sunil
    Sunil avatar
    14 posts
    Member since:
    Sep 2012

    Posted 04 Dec 2010 Link to this post

    My Code is given below which has parameters used for window control

    ContentWindow.Width = 1145;

    ContentWindow.Height = 523;

     

     

    //ContentWindow.Header = new TextBlock() { Text = "iFIS Reports", FontSize = 10, FontWeight = FontWeights.Bold };

     

    ContentWindow.Left = 222;

    ContentWindow.Top = 81;

    ContentWindow.WindowStartupLocation = Telerik.Windows.Controls.

     

    WindowStartupLocation.Manual;

     

    ContentWindow.WindowState =

     

    WindowState.Normal;

     

     

     

    //ContentWindow.TopOffset = 1000;

     

     

     

    //ContentWindow.LeftOffset = 1000;

     

    ContentWindow.RestoreMinimizedLocation =

     

    false;

     

    ContentWindow.ResizeMode = Telerik.Windows.Controls.

     

    ResizeMode.CanResize;

     

    ContentWindow.CanClose =

     

    false;

     

    ContentWindow.CanMove =

     

    false;

     

    ContentWindow.RestoreMinimizedLocation =

     

    false;

     

     

     

     

    //ContentWindow.RestrictedAreaMargin.Height= 500;

     

     

     

    //ContentWindow.RenderSize.Width = 100;

     

    ContentWindow.Show();

  5. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 08 Dec 2010 Link to this post

    Hi Sunil,

     The RadWindow control doesn't support relative sizes (in %).
    I saw your screenshot, but there is only one window in it - the main one. If you explain us in more details what are you trying to achieve I would be able to assist you.

    Greetings,
    Miroslav Nedyalkov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top