MapPolygon Class

Bing
 

Represents a polygon on the map.

Namespace:   Microsoft.Maps.MapControl.WPF
Assembly:  Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)

System::Object
  System.Windows.Threading::DispatcherObject
    System.Windows::DependencyObject
      System.Windows.Media::Visual
        System.Windows::UIElement
          System.Windows::FrameworkElement
            System.Windows.Controls::Panel
              Microsoft.Maps.MapControl.WPF::MapShapeBase
                Microsoft.Maps.MapControl.WPF::MapPolygon

public ref class MapPolygon : MapShapeBase

NameDescription
System_CAPS_pubmethodMapPolygon()

Initializes a new instance of the MapPolygon class.

NameDescription
System_CAPS_pubpropertyActualHeight

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyActualWidth

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyAllowDrop

(Inherited from UIElement.)

System_CAPS_pubpropertyAreAnyTouchesCaptured

(Inherited from UIElement.)

System_CAPS_pubpropertyAreAnyTouchesCapturedWithin

(Inherited from UIElement.)

System_CAPS_pubpropertyAreAnyTouchesDirectlyOver

(Inherited from UIElement.)

System_CAPS_pubpropertyAreAnyTouchesOver

(Inherited from UIElement.)

System_CAPS_pubpropertyBackground

(Inherited from Panel.)

System_CAPS_pubpropertyBindingGroup

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyBitmapEffect

(Inherited from UIElement.)

System_CAPS_pubpropertyBitmapEffectInput

(Inherited from UIElement.)

System_CAPS_pubpropertyCacheMode

(Inherited from UIElement.)

System_CAPS_pubpropertyChildren

(Inherited from Panel.)

System_CAPS_pubpropertyClip

(Inherited from UIElement.)

System_CAPS_pubpropertyClipToBounds

(Inherited from UIElement.)

System_CAPS_pubpropertyCommandBindings

(Inherited from UIElement.)

System_CAPS_pubpropertyContextMenu

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyCursor

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyDataContext

(Inherited from FrameworkElement.)

System_CAPS_protpropertyDefaultStyleKey

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyDependencyObjectType

(Inherited from DependencyObject.)

System_CAPS_pubpropertyDesiredSize

(Inherited from UIElement.)

System_CAPS_pubpropertyDispatcher

(Inherited from DispatcherObject.)

System_CAPS_pubpropertyEffect

(Inherited from UIElement.)

System_CAPS_protpropertyEncapsulatedShape

Gets the shape.(Inherited from MapShapeBase.)

System_CAPS_pubpropertyFill

Gets or sets the fill of the shape.(Inherited from MapShapeBase.)

System_CAPS_pubpropertyFillRule

Gets or sets the fill rule for the polygon.

System_CAPS_pubpropertyFlowDirection

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyFocusable

(Inherited from UIElement.)

System_CAPS_pubpropertyFocusVisualStyle

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyForceCursor

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyHasAnimatedProperties

(Inherited from UIElement.)

System_CAPS_protpropertyHasLogicalOrientation

(Inherited from Panel.)

System_CAPS_pubpropertyHeight

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyHorizontalAlignment

(Inherited from FrameworkElement.)

System_CAPS_protpropertyInheritanceBehavior

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyInputBindings

(Inherited from UIElement.)

System_CAPS_pubpropertyInputScope

(Inherited from FrameworkElement.)

System_CAPS_protpropertyInternalChildren

(Inherited from Panel.)

System_CAPS_pubpropertyIsArrangeValid

(Inherited from UIElement.)

System_CAPS_pubpropertyIsEnabled

(Inherited from UIElement.)

System_CAPS_protpropertyIsEnabledCore

(Inherited from UIElement.)

System_CAPS_pubpropertyIsFocused

(Inherited from UIElement.)

System_CAPS_pubpropertyIsHitTestVisible

(Inherited from UIElement.)

System_CAPS_pubpropertyIsInitialized

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyIsInputMethodEnabled

(Inherited from UIElement.)

System_CAPS_pubpropertyIsItemsHost

(Inherited from Panel.)

System_CAPS_pubpropertyIsKeyboardFocused

(Inherited from UIElement.)

System_CAPS_pubpropertyIsKeyboardFocusWithin

(Inherited from UIElement.)

System_CAPS_pubpropertyIsLoaded

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyIsManipulationEnabled

(Inherited from UIElement.)

System_CAPS_pubpropertyIsMeasureValid

(Inherited from UIElement.)

