Sets the value of the HostStyle attached property for a given DependencyObject.
Namespace:
Mindscape.WpfPropertyGridAssembly: Mindscape.WpfPropertyGrid (in Mindscape.WpfPropertyGrid)
Version: 1.0.0.0 (1.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.