This is a migrated thread and some comments may be shown as answers.
Change window style
9 Answers 58 Views
This is a migrated thread and some comments may be shown as answers.
Ketaki
Top achievements
Rank 1
Ketaki asked on 31 Aug 2010, 04:32 PM

Hello,

How I make to modify style or color of window? Im using SL4 and telerik latest binaries which is compatible with SL4.

Thanks in advances

9 Answers, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 02 Sep 2010, 09:13 AM
Hello Ketaki,

Please, refer to our online Help articles. Please, check this one - related to Styling the RadWindow.

I hope this helps.


Greetings,
Dani
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
Monika Kogler
Top achievements
Rank 1
answered on 24 Sep 2010, 11:58 AM
Hi,
the describes way of changes the style of the radwindow with expression blend is not working for me: i don't know why but the menu-item edit style -> edit a copy is greyed out for me. so can you please send me the default xaml-style for the radwindow? i want to change it's style so it has now frame/header...
thx in advance.
0
George
Telerik team
answered on 28 Sep 2010, 08:40 AM
Hello Monika,

Attached you can find the default style for RadWindow.

I hope this helps!  Please do not hesitate to contact us if you require any further information.

Greetings,
George
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
Chiara
Top achievements
Rank 1
answered on 07 Nov 2011, 10:44 AM
Hi George, 
I've got a problem with RadWindow.
In my project there are 4 files xaml: app.xaml MainPage.xaml RadWindowTest.xaml radwindowstyle.xaml
I've created a button in the main page so I can open the radwindow.
My problem is the style of the window: when I press "open" button, the window lost theme 7 and return as the default (dark gray)

In the RadWindowTest.xaml I correctely set the theme, but doesn't work.
I have to make not visible the header and the button.

I attach the entire project
best regards
-chiara
radwindow
0
Chiara
Top achievements
Rank 1
answered on 07 Nov 2011, 10:44 AM
Hi George, 
I've got a problem with RadWindow.
In my project there are 4 files xaml: app.xaml MainPage.xaml RadWindowTest.xaml radwindowstyle.xaml
I've created a button in the main page so I can open the radwindow.
My problem is the style of the window: when I press "open" button, the window lost theme 7 and return as the default (dark gray)

In the RadWindowTest.xaml I correctely set the theme, but doesn't work.
I have to make not visible the header and the button.

I attach the entire project
best regards
-chiara
radwindow
0
Chiara
Top achievements
Rank 1
answered on 07 Nov 2011, 10:47 AM
Hi George, 
I've got a problem with RadWindow.
In my project there are 4 files xaml: app.xaml MainPage.xaml RadWindowTest.xaml radwindowstyle.xaml
I've created a button in the main page so I can open the radwindow.
My problem is the style of the window: when I press "open" button, the window lost theme 7 and return as the default (dark gray)

In the RadWindowTest.xaml I correctely set the theme, but doesn't work.
I have to make not visible the header and the button.

I attach the entire project
best regards
-chiara
radwindow
0
Chiara
Top achievements
Rank 1
answered on 07 Nov 2011, 10:53 AM
Hi George, 
I've got a problem with RadWindow.
In my project there are 4 files xaml: app.xaml MainPage.xaml RadWindowTest.xaml radwindowstyle.xaml
I've created a button in the main page so I can open the radwindow.
My problem is the style of the window: when I press "open" button, the window lost theme 7 and return as the default (dark gray)

In the RadWindowTest.xaml I correctely set the theme, but doesn't work.
I have to make not visible the header and the button.

I attach the entire project
best regards
-chiara
radwindow
0
Chiara
Top achievements
Rank 1
answered on 07 Nov 2011, 10:58 AM
Hi George, 
I've got a problem with RadWindow.
In my project there are 4 files xaml: app.xaml MainPage.xaml RadWindowTest.xaml radwindowstyle.xaml
I've created a button in the main page so I can open the radwindow.
My problem is the style of the window: when I press "open" button, the window lost theme 7 and return as the default (dark gray)

In the RadWindowTest.xaml I correctely set the theme, but doesn't work.
I have to make not visible the header and the button.

I attach the entire project
best regards
-chiara
radwindow
0
Dani
Telerik team
answered on 07 Nov 2011, 11:06 AM
Hello Chiara,

I suggest that you merge your RadWindow style on application level, i.e. in App.xaml and try to apply it explicitly rather than implicitly. I would suggest that you apply your style just where you create the window:

test.Style = Application.Current.Resources["RadWindowStyle"] as Style;

I hope this will be helpful.


Greetings,
Dani
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Asked by
Ketaki
Top achievements
Rank 1
Answers by
Dani
Telerik team
Monika Kogler
Top achievements
Rank 1
George
Telerik team
Chiara
Top achievements
Rank 1
Share this question
or