PresentationSource Members
Collapse the table of content
Expand the table of content

PresentationSource Members

Provides an abstract base for classes that present content from another technology as part of an interoperation scenario. In addition, this class provides static methods for working with these sources, as well as the basic visual-layer presentation architecture.

The following tables list the members exposed by the PresentationSource type.

  Name Description
Protected method PresentationSource Provides initialization for base class values when called by the constructor of a derived class.
Top

  Name Description
Public property CompositionTarget Gets the visual target for the visuals being presented in the source.
Public property Static CurrentSources Returns a list of sources. This list supports an enumerator over a readonly threadsafe copy of the list of sources as added with AddSource.
Public property Dispatcher  Gets the Dispatcher this DispatcherObject is associated with. (inherited from DispatcherObject)
Public property IsDisposed When overridden in a derived class, gets a value that declares whether the object is disposed.
Public property RootVisual When overridden in a derived class, gets or sets the root visual being presented in the source.
Top

(see also Protected Methods )
  Name Description
Public method Static AddSourceChangedHandler Adds a handler for the SourceChanged event to the provided element.
Public method CheckAccess  Determines whether the calling thread has access to this DispatcherObject. (inherited from DispatcherObject)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Static FromVisual Returns the source in which a provided Visual is presented.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Static RemoveSourceChangedHandler Removes a handler for the SourceChanged event from the provided element.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method VerifyAccess  Enforces that the calling thread has access to this DispatcherObject. (inherited from DispatcherObject)
Top

  Name Description
Protected method AddSource Adds a PresentationSource derived class instance to the list of known presentation sources.
Protected method ClearContentRenderedListeners Sets the list of listeners for the ContentRendered event to a null reference (Nothing in Visual Basic).
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method GetCompositionTargetCore When overridden in a derived class, returns a visual target for the given source.
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Protected method RemoveSource Removes a PresentationSource derived class instance from the list of known presentation sources.
Protected method RootChanged Provides notification that the root Visual has changed.
Top

  Name Description
Public event ContentRendered Occurs when content is rendered and ready for user interaction.
Top

Community Additions

ADD
Show:
© 2016 Microsoft