Click or drag to resize

PresentationFrameworkExtensions Class

Common extension methods for presentation framework objects.
Inheritance Hierarchy
SystemObject
  TomsToolbox.WpfPresentationFrameworkExtensions

Namespace:  TomsToolbox.Wpf
Assembly:  TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version: 1.0.68.0
Syntax
public static class PresentationFrameworkExtensions

The PresentationFrameworkExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberChangeTrackerT
Tracks the changes of the specified property. Unlike the TrackT(T, DependencyProperty), it tracks events only while the frameworkElement is loaded, to avoid memory leaks because the event handlers are referenced by the global DependencyPropertyDescriptor.

[NotNull]

Public methodStatic memberGetCenter
Gets the center point of the specified rectangle.
Public methodStatic memberGetClientRect(FrameworkElement)
Gets the client rectangle of the framework element.
Public methodStatic memberGetClientRect(FrameworkElement, Visual)
Gets the client rectangle of the framework element translated to another visual.
Public methodStatic memberGetDesignUnitSize
Gets the physical size of one design unit in pixels.
Public methodStatic memberGetExtent(FrameworkElement)
Gets the extent of the framework element.
Public methodStatic memberGetExtent(FrameworkElement, FrameworkElement)
Gets the extent of the framework element translated to another visual.
Public methodStatic memberGetPhysicalPixelSize
Gets the physical size of one pixel in design units.
Public methodStatic memberMergeWith
Merges the first transformation with the second.

[NotNull]

Public methodStatic memberProcessMessages(Visual)
Waits until all pending messages up to the Background priority are processed.
Public methodStatic memberProcessMessages(Dispatcher)
Waits until all pending messages up to the Background priority are processed.
Public methodStatic memberProcessMessages(Visual, DispatcherPriority)
Waits until all pending messages up to the specified priority are processed.
Public methodStatic memberProcessMessages(Dispatcher, DispatcherPriority)
Waits until all pending messages up to the specified priority are processed.
Public methodStatic memberTranslate(Point, UIElement, UIElement)
Translates the coordinates of the specified point from the first visual to the second visual.
Public methodStatic memberTranslate(Rect, Visual, Visual)
Translates the coordinates of the specified rectangle from the first visual to the second visual.
Top
See Also