Partager via


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
System_CAPS_pubproperty ColorTable

Gets the color table that is associated with this renderer.

System_CAPS_pubproperty CompositionEnabled

Gets a value that indicates whether the desktop window manager (DWM) composition is enabled.

System_CAPS_pubpropertySystem_CAPS_static CurrentDpi

Gets the current dots per inch (dpi) value of the screen.

System_CAPS_pubpropertySystem_CAPS_static DpiRatio

Gets the current dots per inch (dpi) ratio of the screen.

System_CAPS_pubproperty FontTable

Gets the font table that is associated with this renderer.

System_CAPS_pubpropertySystem_CAPS_static Instance

Gets the one and only singleton instance of the console renderer.

System_CAPS_pubproperty Render3DText

Gets a value that indicates whether text should be rendered with three-dimensional (3-D) effects.

System_CAPS_pubproperty RenderBitmaps

Gets a value that indicates whether bitmaps should be drawn in custom controls.

System_CAPS_pubproperty RenderGradients

Gets a value that indicates whether gradients should be drawn in custom controls.

System_CAPS_pubpropertySystem_CAPS_static StandardDpi

Gets the standard dots per inch (dpi) value under which the console user interface was developed (for example, 96 dpi).

System_CAPS_pubpropertySystem_CAPS_static VisualStylesEnabled

Gets a value that indicates whether visual styles are enabled.

Methods

Name Description
System_CAPS_pubmethod Close()

Releases any held resources by the ConsoleRenderer, if any.

System_CAPS_pubmethod Dispose()

Releases all resources used by the ConsoleRenderer.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod HandleSystemColorChange()

Switches renderer settings based on the current scheme.

System_CAPS_pubmethod 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