ScalableImage.OnRender(DrawingContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the control is being rendered. Renders the contents of the image as a vector or a bitmap, depending on which is provided.
protected:
override void OnRender(System::Windows::Media::DrawingContext ^ drawingContext);
protected override void OnRender (System.Windows.Media.DrawingContext drawingContext);
override this.OnRender : System.Windows.Media.DrawingContext -> unit
Protected Overrides Sub OnRender (drawingContext As DrawingContext)
Parameters
- drawingContext
- DrawingContext
An instance of DrawingContext used to render the control.