Viewport2DVisual3D.GetIsVisualHostMaterial Method (Material)


Gets the value of the IsVisualHostMaterial attached property for a specified UIElement.

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

public static bool GetIsVisualHostMaterial(
	Material element


Type: System.Windows.Media.Media3D.Material

The element from which the property value is read.

Return Value

Type: System.Boolean

The IsVisualHostMaterial property value for the element.

GetIsVisualHostMaterial is introduced in the .NET Framework version 3.5.

.NET Framework
Available since 3.0
Return to top