VirtualSurfaceImageSource class

1 out of 2 rated this helpful - Rate this topic

Extends SurfaceImageSource to support scenarios when the content is potentially larger than what can fit on screen and the content must be virtualized to render optimally.

Inheritance

Object
  DependencyObject
    ImageSource
      SurfaceImageSource
        VirtualSurfaceImageSource

Syntax

Public NotInheritable Class VirtualSurfaceImageSource  
    Inherits SurfaceImageSource

Attributes

ActivatableAttribute(Windows.UI.Xaml.Media.Imaging.IVirtualSurfaceImageSourceFactory, NTDDI_WIN8)
MarshalingBehaviorAttribute(Agile)
ThreadingAttribute(Both)
VersionAttribute(NTDDI_WIN8)
WebHostHiddenAttribute()

Members

The VirtualSurfaceImageSource class has these types of members:

Constructors

The VirtualSurfaceImageSource class has these constructors.

ConstructorDescription
VirtualSurfaceImageSource(Int32, Int32) Initializes a new instance of the VirtualSurfaceImageSource class, specifying the size of the drawing area.
VirtualSurfaceImageSource(Int32, Int32, Boolean) Initializes a new instance of the VirtualSurfaceImageSource class, specifying the size of the drawing area.

 

Methods

The VirtualSurfaceImageSource class has these methods. It also inherits methods from the Object class.

MethodDescription
ClearValue Clears the local value of a dependency property. (Inherited from DependencyObject)
GetAnimationBaseValue Returns any base value established for a dependency property, which would apply in cases where an animation is not active. (Inherited from DependencyObject)
GetValue Returns the current effective value of a dependency property from a DependencyObject. (Inherited from DependencyObject)
ReadLocalValue Returns the local value of a dependency property, if a local value is set. (Inherited from DependencyObject)
SetValue Sets the local value of a dependency property on a DependencyObject. (Inherited from DependencyObject)

 

Properties

The VirtualSurfaceImageSource class has these properties.

PropertyAccess typeDescription

Dispatcher

Read-onlyGets the CoreDispatcher that this object is associated with. (Inherited from DependencyObject)

 

Remarks

This class has additional APIs, but those APIs are for Microsoft DirectX interoperation and are not part of the general app programming model otherwise described in this documentation. For example, from the DirectX side, you can call BeginDraw. For more info on how to draw to a VirtualSurfaceImageSource, including sample code, see DirectX and XAML interop.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Namespace

Windows.UI.Xaml.Media.Imaging
Windows::UI::Xaml::Media::Imaging [C++]

Metadata

Windows.winmd

See also

SurfaceImageSource

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.