Click or drag to resize
DigitalRuneUIManager Class
Manages the game user interface.
Inheritance Hierarchy
SystemObject
  DigitalRune.Game.UIUIManager

Namespace: DigitalRune.Game.UI
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax
public class UIManager : IUIService

The UIManager type exposes the following members.

Constructors
  NameDescription
Public methodUIManager
Initializes a new instance of the UIManager class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Updates the UI.
Top
Properties
  NameDescription
Public propertyCursor
Gets or sets the mouse cursor, overriding the default mouse cursor.
Public propertyGameForm
Gets the Form of the XNA Game.
Public propertyInputService
Gets the input service.
Public propertyKeyMap
Gets or sets the key map that translates Keys to characters.
Public propertyScreens
Gets the UIScreens.
Top
Remarks

The most important job of this class is to update the screens. Therefore, Update(TimeSpan) must be called once per frame.

The UIManager monitors the game window orientation and calls InvalidateMeasure when it changes (only relevant on Windows Phone 7).

See Also