Completed
Last Updated: 25 May 2015 14:02 by ADMIN
ADMIN
Kalin
Created on: 30 Mar 2015 11:13
Category: Window
Type: Bug Report
3
Header buttons are not visible when maximized with DPI higher than 100%

		
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
3 comments
andrizu
Posted on: 13 Apr 2015 11:34
Not only header buttons. The whole right and bottom side of the window goes out of screen.
Saykor
Posted on: 11 May 2015 06:45
Because I use TaskbarRadWindow from this article: http://www.telerik.com/forums/can-t-see-radwindow-in-the-task-bar. The workaround is easy:

this.Loaded += TaskbarRadWindow_Loaded;

void TaskbarRadWindow_Loaded(object sender, RoutedEventArgs e)
        {
            _window = this.ParentOfType<Window>();
            if (_window != null)
            {
                var childrens = this.ChildrenOfType<Grid>();
                var header = childrens.FirstOrDefault(x => x.Name == "Header");
                if (header != null)
                {
                    _window.MaxWidth = SystemParameters.PrimaryScreenWidth;
                    _window.MaxHeight = SystemParameters.PrimaryScreenHeight - header.ActualHeight;
                }

                _window.ShowInTaskbar = true;
                _window.StateChanged += window_StateChanged;
                _window.Focus();
                this.Loaded -= TaskbarRadWindow_Loaded;
            }
        }
ADMIN
Geri
Posted on: 25 May 2015 14:02
Available in LIB version 2015.1.0525, it will be also available in the 2015 Q2.