C# Class AdvancedLauncher.Tools.Interop.HwndSourceHostRoot

Inheritance: System.Windows.Controls.Decorator
Afficher le fichier Open project: GoldRenard/DMOAdvancedLauncher Class Usage Examples

Méthodes publiques

Свойство Type Description
IsLogicalParentEnabledProperty System.Windows.DependencyProperty

Méthodes protégées

Méthode 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 méthode

protected GetUIParentCore ( ) : DependencyObject
Résultat System.Windows.DependencyObject

OnChildDesiredSizeChanged() protected méthode

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
Résultat void

Property Details

IsLogicalParentEnabledProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsLogicalParentEnabledProperty
Résultat System.Windows.DependencyProperty