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

Screen resolution

2 Answers 49 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Hans
Top achievements
Rank 1
Hans asked on 09 Aug 2012, 08:15 AM
If I use a small screen resolution, buttons "OK" and "Cancel" was invisible (do not fit on the screen) see image
Possible to do, when you open image-control it immediately expand to full screen? Or suggest another option

2 Answers, 1 is accepted

Sort by
0
Accepted
Todor
Telerik team
answered on 10 Aug 2012, 12:49 PM
Hello Hans,

The top and the bottom parts of the ImageEditorDialog are invisible because they have fixed Width and Height properties and your resolution is smaller that their size. So, the way to fit the dialog into your screen is to set its WindowState property to "Maximize". 

You can do this implicitly - adding references to NoXaml binaries and using external themes. Here you can read our detailed article how to do that.

After you have merged the necessary resource dictionaries in the App.xaml file, please add the following namespace:

xmlns:telerikDialogs="clr-namespace:Telerik.Windows.Controls.RichTextBoxUI.Dialogs;assembly=Telerik.Windows.Controls.RichTextBoxUI"

Then you should add the following piece of code into the same ResourceDictionary:

<Style TargetType="telerikDialogs:ImageEditorDialog">
          <Setter Property="WindowState" Value="Maximized" />
</Style>

Please, excuse us for the inconvenience.
Hope this helps. Greetings,
Todor
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Hans
Top achievements
Rank 1
answered on 15 Aug 2012, 01:47 PM
Thanks, all turned
Tags
ImageEditor
Asked by
Hans
Top achievements
Rank 1
Answers by
Todor
Telerik team
Hans
Top achievements
Rank 1
Share this question
or