C# Class AdvancedLauncher.Tools.Interop.HwndSourceHostRoot

Inheritance: System.Windows.Controls.Decorator
Datei anzeigen Open project: GoldRenard/DMOAdvancedLauncher Class Usage Examples

Public Properties

Property Type Description
IsLogicalParentEnabledProperty System.Windows.DependencyProperty

Protected Methods

Method Description
GetUIParentCore ( ) : DependencyObject
OnChildDesiredSizeChanged ( UIElement child ) : void

This virtual is called when the system measured the child and the result was different. The default behavior is to invalidate measure on the element. However, since we are not visually connected to the containing HwndSourceHost, this doesn't do anything useful. We manually tell the HwndSourceHost so it can invalidate measure on itself.

Method Details

GetUIParentCore() protected method

protected GetUIParentCore ( ) : DependencyObject
return System.Windows.DependencyObject

OnChildDesiredSizeChanged() protected method

This virtual is called when the system measured the child and the result was different. The default behavior is to invalidate measure on the element. However, since we are not visually connected to the containing HwndSourceHost, this doesn't do anything useful. We manually tell the HwndSourceHost so it can invalidate measure on itself.
protected OnChildDesiredSizeChanged ( UIElement child ) : void
child UIElement
return void

Property Details

IsLogicalParentEnabledProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsLogicalParentEnabledProperty
return System.Windows.DependencyProperty