ImageVisual Class
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.
Represents a visual tree node that is the root of a CompositionImage.
public ref class ImageVisual sealed : ContainerVisual
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ImageVisual final : ContainerVisual
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ImageVisual : ContainerVisual
Public NotInheritable Class ImageVisual
Inherits ContainerVisual
- Inheritance
- Attributes
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Important
This API exists only in Windows 10, version 1507 (Build 10240).
Anchor |
The point on the visual to be positioned at the visual's offset. Value is normalized with respect to the size of the visual. Animatable. (Inherited from Visual) |
Backface |
Specifies whether the back face of the visual should be visible during a 3D transform. (Inherited from Visual) |
Border |
Specifies how to compose the edges of bitmaps and clips associated with a visual, or with all visuals in the subtree rooted at this visual. Setting BorderMode at a parent Visual will affect all children visuals in the subtree and can be selectively turned off at each child visual. (Inherited from Visual) |
Center |
The point about which rotation or scaling occurs. Animatable (Inherited from Visual) |
Children |
The children of the ContainerVisual. (Inherited from ContainerVisual) |
Clip |
Specifies the clipping region for the visual. When a visual is rendered, only the portion of the visual that falls inside the clipping region is displayed, while any content that extends outside the clipping region is clipped (that is, not displayed). (Inherited from Visual) |
Comment |
A string to associate with the CompositionObject. (Inherited from CompositionObject) |
Composite |
Specifies how a visual's bitmap is blended with the screen. (Inherited from Visual) |
Compositor |
The Compositor used to create this CompositionObject. (Inherited from CompositionObject) |
Dispatcher |
The dispatcher for the CompositionObject. (Inherited from CompositionObject) |
Dispatcher |
Gets the DispatcherQueue for the CompostionObject. (Inherited from CompositionObject) |
Horizontal |
Gets or sets the horizontal alignment ratio of the image. |
Image |
Gets or sets the image. |
Implicit |
The collection of implicit animations attached to this object. (Inherited from CompositionObject) |
Is |
Gets or sets a value that indicates whether the visual sub-tree rooted at this visual participates in hit testing. (Inherited from Visual) |
Is |
Gets or sets a value that indicates whether the composition engine aligns the rendered visual with a pixel boundary. (Inherited from Visual) |
Is |
Indicates whether the visual and its entire subtree of child visuals is visible. (Inherited from Visual) |
Offset |
The offset of the visual relative to its parent or for a root visual the offset relative to the upper-left corner of the windows that hosts the visual. Animatable. (Inherited from Visual) |
Opacity |
The opacity of the visual. Animatable. The opacity property determines the transparency, if any, of the Visual and is a value from 0 to 1. 0 is fully transparent and 1 is full opaque. A Visual with an Opacity property of 0 is still present in the tree. Like other properties on the Visual, Opacity can be animated using the Windows,UI.Composition animation system. (Inherited from Visual) |
Orientation |
A quaternion describing an orientation and rotation in 3D space that will be applied to the visual. Animatable. (Inherited from Visual) |
Parent |
The parent of the visual. (Inherited from Visual) |
Parent |
Visual specifying the coordinate system in which this visual is composed. (Inherited from Visual) |
Properties |
The collection of properties associated with the CompositionObject. (Inherited from CompositionObject) |
Relative |
Specifies the offset of the visual with respect to the size of its parent visual. (Inherited from Visual) |
Relative |
Gets or sets the size of the visual with respect to the size of its parent visual. (Inherited from Visual) |
Rotation |
The rotation angle in radians of the visual. Animatable. (Inherited from Visual) |
Rotation |
The rotation angle of the visual in degrees. Animatable. (Inherited from Visual) |
Rotation |
The axis to rotate the visual around. Animatable. (Inherited from Visual) |
Scale |
The scale to apply to the visual. (Inherited from Visual) |
Size |
The width and height of the visual. Animatable. (Inherited from Visual) |
Stretch |
Gets or sets the stretch of the image. |
Transform |
The transformation matrix to apply to the visual. Animatable. (Inherited from Visual) |
Vertical |
Gets or sets the vertical alignment ratio of the image. |
Close() |
Closes the CompositionObject and releases system resources. (Inherited from CompositionObject) |
Connect |
Connects and animation. (Inherited from CompositionObject) |
Disconnect |
Disconnects an animation. (Inherited from CompositionObject) |
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from CompositionObject) |
Populate |
Defines a property that can be animated. (Inherited from CompositionObject) |
Start |
Connects an animation with the specified property of the object and starts the animation. (Inherited from CompositionObject) |
Start |
Connects an animation with the specified property of the object and starts the animation. (Inherited from CompositionObject) |
Start |
Starts an animation group. The StartAnimationGroup method on CompositionObject lets you start CompositionAnimationGroup. All the animations in the group will be started at the same time on the object. (Inherited from CompositionObject) |
Stop |
Disconnects an animation from the specified property and stops the animation. (Inherited from CompositionObject) |
Stop |
Stops an animation group. (Inherited from CompositionObject) |
Try |
Returns an AnimationController for the animation running on the specified property. (Inherited from CompositionObject) |
Product | Versions |
---|---|
WinRT | Build 10240 |