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

Namespace:  Mindscape.WpfPropertyGrid
Assembly:  Mindscape.WpfPropertyGrid (in Mindscape.WpfPropertyGrid)
Version: 1.0.0.0 (1.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