RadLayeredWindow
Represents a Win2K+ layered window semantic, which allows for semi-transparent windows.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class RadLayeredWindow : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
Inheritance: objectMarshalByRefObjectComponentControlRadLayeredWindow
Implements:
Inherited Members
Constructors
Default constructor.
public RadLayeredWindow()
Properties
Gets or sets the Alpha (transparency) value - [0, 1] - for the window.
public float Alpha { get; set; }
Gets or sets the Image that represents the Layered window.
public override Image BackgroundImage { get; set; }
Overrides:
Gets or sets the RadSvgImage that represents the Layered window.
public RadSvgImage BackgroundSvgImage { get; set; }
Gets the final Bitmap that represents the content of the Layered Window.
protected Bitmap Content { get; }
protected override CreateParams CreateParams { get; }
Overrides:
Gets or sets the size of the window.
public Size DesiredSize { get; set; }
Gets the current size used by the window to visualize itself.
public virtual Size DisplaySize { get; }
Determines whether the Control is visible for mouse input.
public bool HitTestable { get; set; }
Determines whether window's handle will be re-created upon a Size change. If the window is large - e.g. 800*600 pixels, applying new size may cause flicker due to the nature of Layered Windows semantic.
public bool RecreateHandleOnSizeChanged { get; set; }
Determines whether the window is TopMost (above all floating windows).
public bool TopMost { get; set; }
Methods
Brings the window on top of the z-order.
protected override void OnPaintBackground(PaintEventArgs pevent)
Overrides:
Resumes previously suspended updates and forces Layered update.
public void ResumeUpdates()
Resumes previously suspended updates. Optionally preforms Layered update.
Sends the window to back of the z-order.
Displays the window to user using the specified location and current size.
Suspends any Layered-related updates for the window. Useful for multiple properties set-up without sequential update for each property change.
public void SuspendUpdates()
Updates the layered window.
protected void UpdateWindow()
Provides special handling for the WM_MOUSEACTIVATE, WM_PAINT and WM_NCHITTEST messages.