Click or drag to resize

JamBaseHwndHost Class

An extended HwndHost class that provides some functionality like automatic clipping in ScrollViewers.
Inheritance Hierarchy

Namespace:  Jam.Shell.WPF.Controls
Assembly:  ShellBrowserWPF (in ShellBrowserWPF.dll) Version: 1.3.1
Syntax
public abstract class JamBaseHwndHost : HwndHost

The JamBaseHwndHost type exposes the following members.

Constructors
  NameDescription
Protected methodJamBaseHwndHost
Default constructor.
Top
Properties
  NameDescription
Public propertyMainWindow
Gets the main window.
Top
Methods
  NameDescription
Protected methodBuildWindowCore
When overridden in a derived class, creates the window to be hosted.
(Overrides HwndHostBuildWindowCore(HandleRef).)
Protected methodCreateWnd
Called after the Window has been created and the component has received a handle.
Protected methodDestroyWindowCore
When overridden in a derived class, destroys the hosted window.
(Overrides HwndHostDestroyWindowCore(HandleRef).)
Protected methodOnVisualParentChanged
Invoked when the parent of this element in the visual tree is changed. Overrides OnVisualParentChanged(DependencyObject) . Finds a ScrollViewer in the visual tree that contains this instance.
(Overrides FrameworkElementOnVisualParentChanged(DependencyObject).)
Protected methodOnWindowPositionChanged
Called when the hosted window's position changes.
(Overrides HwndHostOnWindowPositionChanged(Rect).)
Protected methodWndProc
Calls the DefWindowProc with the given message. This is sometimes necessary when processing messages in subclasses and setting handled to true.
(Overrides HwndHostWndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean).)
Top
See Also