Viewport2DVisual3D.GetIsVisualHostMaterial Method (Material)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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

Parameters

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
Show: