Share via


MapPolygon Class

Inheritance Hierarchy

System.Object
  System.Windows.DependencyObject
    Microsoft.Phone.Maps.Controls.MapElement
      Microsoft.Phone.Maps.Controls.MapPolygon

Namespace:  Microsoft.Phone.Maps.Controls
Assembly:  Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)

Syntax

'Declaration
<ContentPropertyAttribute("Path")> _
Public NotInheritable Class MapPolygon _
    Inherits MapElement
[ContentPropertyAttribute("Path")]
public sealed class MapPolygon : MapElement
[ContentPropertyAttribute(L"Path")]
public ref class MapPolygon sealed : public MapElement
[<Sealed>]
[<ContentPropertyAttribute("Path")>]
type MapPolygon =  
    class 
        inherit MapElement 
    end

The MapPolygon type exposes the following members.

Constructors

  Name Description
Public method MapPolygon

Top

Properties

  Name Description
Public property Dispatcher (Inherited from DependencyObject.)
Public property FillColor
Public property Path
Public property StrokeColor
Public property StrokeDashed
Public property StrokeThickness

Top

Methods

  Name Description
Public method CheckAccess (Inherited from DependencyObject.)
Public method ClearValue(DependencyProperty) Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier. (Inherited from DependencyObject.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetAnimationBaseValue (Inherited from DependencyObject.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetValue Returns the current effective value of a dependency property on this instance of a DependencyObject. (Inherited from DependencyObject.)
Public method ReadLocalValue Returns the local value of a dependency property, if it exists. (Inherited from DependencyObject.)
Public method SetValue(DependencyProperty, Object) Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from DependencyObject.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member FillColorProperty
Public fieldStatic member PathProperty
Public fieldStatic member StrokeColorProperty
Public fieldStatic member StrokeDashedProperty
Public fieldStatic member StrokeThicknessProperty

Top

Version Information

.NET for Windows Phone apps

Supported in: Windows Phone 8, Silverlight 8.1

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Phone.Maps.Controls Namespace