Click or drag to resize
CanvasControl Methods

The CanvasControl type exposes the following members.

Methods
  NameDescription
Public methodConvertDipsToPixels
Converts units from device independent pixels (DIPs) to physical pixels based on the current DPI of this control.
Public methodConvertPixelsToDips
Converts units from physical pixels to device independent pixels (DIPs) based on the current DPI of this control.
Public methodInvalidate
Indicates that the contents of the CanvasControl need to be redrawn. Calling Invalidate results in the Draw event being raised shortly afterward.
Public methodRemoveFromVisualTree
Removes the control from the last FrameworkElement it was parented to.
Top
See Also