We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Splash panel - how to get desktop position

Thread ID:

Created:

Updated:

Platform:

Replies:

107163 Feb 17,2013 07:32 PM Jan 16,2018 07:44 AM Windows Forms 3
loading
Tags: SplashControl
Andy Grau
Asked On February 17, 2013 07:32 PM

How can I get a current desktop position of a movable splash panel? How can I place a splash panel to a given X,Y position on a desktop?

The SplashAlignment property allows only 5 fixed positions (top-left, top-right etc). I don't see any properties to set it at a given custom position.

Thanks

Chandran R [Syncfusion]
Replied On February 20, 2013 08:06 AM

Hi Anty,

Thanks for your interest in Syncfusion products.

You can achieve your requirement by using the below code snippet,

[c#]

            this.splashPanel1.DesktopAlignment = SplashAlignment.Custom;
            this.splashPanel1.DiscreetLocation = new Point(100, 100);
            this.splashPanel1.ShowSplash(this.splashPanel1.DiscreetLocation,null,true);

I have attached the sample as per your requirements. Please run the sample and let us know if it helps you.

Please let us know if you need any other details.

Regards,

Chandran R


SplashPanelCustomAlignment_4abf0ccd.zip

ercan
Replied On January 12, 2018 07:30 AM

How can I get a current desktop position of a movable splash panel? How can I place a splash panel to a given X,Y position on a desktop?

The SplashAlignment property allows only 5 fixed positions (top-left, top-right etc). I don't see any properties to set it at a given custom position.

Thanks

How can I get a current desktop position of a movable splash panel? How can I place a splash panel to a given X,Y position on a desktop?

The SplashAlignment property allows only 5 fixed positions (top-left, top-right etc). I don't see any properties to set it at a given custom position.

Thanks

Vijayalakshmi Roopkumar [Syncfusion]
Replied On January 16, 2018 07:44 AM

Hi Ercan

Thank you for contacting Syncfusion Support.

You can set the SplashPanel to the desired location using the property SplashAlignment.Custom. We have prepared the sample that tries to meet your requirement. The sample can be downloaded from the following location:

Sample Link:  http://www.syncfusion.com/downloads/support/forum/107163/ze/SplashPanel_Modified1030690698.zip 

Regards
Vijayalakshmi V.R. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;