Glass Class |
Namespace: Ookii.Dialogs
The Glass type exposes the following members.
Name | Description | |
---|---|---|
IsDwmCompositionEnabled |
Gets a value that indicates whether desktop composition is enabled.
| |
OSSupportsDwmComposition |
Gets a value that indicates whether the operating system supports composition through the Desktop Window Manager.
|
Name | Description | |
---|---|---|
DrawCompositedText |
Draws composited text onto the glass area of a form.
| |
ExtendFrameIntoClientArea |
Extends the glass window frame into the client area of the specified window.
| |
MeasureCompositedText |
Provides the size, in pixels, of the specified text.
|
This class provides functionality to extend the Windows Vista Aero glass window frame into a window's client area, and to draw text on the glass area.
The ExtendedForm class provides more comprehensive support for client area glass than using ExtendFrameIntoClientArea(IWin32Window, Padding) by using its GlassMargin property. In addition to the basic client area glass support, ExtendedForm will also respond to changes in the Desktop Window Manager state and enable/disable client area glass as necessary. It also allows the window to be dragged using the client area glass areas using the AllowGlassDragging property.
Note |
---|
Use of glass requires Windows Vista or later with the Desktop Window Manager enabled. |