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

Handle big Contents in RadWindow.Confirm Dialogs

1 Answer 29 Views
Window
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 11 Feb 2014, 10:03 AM
I'm using RadWindow.Confirm to let the user confirm some content that is wider than 400 units. 

Unfortunately RadWindow.Confirm shows the content with a horizontal scoll bar (see attachment). 

How do I change this so this, so that the RadWindow.Confirm dialog resizes to its content if it gets wider?

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 14 Feb 2014, 12:44 PM
Hi Peter,

You will need to edit the ControlTemplate of the Confirm in order to remove the horizontal scrollbar and adjust the TextBlock.  The most convenient way is to use Implicit Styles as explained in the following help topic:
http://www.telerik.com/help/wpf/styling-apperance-implicit-styles-overview.html

Also you could check here how to customize the template of any of the Telerik WPF controls.

Hope this helps.

Regards,
Yana
Telerik

Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

Tags
Window
Asked by
Peter
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or