PresentationSource Class
TOC
Collapse the table of content
Expand the table of content

PresentationSource Class

 

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.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)


[UIPermissionAttribute(SecurityAction.InheritanceDemand, Unrestricted = true)]
public abstract class PresentationSource : DispatcherObject

NameDescription
System_CAPS_protmethodPresentationSource()

Provides initialization for base class values when called by the constructor of a derived class.

NameDescription
System_CAPS_pubpropertyCompositionTarget

Gets the visual target for the visuals being presented in the source.

System_CAPS_pubpropertySystem_CAPS_staticCurrentSources

Returns a list of sources.

System_CAPS_pubpropertyDispatcher

Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)

System_CAPS_pubpropertyIsDisposed

When overridden in a derived class, gets a value that declares whether the object is disposed.

System_CAPS_pubpropertyRootVisual

When overridden in a derived class, gets or sets the root visual being presented in the source.

NameDescription
System_CAPS_protmethodAddSource()

Adds a PresentationSource derived class instance to the list of known presentation sources.

System_CAPS_pubmethodSystem_CAPS_staticAddSourceChangedHandler(IInputElement, SourceChangedEventHandler)

Adds a handler for the SourceChanged event to the provided element.

System_CAPS_pubmethodCheckAccess()

Determines whether the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.)

System_CAPS_protmethodClearContentRenderedListeners()

Sets the list of listeners for the ContentRendered event to null.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticFromDependencyObject(DependencyObject)

Returns the source in which a provided DependencyObject is presented.

System_CAPS_pubmethodSystem_CAPS_staticFromVisual(Visual)

Returns the source in which a provided Visual is presented.

System_CAPS_protmethodGetCompositionTargetCore()

When overridden in a derived class, returns a visual target for the given source.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodRemoveSource()

Removes a PresentationSource derived class instance from the list of known presentation sources.

System_CAPS_pubmethodSystem_CAPS_staticRemoveSourceChangedHandler(IInputElement, SourceChangedEventHandler)

Removes a handler for the SourceChanged event from the provided element.

System_CAPS_protmethodRootChanged(Visual, Visual)

Provides notification that the root Visual has changed.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodVerifyAccess()

Enforces that the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.)

NameDescription
System_CAPS_pubeventContentRendered

Occurs when content is rendered and ready for user interaction.

UIPermission

to derive from this class. Associated enumeration: PermissionState.Unrestricted.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft