| IUIRendererTemplates Property |
Gets the UI control templates that define the game object properties for the different
styles.
Namespace: DigitalRune.Game.UI.RenderingAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax Dictionary<string, GameObject> Templates { get; }
ReadOnly Property Templates As Dictionary(Of String, GameObject)
Get
property Dictionary<String^, GameObject^>^ Templates {
Dictionary<String^, GameObject^>^ get ();
}
abstract Templates : Dictionary<string, GameObject> with get
Property Value
Type:
DictionaryString,
GameObject
The UI control templates that define the game object properties for the different styles.
Remarks
A renderer defines the style of controls. When controls are loaded, they use
GetAttributeT(String, String, T) to initialize their properties. The
UIControl
creates a template game object for each style and caches the template in this dictionary.
See Also