ConsoleRenderer Class
Provides customizations to the look and feel of the administration console.
Namespace: Microsoft.WindowsServerSolutions.Console.Shared
Assembly: AdminCommon (in AdminCommon.dll)
Inheritance Hierarchy
System.Object
Microsoft.WindowsServerSolutions.Console.Shared.ConsoleRenderer
Syntax
public sealed class ConsoleRenderer : IDisposable
public ref class ConsoleRenderer sealed : IDisposable
Public NotInheritable Class ConsoleRenderer
Implements IDisposable
Properties
Name | Description | |
---|---|---|
ColorTable | Gets the color table that is associated with this renderer. |
|
CompositionEnabled | Gets a value that indicates whether the desktop window manager (DWM) composition is enabled. |
|
CurrentDpi | Gets the current dots per inch (dpi) value of the screen. |
|
DpiRatio | Gets the current dots per inch (dpi) ratio of the screen. |
|
FontTable | Gets the font table that is associated with this renderer. |
|
Instance | Gets the one and only singleton instance of the console renderer. |
|
Render3DText | Gets a value that indicates whether text should be rendered with three-dimensional (3-D) effects. |
|
RenderBitmaps | Gets a value that indicates whether bitmaps should be drawn in custom controls. |
|
RenderGradients | Gets a value that indicates whether gradients should be drawn in custom controls. |
|
StandardDpi | Gets the standard dots per inch (dpi) value under which the console user interface was developed (for example, 96 dpi). |
|
VisualStylesEnabled | Gets a value that indicates whether visual styles are enabled. |
Methods
Name | Description | |
---|---|---|
Close() | Releases any held resources by the ConsoleRenderer, if any. |
|
Dispose() | Releases all resources used by the ConsoleRenderer. |
|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
HandleSystemColorChange() | Switches renderer settings based on the current scheme. |
|
ToString() | (Inherited from Object.) |
Remarks
This class is implemented using the singleton design pattern so that it can be used seamlessly throughout the console.
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.WindowsServerSolutions.Console.Shared Namespace
Return to top