 | PresentationFrameworkExtensions Class |
Common extension methods for presentation framework objects.
Inheritance Hierarchy Namespace: TomsToolbox.WpfAssembly: TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntaxpublic static class PresentationFrameworkExtensions
<ExtensionAttribute>
Public NotInheritable Class PresentationFrameworkExtensions
The PresentationFrameworkExtensions type exposes the following members.
Methods | Name | Description |
---|
 | ChangeTrackerT |
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.
|
 | GetCenter |
Gets the center point of the specified rectangle.
|
 | GetClientRect(FrameworkElement) |
Gets the client rectangle of the framework element.
|
 | GetClientRect(FrameworkElement, Visual) |
Gets the client rectangle of the framework element translated to another visual.
|
 | GetDesignUnitSize |
Gets the physical size of one design unit in pixels.
|
 | GetExtent(FrameworkElement) |
Gets the extent of the framework element.
|
 | GetExtent(FrameworkElement, FrameworkElement) |
Gets the extent of the framework element translated to another visual.
|
 | GetPhysicalPixelSize |
Gets the physical size of one pixel in design units.
|
 | MergeWith |
Merges the first transformation with the second.
|
 | ProcessMessages(Dispatcher) |
Waits until all pending messages up to the Background priority are processed.
|
 | ProcessMessages(Visual) |
Waits until all pending messages up to the Background priority are processed.
|
 | ProcessMessages(Dispatcher, DispatcherPriority) |
Waits until all pending messages up to the specified priority are processed.
|
 | ProcessMessages(Visual, DispatcherPriority) |
Waits until all pending messages up to the specified priority are processed.
|
 | Translate(Point, UIElement, UIElement) |
Translates the coordinates of the specified point from the first visual to the second visual.
|
 | Translate(Rect, Visual, Visual) |
Translates the coordinates of the specified rectangle from the first visual to the second visual.
|
Top
See Also