UIRendererRenderCallbacks Property |
Namespace: DigitalRune.Game.UI.Rendering
The render callbacks are methods that render a given control. The keys in this dictionary are the style names, e.g. "TextBox".
The render callbacks get the UIControl to be rendered and a UIRenderContext that contains additional information as input parameters. When the render callback is called, the background of the control has already been cleared by the UIRenderer if the UIControl uses a Background color. The UIRenderContext contains the control's effective Opacity and the effective RenderTransform. (These properties are automatically updated by the UIRenderer.)
Render callbacks may cache information in RenderData.