System_CAPS_pubpropertyIsMouseCaptured

(Inherited from UIElement.)

System_CAPS_pubpropertyIsMouseCaptureWithin

(Inherited from UIElement.)

System_CAPS_pubpropertyIsMouseDirectlyOver

(Inherited from UIElement.)

System_CAPS_pubpropertyIsMouseOver

(Inherited from UIElement.)

System_CAPS_pubpropertyIsSealed

(Inherited from DependencyObject.)

System_CAPS_pubpropertyIsStylusCaptured

(Inherited from UIElement.)

System_CAPS_pubpropertyIsStylusCaptureWithin

(Inherited from UIElement.)

System_CAPS_pubpropertyIsStylusDirectlyOver

(Inherited from UIElement.)

System_CAPS_pubpropertyIsStylusOver

(Inherited from UIElement.)

System_CAPS_pubpropertyIsVisible

(Inherited from UIElement.)

System_CAPS_pubpropertyLanguage

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyLayoutTransform

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyLocations

Gets or sets the locations that define the vertices of the shape.(Inherited from MapShapeBase.)

System_CAPS_protpropertyLogicalChildren

(Inherited from Panel.)

System_CAPS_protpropertyLogicalOrientation

(Inherited from Panel.)

System_CAPS_pubpropertyMargin

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyMaxHeight

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyMaxWidth

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyMinHeight

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyMinWidth

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyName

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyOpacity

Gets or sets the opacity of the shape.(Inherited from MapShapeBase.)

System_CAPS_pubpropertyOpacityMask

Gets or sets the opacity mask for the shape.(Inherited from MapShapeBase.)

System_CAPS_pubpropertyOverridesDefaultStyle

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyParent

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyPersistId

(Inherited from UIElement.)

System_CAPS_protpropertyProjectedPoints

Gets or sets the vertices of the polygon.(Overrides MapShapeBase::ProjectedPoints.)

System_CAPS_pubpropertyRenderSize

(Inherited from UIElement.)

System_CAPS_pubpropertyRenderTransform

(Inherited from UIElement.)

System_CAPS_pubpropertyRenderTransformOrigin

(Inherited from UIElement.)

System_CAPS_pubpropertyResources

(Inherited from FrameworkElement.)

System_CAPS_pubpropertySnapsToDevicePixels

(Inherited from UIElement.)

System_CAPS_pubpropertyStroke

Gets or sets the stroke color of the shape.(Inherited from MapShapeBase.)

System_CAPS_pubpropertyStrokeDashArray

Gets or sets the StrokeDashArray value of the shape.(Inherited from MapShapeBase.)

System_CAPS_pubpropertyStrokeDashCap

Gets or sets the StrokeDashCap value for the shape.(Inherited from MapShapeBase.)

System_CAPS_pubpropertyStrokeDashOffset

Gets or sets the StrokeDashOffset value for the shape.(Inherited from MapShapeBase.)

System_CAPS_pubpropertyStrokeEndLineCap

Gets or sets the StrokeEndLineCap value for the shape.(Inherited from MapShapeBase.)

System_CAPS_pubpropertyStrokeLineJoin

Gets or sets the StrokeLineJoin value for the shape.(Inherited from MapShapeBase.)

System_CAPS_pubpropertyStrokeMiterLimit

Gets or sets the StrokeMiterLimit value for the shape.(Inherited from MapShapeBase.)

System_CAPS_pubpropertyStrokeStartLineCap

Gets or sets the StrokeStartLineCap value for the shape.(Inherited from MapShapeBase.)

System_CAPS_pubpropertyStrokeThickness

Gets or sets the StrokeThickness value for the shape.(Inherited from MapShapeBase.)

System_CAPS_pubpropertyStyle

(Inherited from FrameworkElement.)

System_CAPS_protpropertyStylusPlugIns

(Inherited from UIElement.)

System_CAPS_pubpropertyTag

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyTemplatedParent

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyToolTip

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyTouchesCaptured

(Inherited from UIElement.)

System_CAPS_pubpropertyTouchesCapturedWithin

(Inherited from UIElement.)

System_CAPS_pubpropertyTouchesDirectlyOver

(Inherited from UIElement.)

System_CAPS_pubpropertyTouchesOver

(Inherited from UIElement.)

System_CAPS_pubpropertyTriggers

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyUid

(Inherited from UIElement.)

System_CAPS_pubpropertyUseLayoutRounding

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyVerticalAlignment

(Inherited from FrameworkElement.)

System_CAPS_pubpropertyVisibility

