Click or drag to resize
RadLayeredWindow Class
Represents a Win2K+ layered window semantic, which allows for semi-transparent windows.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.ComponentModelComponent
      System.Windows.FormsControl
        Telerik.WinControlsRadLayeredWindow

Namespace: Telerik.WinControls
Assembly: Telerik.WinControls (in Telerik.WinControls.dll) Version: 2018.3.1016.40 (2018.3.1016.40)
Syntax
public class RadLayeredWindow : Control

The RadLayeredWindow type exposes the following members.

Constructors
  NameDescription
Public methodRadLayeredWindow
Default constructor.
Top
Properties
  NameDescription
Public propertyAlpha
Gets or sets the Alpha (transparency) value - [0, 1] - for the window.
Public propertyBackgroundImage
Gets or sets the Image that represents the Layered window.
(Overrides ControlBackgroundImage.)
Protected propertyContent
Gets the final Bitmap that represents the content of the Layered Window.
Protected propertyCreateParams
(Overrides ControlCreateParams.)
Public propertyDesiredSize
Gets or sets the size of the window.
Public propertyDisplaySize
Gets the current size used by the window to visualize itself.
Public propertyHitTestable
Determines whether the Control is visible for mouse input.
Public propertyRecreateHandleOnSizeChanged
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 propertyTopMost
Determines whether the window is TopMost (above all floating windows).
Public propertyUpdated
Determines whether the window is updated (used UpdateLayeredWindow API).
Top
Methods
  NameDescription
Public methodBringToFront
Brings the window on top of the z-order.
Protected methodOnPaint
(Overrides ControlOnPaint(PaintEventArgs).)
Protected methodOnPaintBackground
(Overrides ControlOnPaintBackground(PaintEventArgs).)
Protected methodPaintWindow
Performs painting of the window. Default implementation simply paints the BackgroundImage (if any).
Public methodResumeUpdates
Resumes previously suspended updates and forces Layered update.
Public methodResumeUpdates(Boolean)
Resumes previously suspended updates. Optionally preforms Layered update.
Public methodSendToBack
Sends the window to back of the z-order.
Public methodShowWindow
Displays the window to user using the specified location and current size.
Public methodSuspendUpdates
Suspends any Layered-related updates for the window. Useful for multiple properties set-up without sequential update for each property change.
Protected methodUpdateWindow
Updates the layered window.
Protected methodWndProc
Provides special handling for the WM_MOUSEACTIVATE, WM_PAINT and WM_NCHITTEST messages.
(Overrides ControlWndProc(Message).)
Top
See Also