Compartilhar via


Microsoft.UI.Content Namespace

Provides support for defining the structure of interactive content in a Windows app through ContentSite (parent) and ContentIsland (child) objects using composition-based animations, rendering effects, user input and interactions, accessibility representation, and host state changes.

Classes

ContentCoordinateConverter

Converts between a local coordinate space and the system screen coordinates.

ContentDeferral

Provides support for deferrals of state changes in a ContentIsland.

ContentEnvironmentSettingChangedEventArgs

Contains event data for the ContentIslandEnvironment.SettingChanged event.

ContentEnvironmentStateChangedEventArgs

Contains event data for the Microsoft.UI.Content.ContentIslandEnvironment.StateChanged event.

ContentIsland

A self-contained piece of content with independent input, output, layout, and accessibility that is connected to a parent ContentSite.

ContentIslandAutomationProviderRequestedEventArgs

Contains event data for the AutomationProviderRequested event.

ContentIslandEnvironment

Provides general environment information to a ContentIsland.

ContentIslandStateChangedEventArgs

Contains event data for the Microsoft.UI.Content.ContentIsland.StateChanged event.

ContentSite

Provides a host environment for a ContentIsland.

ContentSiteEnvironment

Provides information about the ContentSite environment to an associated ContentIsland.

ContentSiteEnvironmentView

Provides access to a read-only view of ContentSiteEnvironment properties.

ContentSiteRequestedStateChangedEventArgs

Contains event data for the Microsoft.UI.Content.ContentSite.RequestedStateChanged event.

ContentSiteView

Provides access to a read-only view of ContentSite properties.

DesktopChildSiteBridge

Supports a DesktopSiteBridge implementation for a Win32 WS_CHILD HWND.

DesktopSiteBridge

Abstract class that implements IContentSiteBridge for a Win32 HWND.

Interfaces

IContentSiteBridge

The interface that is implemented by the DesktopSiteBridge class, which provides the minimum support required for communication between a host ContentSite and a ContentIsland.

Enums

ContentCoordinateRoundingMode

Specifies the rounding methods used for converting screen coordinates (float to integer).

ContentLayoutDirection

Specifies the supported layout direction for reading order and text alignment of a ContentSite.

ContentSizePolicy

Specifies the supported resizing capabilities between a DesktopChildSiteBridge and its parent Win32 HWND.

Remarks

A ContentIsland is a self-contained piece of content with independent input, output, layout, and accessibility that is connected to a parent ContentSite. The ContentIsland supports Composition-based animations, rendering effects, and interactive manipulations.

These self-contained pieces of content can be composed into a "scene". Conceptually they are equivalent to child windows because they allow the scene to be subdivided.