CompositionTargetHelper Class

Definition

Provides helpers for the Windows.UI.Xaml.Media.CompositionTarget class.

public static class CompositionTargetHelper
type CompositionTargetHelper = class
Public Class CompositionTargetHelper
Inheritance
CompositionTargetHelper

Methods

ExecuteAfterCompositionRenderingAsync(Action)

Provides a method to execute code after the rendering pass is completed. https://github.com/microsoft/microsoft-ui-xaml/blob/c045cde57c5c754683d674634a0baccda34d58c4/dev/dll/SharedHelpers.cpp#L399

ExecuteAfterCompositionRenderingAsync(Action, Nullable<TaskCreationOptions>)

Provides a method to execute code after the rendering pass is completed. https://github.com/microsoft/microsoft-ui-xaml/blob/c045cde57c5c754683d674634a0baccda34d58c4/dev/dll/SharedHelpers.cpp#L399https://devblogs.microsoft.com/premier-developer/the-danger-of-taskcompletionsourcet-class/

Applies to