Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ContentIsland Class
Definition
- Namespace:
- Microsoft.UI.Content
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A self-contained piece of content with independent input, output, layout, and accessibility that is connected to a parent ContentSite.
[WebHostHidden]
public ref class ContentIsland : ICompositionSupportsSystemBackdrop, IClosableNotifier, IClosable
[WebHostHidden]
public ref class ContentIsland : ICompositionSupportsSystemBackdrop, IContentIslandEndpointConnectionPrivate, IClosableNotifier, IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65540)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[WebHostHidden]
class ContentIsland : ICompositionSupportsSystemBackdrop, IClosableNotifier, IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65540)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[WebHostHidden]
class ContentIsland : ICompositionSupportsSystemBackdrop, IContentIslandEndpointConnectionPrivate, IClosableNotifier, IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65540)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class ContentIsland : ICompositionSupportsSystemBackdrop, IClosableNotifier, System.IDisposable
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65540)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class ContentIsland : ICompositionSupportsSystemBackdrop, IContentIslandEndpointConnectionPrivate, IClosableNotifier, System.IDisposable
Public Class ContentIsland
Implements IClosableNotifier, ICompositionSupportsSystemBackdrop, IDisposable
Public Class ContentIsland
Implements IClosableNotifier, ICompositionSupportsSystemBackdrop, IContentIslandEndpointConnectionPrivate, IDisposable
- Inheritance
- Attributes
- Implements
Remarks
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.
Properties
| Name | Description |
|---|---|
| ActualSize |
Gets the logical size of the ContentIsland, as determined by the ContentSite. |
| AppData |
Gets or sets a storage container for this ContentIsland. |
| AutomationOption |
Gets the option for the automation hosting contract for this ContentIsland. |
| Children |
Gets an unordered enumeration of the ChildSiteLink objects parented to this ContentIsland. |
| ConnectionInfo | |
| CoordinateConverter |
Gets the ContentCoordinateConverter for this ContentIsland. |
| CustomProperties |
Gets the set of custom properties for the ContentIsland. |
| DispatcherQueue |
Gets the DispatcherQueue associated with this ContentIsland. |
| Environment |
Gets the ContentIslandEnvironment associated with this ContentIsland. |
| FragmentRootAutomationProvider |
Gets the fragment root automation provider. |
| Id |
Gets the unique identifier for this ContentIsland. |
| IsClosed |
Gets whether this ContentIsland is closed. |
| IsConnected |
Gets whether this ContentIsland is connected to a ContentSite. |
| IsHitTestVisibleWhenTransparent |
Gets or sets whether visual hit testing is supported by this ContentIsland when not displaying any content. |
| IsIslandEnabled |
Gets or sets whether this ContentIsland can receive input. |
| IsIslandVisible |
Gets or sets whether this ContentIsland is shown by its associated ContentSite. |
| IsRemoteEndpointConnected | |
| IsSiteEnabled |
Gets whether the ContentSite can receive input. |
| IsSiteVisible |
Gets whether the associated ContentSite is visible. |
| LayoutDirection |
Gets the layout direction for reading order and text alignment in a ContentSite. |
| LocalToClientTransformMatrix |
Gets the transform matrix from the root |
| LocalToParentTransformMatrix |
Gets the transform matrix from the root |
| NextSiblingAutomationProvider |
Gets the next sibling automation provider. |
| ParentAutomationProvider |
Gets the parent automation provider. |
| Popups |
Gets an unordered enumeration of the DesktopPopupSiteBridge objects parented to this ContentIsland. |
| PreviousSiblingAutomationProvider |
Gets the previous sibling automation provider. |
| ProcessesKeyboardInput |
Gets a value that indicates whether the associated ContentSite is processing keyboard input. |
| ProcessesPointerInput |
Gets a value that indicates whether the associated ContentSite is processing pointer input. |
| RasterizationScale |
Gets the local dots per inch (dpi) of a Microsoft.UI.Composition.ICompositionSurface. |
| Root | |
| SystemBackdrop |
Gets or sets the system backdrop to apply to this ContentIsland. |
Methods
| Name | Description |
|---|---|
| Close() |
Closes the ContentIsland. |
| ConnectRemoteEndpoint(String) | |
| Create(Visual) |
Creates a new ContentIsland in a disconnected and empty state. |
| CreateForSystemVisual(DispatcherQueue, Visual) |
Creates a new ContentIsland instance in a disconnected and empty state for a system (Windows.UI.Composition) |
| Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| FindAllForCompositor(Compositor) |
Retrieves all ContentIsland objects associated with the specified Microsoft.UI.Composition.Compositor. |
| FindAllForCurrentThread() |
Retrieves all ContentIsland objects owned by the current thread. |
| FindAllForSystemCompositor(Compositor) |
Retrieves all ContentIsland objects associated with the specified system (Windows.UI.Composition) |
| GetAutomationHostProvider() |
Gets the host automation provider associated with the ContentIsland. |
| GetBySystemVisual(Visual) |
Retrieves a ContentIsland object where the specified system (Windows.UI.Composition) |
| GetByVisual(Visual) |
Retrieves the ContentIsland that contains the specified child Visual object on the current thread. |
| GetFromId(UInt64) |
Retrieves the ContentIsland with the specified identifier. |
| GetStateChangeDeferral() |
Retrieves a ContentDeferral object that enables asynchronous updates to individual properties without raising StateChanged events until the deferral is completed. |
| RequestSize(Vector2) |
Retrieves a new size for the ContentIsland from the ContentSite. |
Events
| Name | Description |
|---|---|
| AutomationProviderRequested |
Occurs when an automation provider is requested for this ContentIsland. |
| Closed |
Occurs when the ContentIsland is closed. |
| Connected | |
| Disconnected | |
| FrameworkClosed |
Occurs when a framework closes. |
| StateChanged |
Occurs when a state property for this ContentIsland changes. |
Applies to
Feedback
Was this page helpful?
