Click or drag to resize
DigitalRunePlatformHelper Class
Provides helper methods for platform-specific tasks. (For internal use by other DigitalRune libraries.)
Inheritance Hierarchy
SystemObject
  DigitalRunePlatformHelper

Namespace: DigitalRune
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public static class PlatformHelper

The PlatformHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateCursor(Stream)
Creates a System.Windows.Forms.Cursor instance.
Public methodStatic memberCreateCursor(String)
Creates a System.Windows.Forms.Cursor instance.
Public methodStatic memberDestroyCursor
Destroys a cursor that was created using (CreateCursor(String)).
Public methodStatic memberGetClipboardText
Gets the clipboard text.
Public methodStatic memberGetForm
Gets the System.Windows.Forms.Form associated with the given handle.
Public methodStatic memberGetKeyMap
Gets the key map for the specified virtual-key codes.
Public methodStatic memberIsFormVisible
Determines whether the specified form is visible.
Public methodStatic memberSetClipboardText
Sets the clipboard text.
Public methodStatic memberSetCursor
Sets the cursor of the specified form.
Top
Properties
  NameDescription
Public propertyStatic memberDefaultCursor
Gets the default cursor (System.Windows.Forms.Form).
Public propertyStatic memberIsClipboardSupported
Gets a value indicating whether the System.Windows.Forms.Clipboard is supported on the current platform.
Public propertyStatic memberMouseWheelScrollDelta
Gets the amount of the delta value of a single mouse wheel rotation increment.
Public propertyStatic memberMouseWheelScrollLines
Gets the number of lines to scroll when the mouse wheel is rotated.
Top
Remarks
Most DigitalRune libraries are platform-independent, portable class libraries. These libraries cannot access platform-specific functions directly. The PlatformHelper provides access to platform-specific functions as needed.
See Also