The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
ADAdministrator Syncfusion Team April 14, 2005 07:00 PM UTC
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
DTDave TaylorApril 15, 2005 10:16 PM UTC
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