(Inherited from UIElement.)

System_CAPS_protpropertyVisualBitmapEffect

(Inherited from Visual.)

System_CAPS_protpropertyVisualBitmapEffectInput

(Inherited from Visual.)

System_CAPS_protpropertyVisualBitmapScalingMode

(Inherited from Visual.)

System_CAPS_protpropertyVisualCacheMode

(Inherited from Visual.)

System_CAPS_protpropertyVisualChildrenCount

(Inherited from Panel.)

System_CAPS_protpropertyVisualClearTypeHint

(Inherited from Visual.)

System_CAPS_protpropertyVisualClip

(Inherited from Visual.)

System_CAPS_protpropertyVisualEdgeMode

(Inherited from Visual.)

System_CAPS_protpropertyVisualEffect

(Inherited from Visual.)

System_CAPS_protpropertyVisualOffset

(Inherited from Visual.)

System_CAPS_protpropertyVisualOpacity

(Inherited from Visual.)

System_CAPS_protpropertyVisualOpacityMask

(Inherited from Visual.)

System_CAPS_protpropertyVisualParent

(Inherited from Visual.)

System_CAPS_protpropertyVisualScrollableAreaClip

(Inherited from Visual.)

System_CAPS_protpropertyVisualTextHintingMode

(Inherited from Visual.)

System_CAPS_protpropertyVisualTextRenderingMode

(Inherited from Visual.)

System_CAPS_protpropertyVisualTransform

(Inherited from Visual.)

System_CAPS_protpropertyVisualXSnappingGuidelines

(Inherited from Visual.)

System_CAPS_protpropertyVisualYSnappingGuidelines

(Inherited from Visual.)

System_CAPS_pubpropertyWidth

(Inherited from FrameworkElement.)

NameDescription
System_CAPS_pubmethodAddHandler(RoutedEvent^, Delegate^)

(Inherited from UIElement.)

System_CAPS_pubmethodAddHandler(RoutedEvent^, Delegate^, Boolean)

(Inherited from UIElement.)

System_CAPS_protmethodAddLogicalChild(Object^)

(Inherited from FrameworkElement.)

