Viewport2DVisual3D.GetIsVisualHostMaterial(Material) Method

Definition

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

public:
 static bool GetIsVisualHostMaterial(System::Windows::Media::Media3D::Material ^ element);
public static bool GetIsVisualHostMaterial (System.Windows.Media.Media3D.Material element);
static member GetIsVisualHostMaterial : System.Windows.Media.Media3D.Material -> bool
Public Shared Function GetIsVisualHostMaterial (element As Material) As Boolean

Parameters

element
Material

The element from which the property value is read.

Returns

The IsVisualHostMaterial property value for the element.

Remarks

GetIsVisualHostMaterial is introduced in the .NET Framework version 3.5.

Applies to