PresentationSource Methods

The PresentationSource type exposes the following members.

  Name Description
Protected method AddSource Adds a PresentationSource derived class instance to the list of known presentation sources.
Public method Static member 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.)
Protected method ClearContentRenderedListeners Sets the list of listeners for the ContentRendered event to null.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member FromDependencyObject Returns the source in which a provided DependencyObject is presented.
Public method Static member FromVisual Returns the source in which a provided Visual is presented.
Protected method GetCompositionTargetCore When overridden in a derived class, returns a visual target for the given source.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
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.
Public method Static member RemoveSourceChangedHandler Removes a handler for the SourceChanged event from the provided element.
Protected method RootChanged Provides notification that the root Visual has changed.
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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft