Sets 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 void SetHostStyle(
	DependencyObject obj,
	Style value
)
Visual Basic (Declaration)
Public Shared Sub SetHostStyle ( _
	obj As DependencyObject, _
	value As Style _
)

Parameters

obj
Type: System.Windows..::.DependencyObject
The element on which to set the attached property.
value
Type: System.Windows..::.Style
The property value to set.

Remarks

The HostStyle property is used by internal elements of the editor template. User code should not set the HostStyle property directly.

See Also