SetIsVisualHostMaterial Method
Collapse the table of content
Expand the table of content

Viewport2DVisual3D.SetIsVisualHostMaterial Method (Material, Boolean)

 

Sets the value of the IsVisualHostMaterial attached property to a specified element.

Namespace:   System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)

public static void SetIsVisualHostMaterial(
	Material element,
	bool value
)

Parameters

element
Type: System.Windows.Media.Media3D.Material

The element to which the attached property is written.

value
Type: System.Boolean

The required IsVisualHostMaterial value.

SetIsVisualHostMaterial is introduced in the .NET Framework version 3.5.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft