Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 99250

how to auto hide radtitle bar in fullscreen form

$
0
0
[quote]Dess said:Hello Mohammad, 

Thank you for writing back. 

Indeed, the title bar is collapsed. Autohiding functionality for the title bar is not supported out of the box. You can handle the MouseMove event of the form and make the title bar visible when the cursor is close to the title bar:
private void Form1_MouseMove(object sender, MouseEventArgs e)
{
    if (this.WindowState == FormWindowState.Maximized)
    {
        if (e.Y < 20)
        {
            this.FormElement.TitleBar.Visibility = Telerik.WinControls.ElementVisibility.Visible;
        }
    }
}

[/quote]

 

thanks Dess.
that is nice idea!!


Viewing all articles
Browse latest Browse all 99250

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>