Gets the value of the HostStyle attached property for a given DependencyObject.

Namespace:  Mindscape.WpfElements.WpfPropertyGrid
Assembly:  Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public static Style GetHostStyle(
	DependencyObject obj
)
Visual Basic (Declaration)
Public Shared Function GetHostStyle ( _
	obj As DependencyObject _
) As Style

Parameters

obj
Type: System.Windows..::.DependencyObject
The element from which to read the property value.

Return Value

The value of the HostStyle attached property.

See Also