Viewport2DVisual3D.GetIsVisualHostMaterial Method (Material)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

Public Shared Function GetIsVisualHostMaterial (
	element As Material
) As Boolean


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