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

RadWindow Alignment parameters

3 Answers 65 Views
Window
This is a migrated thread and some comments may be shown as answers.
Sunil
Top achievements
Rank 2
Sunil asked on 01 Dec 2010, 01:56 PM
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.)

3 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 02 Dec 2010, 04:16 PM
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
0
Sunil
Top achievements
Rank 2
answered on 04 Dec 2010, 09:37 AM
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();

0
Miroslav Nedyalkov
Telerik team
answered on 08 Dec 2010, 10:59 AM
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
Tags
Window
Asked by
Sunil
Top achievements
Rank 2
Answers by
George
Telerik team
Sunil
Top achievements
Rank 2
Miroslav Nedyalkov
Telerik team
Share this question
or