3 Answers, 1 is accepted
0
Hi Trisha,
Miroslav Nedyalkov
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.
The dialog parameters contain a property for the style of the RadWindow and of the Alert (the confirm control is actually an alert control, that is place inside a RadWindow). You could use the style to set any of the properties of the RadWindow control.
Hope this helps!
Greetings,Miroslav Nedyalkov
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
varsha Motwani
Top achievements
Rank 1
answered on 06 Jul 2010, 12:46 PM
Hi,
Can you please tell me ,how to create style for Content and window.
Can you please tell me ,how to create style for Content and window.
0
Hi varsha Motwani,
and in the code-behind:
I hope this helps. I will be glad to assist you further.
Greetings,
George
the Telerik team
Thank you for contacting us.
You can try achieve this with the code below in the xaml:
<Style x:Name="RadWindowStyle" TargetType="ContentControl"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="ContentControl"> <Grid> <TextBlock Text="Text" /> </Grid> </ControlTemplate> </Setter.Value> </Setter> </Style>and in the code-behind:
DialogParameters parameters = new DialogParameters();parameters.ContentStyle = this.Resources["RadWindowStyle"] as Style;parameters.Content = "Hello";RadWindow.Alert(parameters);I hope this helps. I will be glad to assist you further.
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