System_CAPS_pubmethodAddToEventRoute(EventRoute^, RoutedEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodAddVisualChild(Visual^)

(Inherited from Visual.)

System_CAPS_pubmethodApplyAnimationClock(DependencyProperty^, AnimationClock^)

(Inherited from UIElement.)

System_CAPS_pubmethodApplyAnimationClock(DependencyProperty^, AnimationClock^, HandoffBehavior)

(Inherited from UIElement.)

System_CAPS_pubmethodApplyTemplate()

(Inherited from FrameworkElement.)

System_CAPS_pubmethodArrange(Rect)

(Inherited from UIElement.)

System_CAPS_protmethodArrangeCore(Rect)

(Inherited from FrameworkElement.)

System_CAPS_protmethodArrangeOverride(Size)

Arranges the shape to fit on the map.(Inherited from MapShapeBase.)

System_CAPS_pubmethodBeginAnimation(DependencyProperty^, AnimationTimeline^)

(Inherited from UIElement.)

System_CAPS_pubmethodBeginAnimation(DependencyProperty^, AnimationTimeline^, HandoffBehavior)

(Inherited from UIElement.)

System_CAPS_pubmethodBeginInit()

(Inherited from FrameworkElement.)

System_CAPS_pubmethodBeginStoryboard(Storyboard^)

(Inherited from FrameworkElement.)

System_CAPS_pubmethodBeginStoryboard(Storyboard^, HandoffBehavior)

(Inherited from FrameworkElement.)

System_CAPS_pubmethodBeginStoryboard(Storyboard^, HandoffBehavior, Boolean)

(Inherited from FrameworkElement.)

System_CAPS_pubmethodBringIntoView()

(Inherited from FrameworkElement.)

System_CAPS_pubmethodBringIntoView(Rect)

(Inherited from FrameworkElement.)

System_CAPS_pubmethodCaptureMouse()

(Inherited from UIElement.)

System_CAPS_pubmethodCaptureStylus()

(Inherited from UIElement.)

System_CAPS_pubmethodCaptureTouch(TouchDevice^)

(Inherited from UIElement.)

System_CAPS_pubmethodClearValue(DependencyProperty^)

(Inherited from DependencyObject.)

System_CAPS_pubmethodClearValue(DependencyPropertyKey^)

(Inherited from DependencyObject.)

System_CAPS_pubmethodCoerceValue(DependencyProperty^)

(Inherited from DependencyObject.)

System_CAPS_protmethodCreateUIElementCollection(FrameworkElement^)

(Inherited from Panel.)

System_CAPS_pubmethodEndInit()

(Inherited from FrameworkElement.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from DependencyObject.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodFindCommonVisualAncestor(DependencyObject^)

(Inherited from Visual.)

System_CAPS_pubmethodFindName(String^)

(Inherited from FrameworkElement.)

System_CAPS_pubmethodFindResource(Object^)

(Inherited from FrameworkElement.)

System_CAPS_pubmethodFocus()

(Inherited from UIElement.)

System_CAPS_pubmethodGetAnimationBaseValue(DependencyProperty^)

(Inherited from UIElement.)

System_CAPS_pubmethodGetBindingExpression(DependencyProperty^)

(Inherited from FrameworkElement.)

System_CAPS_pubmethodGetHashCode()

(Inherited from DependencyObject.)

System_CAPS_protmethodGetLayoutClip(Size)

(Inherited from FrameworkElement.)

System_CAPS_pubmethodGetLocalValueEnumerator()

(Inherited from DependencyObject.)

System_CAPS_protmethodGetTemplateChild(String^)

(Inherited from FrameworkElement.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodGetUIParentCore()

(Inherited from FrameworkElement.)

System_CAPS_pubmethodGetValue(DependencyProperty^)

(Inherited from DependencyObject.)

System_CAPS_protmethodGetVisualChild(Int32)

(Inherited from Panel.)

System_CAPS_protmethodHitTestCore(GeometryHitTestParameters^)

(Inherited from UIElement.)

System_CAPS_protmethodHitTestCore(PointHitTestParameters^)

(Inherited from UIElement.)

System_CAPS_pubmethodInputHitTest(Point)

(Inherited from UIElement.)

System_CAPS_pubmethodInvalidateArrange()

(Inherited from UIElement.)

System_CAPS_pubmethodInvalidateMeasure()

(Inherited from UIElement.)

System_CAPS_pubmethodInvalidateProperty(DependencyProperty^)

(Inherited from DependencyObject.)

System_CAPS_pubmethodInvalidateVisual()

(Inherited from UIElement.)

System_CAPS_pubmethodIsAncestorOf(DependencyObject^)

(Inherited from Visual.)

System_CAPS_pubmethodIsDescendantOf(DependencyObject^)

(Inherited from Visual.)

System_CAPS_pubmethodMeasure(Size)

(Inherited from UIElement.)

System_CAPS_protmethodMeasureCore(Size)

(Inherited from FrameworkElement.)

System_CAPS_protmethodMeasureOverride(Size)

Measures the shape to fit the available size.(Inherited from MapShapeBase.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodMoveFocus(TraversalRequest^)

(Inherited from FrameworkElement.)

System_CAPS_protmethodOnAccessKey(AccessKeyEventArgs^)

(Inherited from UIElement.)

System_CAPS_pubmethodOnApplyTemplate()

(Inherited from FrameworkElement.)

System_CAPS_protmethodOnChildDesiredSizeChanged(UIElement^)

(Inherited from UIElement.)

System_CAPS_protmethodOnContextMenuClosing(ContextMenuEventArgs^)

(Inherited from FrameworkElement.)

System_CAPS_protmethodOnContextMenuOpening(ContextMenuEventArgs^)

(Inherited from FrameworkElement.)

System_CAPS_protmethodOnCreateAutomationPeer()

(Inherited from UIElement.)

System_CAPS_protmethodOnDragEnter(DragEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnDragLeave(DragEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnDragOver(DragEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnDrop(DragEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnGiveFeedback(GiveFeedbackEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnGotFocus(RoutedEventArgs^)

(Inherited from FrameworkElement.)

System_CAPS_protmethodOnGotKeyboardFocus(KeyboardFocusChangedEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnGotMouseCapture(MouseEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnGotStylusCapture(StylusEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnGotTouchCapture(TouchEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnInitialized(EventArgs^)

(Inherited from FrameworkElement.)

System_CAPS_protmethodOnIsItemsHostChanged(Boolean, Boolean)

(Inherited from Panel.)

System_CAPS_protmethodOnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs)

(Inherited from UIElement.)

System_CAPS_protmethodOnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)

(Inherited from UIElement.)

System_CAPS_protmethodOnIsMouseCapturedChanged(DependencyPropertyChangedEventArgs)

(Inherited from UIElement.)

System_CAPS_protmethodOnIsMouseCaptureWithinChanged(DependencyPropertyChangedEventArgs)

(Inherited from UIElement.)

System_CAPS_protmethodOnIsMouseDirectlyOverChanged(DependencyPropertyChangedEventArgs)

(Inherited from UIElement.)

System_CAPS_protmethodOnIsStylusCapturedChanged(DependencyPropertyChangedEventArgs)

(Inherited from UIElement.)

System_CAPS_protmethodOnIsStylusCaptureWithinChanged(DependencyPropertyChangedEventArgs)

(Inherited from UIElement.)

System_CAPS_protmethodOnIsStylusDirectlyOverChanged(DependencyPropertyChangedEventArgs)

(Inherited from UIElement.)

System_CAPS_protmethodOnKeyDown(KeyEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnKeyUp(KeyEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnLostFocus(RoutedEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnLostKeyboardFocus(KeyboardFocusChangedEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnLostMouseCapture(MouseEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnLostStylusCapture(StylusEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnLostTouchCapture(TouchEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnManipulationBoundaryFeedback(ManipulationBoundaryFeedbackEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnManipulationCompleted(ManipulationCompletedEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnManipulationDelta(ManipulationDeltaEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnManipulationInertiaStarting(ManipulationInertiaStartingEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnManipulationStarted(ManipulationStartedEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnManipulationStarting(ManipulationStartingEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnMouseDown(MouseButtonEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnMouseEnter(MouseEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnMouseLeave(MouseEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnMouseLeftButtonDown(MouseButtonEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnMouseLeftButtonUp(MouseButtonEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnMouseMove(MouseEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnMouseRightButtonDown(MouseButtonEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnMouseRightButtonUp(MouseButtonEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnMouseUp(MouseButtonEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnMouseWheel(MouseWheelEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewDragEnter(DragEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewDragLeave(DragEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewDragOver(DragEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewDrop(DragEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewGiveFeedback(GiveFeedbackEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewKeyDown(KeyEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewKeyUp(KeyEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewMouseDown(MouseButtonEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewMouseLeftButtonDown(MouseButtonEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewMouseLeftButtonUp(MouseButtonEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewMouseMove(MouseEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewMouseRightButtonDown(MouseButtonEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewMouseRightButtonUp(MouseButtonEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewMouseUp(MouseButtonEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewMouseWheel(MouseWheelEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewQueryContinueDrag(QueryContinueDragEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewStylusButtonDown(StylusButtonEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewStylusButtonUp(StylusButtonEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewStylusDown(StylusDownEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewStylusInAirMove(StylusEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewStylusInRange(StylusEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewStylusMove(StylusEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewStylusOutOfRange(StylusEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewStylusSystemGesture(StylusSystemGestureEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewStylusUp(StylusEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewTextInput(TextCompositionEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewTouchDown(TouchEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewTouchMove(TouchEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPreviewTouchUp(TouchEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnPropertyChanged(DependencyPropertyChangedEventArgs)

(Inherited from FrameworkElement.)

System_CAPS_protmethodOnQueryContinueDrag(QueryContinueDragEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnQueryCursor(QueryCursorEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnRender(DrawingContext^)

(Inherited from Panel.)

System_CAPS_protmethodOnRenderSizeChanged(SizeChangedInfo^)

(Inherited from FrameworkElement.)

System_CAPS_protmethodOnStyleChanged(Style^, Style^)

(Inherited from FrameworkElement.)

System_CAPS_protmethodOnStylusButtonDown(StylusButtonEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnStylusButtonUp(StylusButtonEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnStylusDown(StylusDownEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnStylusEnter(StylusEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnStylusInAirMove(StylusEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnStylusInRange(StylusEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnStylusLeave(StylusEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnStylusMove(StylusEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnStylusOutOfRange(StylusEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnStylusSystemGesture(StylusSystemGestureEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnStylusUp(StylusEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnTextInput(TextCompositionEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnToolTipClosing(ToolTipEventArgs^)

(Inherited from FrameworkElement.)

System_CAPS_protmethodOnToolTipOpening(ToolTipEventArgs^)

(Inherited from FrameworkElement.)

System_CAPS_protmethodOnTouchDown(TouchEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnTouchEnter(TouchEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnTouchLeave(TouchEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnTouchMove(TouchEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnTouchUp(TouchEventArgs^)

(Inherited from UIElement.)

System_CAPS_protmethodOnVisualChildrenChanged(DependencyObject^, DependencyObject^)

(Inherited from Panel.)

System_CAPS_protmethodOnVisualParentChanged(DependencyObject^)

(Inherited from FrameworkElement.)

System_CAPS_protmethodParentLayoutInvalidated(UIElement^)

(Inherited from FrameworkElement.)

System_CAPS_pubmethodPointFromScreen(Point)

(Inherited from Visual.)

System_CAPS_pubmethodPointToScreen(Point)

(Inherited from Visual.)

System_CAPS_pubmethodPredictFocus(FocusNavigationDirection)

(Inherited from FrameworkElement.)

System_CAPS_pubmethodRaiseEvent(RoutedEventArgs^)

(Inherited from UIElement.)

System_CAPS_pubmethodReadLocalValue(DependencyProperty^)

(Inherited from DependencyObject.)

System_CAPS_pubmethodRegisterName(String^, Object^)

(Inherited from FrameworkElement.)

System_CAPS_pubmethodReleaseAllTouchCaptures()

(Inherited from UIElement.)

System_CAPS_pubmethodReleaseMouseCapture()

(Inherited from UIElement.)

System_CAPS_pubmethodReleaseStylusCapture()

(Inherited from UIElement.)

System_CAPS_pubmethodReleaseTouchCapture(TouchDevice^)

(Inherited from UIElement.)

System_CAPS_pubmethodRemoveHandler(RoutedEvent^, Delegate^)

(Inherited from UIElement.)

System_CAPS_protmethodRemoveLogicalChild(Object^)

(Inherited from FrameworkElement.)

System_CAPS_protmethodRemoveVisualChild(Visual^)

(Inherited from Visual.)

System_CAPS_pubmethodSetBinding(DependencyProperty^, BindingBase^)

(Inherited from FrameworkElement.)

System_CAPS_pubmethodSetBinding(DependencyProperty^, String^)

(Inherited from FrameworkElement.)

System_CAPS_pubmethodSetCurrentValue(DependencyProperty^, Object^)

(Inherited from DependencyObject.)

System_CAPS_pubmethodSetResourceReference(DependencyProperty^, Object^)

(Inherited from FrameworkElement.)

System_CAPS_pubmethodSetValue(DependencyProperty^, Object^)

(Inherited from DependencyObject.)

System_CAPS_pubmethodSetValue(DependencyPropertyKey^, Object^)

(Inherited from DependencyObject.)

System_CAPS_protmethodShouldSerializeProperty(DependencyProperty^)

(Inherited from DependencyObject.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTransformToAncestor(Visual^)

(Inherited from Visual.)

System_CAPS_pubmethodTransformToAncestor(Visual3D^)

(Inherited from Visual.)

System_CAPS_pubmethodTransformToDescendant(Visual^)

(Inherited from Visual.)

System_CAPS_pubmethodTransformToVisual(Visual^)

(Inherited from Visual.)

System_CAPS_pubmethodTranslatePoint(Point, UIElement^)

(Inherited from UIElement.)

System_CAPS_pubmethodTryFindResource(Object^)

(Inherited from FrameworkElement.)

System_CAPS_pubmethodUnregisterName(String^)

(Inherited from FrameworkElement.)

System_CAPS_pubmethodUpdateLayout()

(Inherited from UIElement.)

NameDescription
System_CAPS_pubeventContextMenuClosing

(Inherited from FrameworkElement.)

System_CAPS_pubeventContextMenuOpening

(Inherited from FrameworkElement.)

System_CAPS_pubeventDataContextChanged

(Inherited from FrameworkElement.)

System_CAPS_pubeventDragEnter

(Inherited from UIElement.)

System_CAPS_pubeventDragLeave

(Inherited from UIElement.)

System_CAPS_pubeventDragOver

(Inherited from UIElement.)

System_CAPS_pubeventDrop

(Inherited from UIElement.)

System_CAPS_pubeventFocusableChanged

(Inherited from UIElement.)

System_CAPS_pubeventGiveFeedback

(Inherited from UIElement.)

System_CAPS_pubeventGotFocus

(Inherited from UIElement.)

System_CAPS_pubeventGotKeyboardFocus

(Inherited from UIElement.)

System_CAPS_pubeventGotMouseCapture

(Inherited from UIElement.)

System_CAPS_pubeventGotStylusCapture

(Inherited from UIElement.)

System_CAPS_pubeventGotTouchCapture

(Inherited from UIElement.)

System_CAPS_pubeventInitialized

(Inherited from FrameworkElement.)

System_CAPS_pubeventIsEnabledChanged

(Inherited from UIElement.)

System_CAPS_pubeventIsHitTestVisibleChanged

(Inherited from UIElement.)

System_CAPS_pubeventIsKeyboardFocusedChanged

(Inherited from UIElement.)

System_CAPS_pubeventIsKeyboardFocusWithinChanged

(Inherited from UIElement.)

System_CAPS_pubeventIsMouseCapturedChanged

(Inherited from UIElement.)

System_CAPS_pubeventIsMouseCaptureWithinChanged

(Inherited from UIElement.)

System_CAPS_pubeventIsMouseDirectlyOverChanged

(Inherited from UIElement.)

System_CAPS_pubeventIsStylusCapturedChanged

(Inherited from UIElement.)

System_CAPS_pubeventIsStylusCaptureWithinChanged

(Inherited from UIElement.)

System_CAPS_pubeventIsStylusDirectlyOverChanged

(Inherited from UIElement.)

System_CAPS_pubeventIsVisibleChanged

(Inherited from UIElement.)

System_CAPS_pubeventKeyDown

(Inherited from UIElement.)

System_CAPS_pubeventKeyUp

(Inherited from UIElement.)

System_CAPS_pubeventLayoutUpdated

(Inherited from UIElement.)

System_CAPS_pubeventLoaded

(Inherited from FrameworkElement.)

System_CAPS_pubeventLostFocus

(Inherited from UIElement.)

System_CAPS_pubeventLostKeyboardFocus

(Inherited from UIElement.)

System_CAPS_pubeventLostMouseCapture

(Inherited from UIElement.)

System_CAPS_pubeventLostStylusCapture

(Inherited from UIElement.)

System_CAPS_pubeventLostTouchCapture

(Inherited from UIElement.)

System_CAPS_pubeventManipulationBoundaryFeedback

(Inherited from UIElement.)

System_CAPS_pubeventManipulationCompleted

(Inherited from UIElement.)

System_CAPS_pubeventManipulationDelta

(Inherited from UIElement.)

System_CAPS_pubeventManipulationInertiaStarting

(Inherited from UIElement.)

System_CAPS_pubeventManipulationStarted

(Inherited from UIElement.)

System_CAPS_pubeventManipulationStarting

(Inherited from UIElement.)

System_CAPS_pubeventMouseDown

(Inherited from UIElement.)

System_CAPS_pubeventMouseEnter

(Inherited from UIElement.)

System_CAPS_pubeventMouseLeave

(Inherited from UIElement.)

System_CAPS_pubeventMouseLeftButtonDown

(Inherited from UIElement.)

System_CAPS_pubeventMouseLeftButtonUp

(Inherited from UIElement.)

System_CAPS_pubeventMouseMove

(Inherited from UIElement.)

System_CAPS_pubeventMouseRightButtonDown

(Inherited from UIElement.)

System_CAPS_pubeventMouseRightButtonUp

(Inherited from UIElement.)

System_CAPS_pubeventMouseUp

(Inherited from UIElement.)

System_CAPS_pubeventMouseWheel

(Inherited from UIElement.)

System_CAPS_pubeventPreviewDragEnter

(Inherited from UIElement.)

System_CAPS_pubeventPreviewDragLeave

(Inherited from UIElement.)

System_CAPS_pubeventPreviewDragOver

(Inherited from UIElement.)

System_CAPS_pubeventPreviewDrop

(Inherited from UIElement.)

System_CAPS_pubeventPreviewGiveFeedback

(Inherited from UIElement.)

System_CAPS_pubeventPreviewGotKeyboardFocus

(Inherited from UIElement.)

System_CAPS_pubeventPreviewKeyDown

(Inherited from UIElement.)

System_CAPS_pubeventPreviewKeyUp

(Inherited from UIElement.)

System_CAPS_pubeventPreviewLostKeyboardFocus

(Inherited from UIElement.)

System_CAPS_pubeventPreviewMouseDown

(Inherited from UIElement.)

System_CAPS_pubeventPreviewMouseLeftButtonDown

(Inherited from UIElement.)

System_CAPS_pubeventPreviewMouseLeftButtonUp

(Inherited from UIElement.)

System_CAPS_pubeventPreviewMouseMove

(Inherited from UIElement.)

System_CAPS_pubeventPreviewMouseRightButtonDown

(Inherited from UIElement.)

System_CAPS_pubeventPreviewMouseRightButtonUp

(Inherited from UIElement.)

System_CAPS_pubeventPreviewMouseUp

(Inherited from UIElement.)

System_CAPS_pubeventPreviewMouseWheel

(Inherited from UIElement.)

System_CAPS_pubeventPreviewQueryContinueDrag

(Inherited from UIElement.)

System_CAPS_pubeventPreviewStylusButtonDown

(Inherited from UIElement.)

System_CAPS_pubeventPreviewStylusButtonUp

(Inherited from UIElement.)

System_CAPS_pubeventPreviewStylusDown

(Inherited from UIElement.)

System_CAPS_pubeventPreviewStylusInAirMove

(Inherited from UIElement.)

System_CAPS_pubeventPreviewStylusInRange

(Inherited from UIElement.)

System_CAPS_pubeventPreviewStylusMove

(Inherited from UIElement.)

System_CAPS_pubeventPreviewStylusOutOfRange

(Inherited from UIElement.)

System_CAPS_pubeventPreviewStylusSystemGesture

(Inherited from UIElement.)

System_CAPS_pubeventPreviewStylusUp

(Inherited from UIElement.)

System_CAPS_pubeventPreviewTextInput

(Inherited from UIElement.)

System_CAPS_pubeventPreviewTouchDown

(Inherited from UIElement.)

System_CAPS_pubeventPreviewTouchMove

(Inherited from UIElement.)

System_CAPS_pubeventPreviewTouchUp

(Inherited from UIElement.)

System_CAPS_pubeventQueryContinueDrag

(Inherited from UIElement.)

System_CAPS_pubeventQueryCursor

(Inherited from UIElement.)

System_CAPS_pubeventRequestBringIntoView

(Inherited from FrameworkElement.)

System_CAPS_pubeventSizeChanged

(Inherited from FrameworkElement.)

System_CAPS_pubeventSourceUpdated

(Inherited from FrameworkElement.)

System_CAPS_pubeventStylusButtonDown

(Inherited from UIElement.)

System_CAPS_pubeventStylusButtonUp

(Inherited from UIElement.)

System_CAPS_pubeventStylusDown

(Inherited from UIElement.)

System_CAPS_pubeventStylusEnter

(Inherited from UIElement.)

System_CAPS_pubeventStylusInAirMove

(Inherited from UIElement.)

System_CAPS_pubeventStylusInRange

(Inherited from UIElement.)

System_CAPS_pubeventStylusLeave

(Inherited from UIElement.)

System_CAPS_pubeventStylusMove

(Inherited from UIElement.)

System_CAPS_pubeventStylusOutOfRange

(Inherited from UIElement.)

System_CAPS_pubeventStylusSystemGesture

(Inherited from UIElement.)

System_CAPS_pubeventStylusUp

(Inherited from UIElement.)

System_CAPS_pubeventTargetUpdated

(Inherited from FrameworkElement.)

System_CAPS_pubeventTextInput

(Inherited from UIElement.)

System_CAPS_pubeventToolTipClosing

(Inherited from FrameworkElement.)

System_CAPS_pubeventToolTipOpening

(Inherited from FrameworkElement.)

System_CAPS_pubeventTouchDown

(Inherited from UIElement.)

System_CAPS_pubeventTouchEnter

(Inherited from UIElement.)

System_CAPS_pubeventTouchLeave

(Inherited from UIElement.)

System_CAPS_pubeventTouchMove

(Inherited from UIElement.)

System_CAPS_pubeventTouchUp

(Inherited from UIElement.)

System_CAPS_pubeventUnloaded

(Inherited from FrameworkElement.)

The following example shows how to add a polygon to the map using XAML, C# and Visual Basic. For more information, see Adding Shapes to the Map.

<Window x:Class="WPFTestApplication.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:m="clr-namespace:Microsoft.Maps.MapControl.WPF;assembly=Microsoft.Maps.MapControl.WPF"
    Width="1024" Height="768">
    <Grid x:Name="LayoutRoot" Background="White">
        <m:Map CredentialsProvider="InsertYourBingMapsKey" Center="47.640,-122.125" ZoomLevel="11">
            <m:MapPolygon Fill="Blue" Stroke="Green" StrokeThickness="5" 
                          Locations="47.6424,-122.3219 47.8424,-122.1747 47.5814,-122.1747" 
                          Opacity="0.7"/>
        </m:Map>
    </Grid>
</Window>

No code example is currently available or this language may not be supported.

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

Return to top
Show: