RenderComponent Class
Definition
Section titled “Definition”A base class that implements Render(IScreenObject, TimeSpan) of IComponent.
public abstract class RenderComponent : IComponentInheritance object
Implements IComponent
Constructors
Section titled “Constructors”RenderComponent()
Section titled “RenderComponent()”protected RenderComponent()Properties
Section titled “Properties”SortOrder
Section titled “SortOrder”Indicates priority to other components.
public uint SortOrder { get; set; }Methods
Section titled “Methods”Render(IScreenObject, TimeSpan)
Section titled “Render(IScreenObject, TimeSpan)”Called by a host on the draw frame.
public abstract void Render(IScreenObject host, TimeSpan delta)Parameters
Section titled “Parameters”host IScreenObject
The host calling the component.
delta TimeSpan
The time that has elapsed from the last call to this component.
OnAdded(IScreenObject)
Section titled “OnAdded(IScreenObject)”Called when the component is added to a host.
public virtual void OnAdded(IScreenObject host)Parameters
Section titled “Parameters”host IScreenObject
The host that added the component.
OnRemoved(IScreenObject)
Section titled “OnRemoved(IScreenObject)”Called when the component is removed from the host.
public virtual void OnRemoved(IScreenObject host)Parameters
Section titled “Parameters”host IScreenObject
The host that removed the component.