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.

Opacity in floating windows

Thread ID:

Created:

Updated:

Platform:

Replies:

27517 Apr 13,2005 02:56 PM Apr 15,2005 06:16 PM Windows Forms 2
loading
Tags: Tools
Dave Taylor
Asked On April 13, 2005 02:56 PM

Is it possible to set the opacity of a floating window? I see the DockingWrapperForm, but I''m not sure if that is what''s being used for the floating windows (the docs dont say anything about what it''s use is)...or if it is, how to get a reference to it? Thanks Dave

Administrator [Syncfusion]
Replied On April 14, 2005 03:00 PM

Hi Dave, The FloatingForm is used for floating docked windows. You can change the opacity of the floating windows in the DockStateChanged event handler. Here is a code snippet private void dockingManager1_DockStateChanged(object sender, Syncfusion.Windows.Forms.Tools.DockStateChangeEventArgs arg) { if (this.dockingManager1.IsFloating(this.panel1)) { DockHost dhost = this.panel1.Parent as Syncfusion.Windows.Forms.Tools.DockHost; FloatingForm frmfloat = dhost.ParentForm as FloatingForm; frmfloat.Opacity = 0.2; } } Thanks, Stephen. >Is it possible to set the opacity of a floating window? I see the DockingWrapperForm, but I''m not sure if that is what''s being used for the floating windows (the docs dont say anything about what it''s use is)...or if it is, how to get a reference to it? > >Thanks > >Dave

Dave Taylor
Replied On April 15, 2005 06:16 PM

PERFECT! Thanks Stephen >Hi Dave, > >The FloatingForm is used for floating docked windows. You can change the opacity of the floating windows in the DockStateChanged event handler. Here is a code snippet > > private void dockingManager1_DockStateChanged(object sender, Syncfusion.Windows.Forms.Tools.DockStateChangeEventArgs arg) > { > if (this.dockingManager1.IsFloating(this.panel1)) > { > DockHost dhost = this.panel1.Parent as Syncfusion.Windows.Forms.Tools.DockHost; > FloatingForm frmfloat = dhost.ParentForm as FloatingForm; > frmfloat.Opacity = 0.2; > } > } > >Thanks, > >Stephen. > >>Is it possible to set the opacity of a floating window? I see the DockingWrapperForm, but I''m not sure if that is what''s being used for the floating windows (the docs dont say anything about what it''s use is)...or if it is, how to get a reference to it? >> >>Thanks >> >>Dave

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.

;