/// <summary> /// Reads the attached property IsVisualHostMaterial from the given element. /// </summary> /// <param name="element">The element from which to read the IsVisualHostMaterial attached property.</param> /// <returns>The property's value.</returns> public static Boolean GetIsVisualHostMaterial(Material element) { // [BreakingChange] Dev10 TFS Bug #453513 // We should throw ArgumentNullException if element is null. return (bool)element.GetValue(IsVisualHostMaterialProperty); }
/// <summary> /// Reads the attached property IsVisualHostMaterial from the given element. /// </summary> /// <param name="element">The element from which to read the IsVisualHostMaterial attached property.</param> /// <returns>The property's value.</returns> public static Boolean GetIsVisualHostMaterial(Material element) { // [BreakingChange] Dev10 TFS Bug #453513 // We should throw ArgumentNullException if element is null. return((bool)element.GetValue(IsVisualHostMaterialProperty)); }
/// <summary> /// Reads the attached property IsVisualHostMaterial from the given element. /// </summary> /// <param name="element">The element from which to read the IsVisualHostMaterial attached property.</param> /// <returns>The property's value.</returns> public static Boolean GetIsVisualHostMaterial(Material element) { // We should throw ArgumentNullException if element is null. return((bool)element.GetValue(IsVisualHostMaterialProperty)); }
/// <summary> /// Reads the attached property IsVisualHostMaterial from the given element. /// </summary> /// <param name="element">The element from which to read the IsVisualHostMaterial attached property.</param> /// <returns>The property's value.</returns> public static Boolean GetIsVisualHostMaterial(Material element) { // [BreakingChange] Dev10 TFS return((bool)element.GetValue(IsVisualHostMaterialProperty)); }