IRenderSurface Interface Members
The following tables list the members exposed by IRenderSurface.
Public Properties
Name | Description | |
---|---|---|
ActualHeight | Gets the height of the SciChart.Core.Framework.IHitTestable (Inherited from SciChart.Core.Framework.IHitTestable) | |
ActualWidth | Gets the width of the SciChart.Core.Framework.IHitTestable (Inherited from SciChart.Core.Framework.IHitTestable) | |
IsSizeValidForDrawing | Returns true if the RenderSurfaceBase size is valid for drawing | |
IsValidForDrawing | Returns true if the RenderSurfaceBase is valid for drawing | |
NeedsResizing | Returns True if the RenderSurfaceBase size has changed and the viewport needs resizing | |
Services | Gets or sets the SciChart.Core.Utility.IServiceContainer instance | |
Style | Gets or sets a Style to apply to the IRenderSurface2D |
Public Methods
Name | Description | |
---|---|---|
Clear | Clears the viewport | |
ClearSeries | Clears all System.Windows.FrameworkElement Visual Children on the IRenderSurface2D | |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from System.IDisposable) | |
GetBoundsRelativeTo | Gets the bounds of the current SciChart.Core.Framework.IHitTestable element relative to another SciChart.Core.Framework.IHitTestable element (Inherited from SciChart.Core.Framework.IHitTestable) | |
InvalidateElement | Asynchronously requests that the element redraws itself plus children. Will be ignored if the element is ISuspendable and currently IsSuspended (within a SuspendUpdates/ResumeUpdates call) (Inherited from SciChart.Core.Framework.IInvalidatableElement) | |
IsPointWithinBounds | Returns true if the Point is within the bounds of the current SciChart.Core.Framework.IHitTestable element (Inherited from SciChart.Core.Framework.IHitTestable) | |
RecreateSurface | Recreates the elements required by the Viewport, called once at startup and when the surface is resized | |
TranslatePoint | Translates the point relative to the other SciChart.Core.Framework.IHitTestable element (Inherited from SciChart.Core.Framework.IHitTestable) |
Extension Methods
Name | Description | |
---|---|---|
SafeDispose | Checks for null and if not null, calls Dispose |
Public Events
Name | Description | |
---|---|---|
Draw | Raised each time the render surface is to be drawn. Handle this event to paint to the surface | |
Rendered | Raised immediately after a render operation has completed |
See Also