public sealed class CanvasAnimatedControl : UserControl, IAnimationObject, IVisualElement, ICanvasAnimatedControl, ICanvasResourceCreatorWithDpi, ICanvasResourceCreator
Thetype exposes the following members.
Initializes a new instance of the CanvasAnimatedControl class.
The color that the control is cleared to before the Draw event is raised.
Gets or sets an application-chosen device for this control.
Gets the underlying device used by this control.
Gets the current dots-per-inch (DPI) of this control.
Gets or sets a scaling factor applied to this control's Dpi.
Gets or sets the whether the devices that this control creates will be forced to software rendering.
Gets whether the current thread is the game loop thread.
Indicates whether the game loop is running in fixed or variable timing mode.
Indicates whether the control's game loop is paused.
Gets whether the control is in a state where it is ready to draw.
Gets the current size of the control, in device independent pixels (DIPs).
Gets or sets the time between Update events
Gets or sets whether this control should create a new device each time, or use a device which may common between other controls.
Converts units from device independent pixels (DIPs) to physical pixels based on the current DPI of this control.
Converts units from physical pixels to device independent pixels (DIPs) based on the current DPI of this control.
Creates an input source that can process input on a non-UI thread (such as the game loop thread).
Marks this control as requiring redrawing.
Removes the control from the last FrameworkElement it was parented to.
Ensures that only a single Update event will be raised on the next iteration of the game loop.
Schedules the provided callback to run asynchronously on the game loop thread.
Hook this event to create any resources needed for your drawing.
Hook this event to draw the contents of the control.
Occurs on the game loop thread just before the game loop starts.
Occurs on the game loop thread just after the game loop stops.
Hook this event to update any data, as necessary, for your app's animation.
CanvasAnimatedControl is currently unsupported for WinUI3