ICompositionSurface Interface

Definition

Represents the content of a surface that can be used to paint the bounds of a SpriteVisual.

Equivalent WinUI interface: Microsoft.UI.Composition.ICompositionSurface.

public interface class ICompositionSurface
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2997319203, 16206, 16634, 162, 106, 100, 54, 107, 31, 40, 29)]
struct ICompositionSurface
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.Guid(354898957, 17095, 18342, 164, 8, 102, 143, 121, 169, 13, 251)]
struct ICompositionSurface
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2997319203, 16206, 16634, 162, 106, 100, 54, 107, 31, 40, 29)]
public interface ICompositionSurface
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.Guid(354898957, 17095, 18342, 164, 8, 102, 143, 121, 169, 13, 251)]
public interface ICompositionSurface
Public Interface ICompositionSurface
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

All surface types that can be used to paint a SpriteVisual must implement this interface.

Applies to

See also