/// <summary> /// Gets the value of the OriginalSource attached property for a specified PictureMarkerSymbol. /// </summary> /// <param name="element">The PictureMarkerSymbol from which the property value is read.</param> /// <returns>The OriginalSource property value for the PictureMarkerSymbol.</returns> public static string GetOriginalSource(PictureMarkerSymbol element) { if (element == null) { throw new ArgumentNullException("element"); } return(element.GetValue(OriginalSourceProperty) as string); }
/// <summary> /// Gets the value of the OriginalSource attached property for a specified PictureMarkerSymbol. /// </summary> /// <param name="element">The PictureMarkerSymbol from which the property value is read.</param> /// <returns>The OriginalSource property value for the PictureMarkerSymbol.</returns> public static string GetOriginalSource(PictureMarkerSymbol element) { if (element == null) { throw new ArgumentNullException("element"); } return element.GetValue(OriginalSourceProperty) as string; }