GoogleMapTilesOverlay¶
Namespace: ThinkGeo.UI.WinForms
Represents a desktop tile overlay that displays Google Map Tiles API 2D tiles.
public class GoogleMapTilesOverlay : WebXyzTileOverlay`1, System.Windows.Media.Composition.DUCE+IResource, System.Windows.Media.Animation.IAnimatable, System.Windows.IInputElement, System.Windows.IFrameworkInputElement, System.ComponentModel.ISupportInitialize, System.Windows.Markup.IHaveResources, System.Windows.Markup.IQueryAmbient, System.Windows.Markup.IAddChild, System.IDisposable
Inheritance object → DispatcherObject → DependencyObject → Visual → UIElement → FrameworkElement → Panel → Canvas → Overlay → TileOverlay → XyzTileOverlay<GoogleMapTilesAsyncLayer> → WebXyzTileOverlay<GoogleMapTilesAsyncLayer> → GoogleMapTilesOverlay
Implements IResource, IAnimatable, IInputElement, IFrameworkInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, IAddChild, IDisposable
Remarks:
This overlay uses the official Google Map Tiles API and disables ThinkGeo overlay cache APIs for Google content. Applications must display Google Maps attribution and comply with Google Maps Platform Map Tiles API policies.
Properties¶
ApiKey¶
Gets or sets the Google Maps Platform API key.
public string ApiKey { get; set; }
Property Value¶
MapType¶
Gets or sets the Google Map Tiles 2D map theme.
public GoogleMapTilesMapType MapType { get; set; }
Property Value¶
GoogleMapTilesMapType
RequestLanguage¶
Gets or sets the BCP-47 language code supplied to the Google Map Tiles API session request.
public string RequestLanguage { get; set; }
Property Value¶
Region¶
Gets or sets the CLDR region identifier supplied to the Google Map Tiles API session request.
public string Region { get; set; }
Property Value¶
ImageFormat¶
Gets or sets the preferred image format for the Google Map Tiles API session.
public GoogleMapTilesImageFormat ImageFormat { get; set; }
Property Value¶
GoogleMapTilesImageFormat
IsStreetViewLayerEnabled¶
Gets or sets a value indicating whether the Street View availability layer is overlaid on the map.
public bool IsStreetViewLayerEnabled { get; set; }
Property Value¶
IsTrafficLayerEnabled¶
Gets or sets a value indicating whether traffic conditions are overlaid on the map.
public bool IsTrafficLayerEnabled { get; set; }
Property Value¶
TileCache¶
Gets or sets the overlay tile cache.
public RasterTileCache TileCache { get; set; }
Property Value¶
RasterTileCache
Exceptions¶
NotSupportedException
Thrown when assigning a non-null cache.
Remarks:
Google Map Tiles API content is not cached by this overlay. Assigning a non-null cache is blocked so the desktop overlay cannot persist Google tile content through ThinkGeo tile-cache APIs.
ProjectedTileCache¶
Gets or sets the projected tile cache.
public RasterTileCache ProjectedTileCache { get; set; }
Property Value¶
RasterTileCache
Exceptions¶
NotSupportedException
Thrown when assigning a non-null cache.
Remarks:
Projected tile caching is disabled so derived Google tile imagery is not persisted by the overlay.
IsCacheOnly¶
Gets or sets whether the overlay should draw from cache only.
public bool IsCacheOnly { get; set; }
Property Value¶
Exceptions¶
NotSupportedException
Thrown when assigning true.
Remarks:
Cache-only rendering is disabled because this overlay does not support a Google tile cache.
TileBuffer¶
Gets or sets the number of extra tile rows and columns requested around the viewport.
public int TileBuffer { get; set; }
Property Value¶
Exceptions¶
NotSupportedException
Thrown when assigning a value other than zero.
Remarks:
Extra tile buffering is disabled to avoid prefetching Google tile content outside the current viewport.
TileWidth¶
Gets or sets the tile width.
public int TileWidth { get; set; }
Property Value¶
Exceptions¶
NotSupportedException
Thrown when assigning a value other than 256.
Remarks:
Google Map Tiles API 2D tiles are requested by this overlay as 256 pixel tiles.
TileHeight¶
Gets or sets the tile height.
public int TileHeight { get; set; }
Property Value¶
Exceptions¶
NotSupportedException
Thrown when assigning a value other than 256.
Remarks:
Google Map Tiles API 2D tiles are requested by this overlay as 256 pixel tiles.
CurrentZoomTileCacheCapacity¶
Gets or sets the number of current zoom tile views retained in memory.
public int CurrentZoomTileCacheCapacity { get; set; }
Property Value¶
Exceptions¶
NotSupportedException
Thrown when assigning a value other than zero.
Remarks:
Tile-view retention is disabled because retained desktop image controls can keep Google tile bytes alive.
ZoomOutTileCacheCapacity¶
Gets or sets the number of zoom-out tile views retained in memory.
public int ZoomOutTileCacheCapacity { get; set; }
Property Value¶
Exceptions¶
NotSupportedException
Thrown when assigning a value other than zero.
Remarks:
Zoom-out tile-view retention is disabled for the same reason as GoogleMapTilesOverlay.CurrentZoomTileCacheCapacity.
TileType¶
Gets or sets the tile rendering mode.
public TileType TileType { get; set; }
Property Value¶
Exceptions¶
NotSupportedException
Thrown when assigning a value other than .
Remarks:
This overlay always uses regular multi-tile rendering for Google Map Tiles API content.
Session¶
Gets what the Google Map Tiles API answered when the current session was created, or null before the layer has one.
public GoogleMapTilesSession Session { get; }
Property Value¶
GoogleMapTilesSession
WebProxy¶
Gets or sets the Web Proxy for web service.
public IWebProxy WebProxy { get; set; }
Property Value¶
TimeoutInSeconds¶
Gets or sets the length of time, in seconds, before the request times out.
public int TimeoutInSeconds { get; set; }
Property Value¶
XyzTileAsyncLayer¶
Gets or sets the underlying XYZ tile layer used for drawing.
public GoogleMapTilesAsyncLayer XyzTileAsyncLayer { get; set; }
Property Value¶
GoogleMapTilesAsyncLayer
ProjectionConverter¶
Gets or sets the projection converter applied to tiles retrieved from the server.
public ProjectionConverter ProjectionConverter { get; set; }
Property Value¶
ProjectionConverter
TileViewInMemoryCache¶
Gets or sets the legacy tile-view in-memory cache instance.
public XyzLruCache<TileView> TileViewInMemoryCache { get; set; }
Property Value¶
XyzLruCache<TileView>
Remarks:
This property is deprecated in favor of TileOverlay.CurrentZoomTileCacheCapacity and TileOverlay.ZoomOutTileCacheCapacity, which provide explicit control over how much of the cache is reserved for the current zoom level and for coarser tiles used during zoom-out fallback.
IsVisible¶
Gets or sets if this overlay is visible.
public bool IsVisible { get; set; }
Property Value¶
DrawingQuality¶
Gets or sets the rendering-quality preset used to initialize this overlay's TileOverlay.RenderingOptions.
public DrawingQuality DrawingQuality { get; set; }
Property Value¶
DrawingQuality
Remarks:
Setting this property applies the matching preset returned by RenderingOptions.FromDrawingQuality(DrawingQuality) and replaces the current TileOverlay.RenderingOptions value. Use this property when one of the built-in quality presets is sufficient. For finer control, set TileOverlay.RenderingOptions directly instead.
RenderingOptions¶
Gets or sets all rendering options applied when tiles are drawn. When set, takes precedence over TileOverlay.DrawingQuality.
public RenderingOptions RenderingOptions { get; set; }
Property Value¶
RenderingOptions
AntiAlias¶
Sets or gets whether to apply anti-aliasing when rendering tiles.
public bool AntiAlias { get; set; }
Property Value¶
TileMatrixSet¶
Gets or sets the TileMatrixSet for the TileOverlay. By default, this will snap to the scales defined in the ZoomLevelSet to fetch the internal data.
public TileMatrixSet TileMatrixSet { get; set; }
Property Value¶
TileMatrixSet
Remarks:
Ensure that the TileMatrixSet scales align with those of the tile provider, especially when using third-party data.
MaxConcurrentTileDraws¶
Maximum number of tiles drawn concurrently per refresh in MultiTile mode. Defaults to int.MaxValue (effectively unbounded, matching the historical behavior). Lower it (for example to 4 or 8) to cap memory and thread-pool pressure on slow networks or low-memory environments.
public int MaxConcurrentTileDraws { get; set; }
Property Value¶
Remarks:
Limitations: Has no effect on SingleTile rendering.Each refresh creates its own throttle scope, so overlapping refreshes (e.g. during rapid panning) may briefly exceed this value in aggregate.Cache-hit and direct-raster-bytes fast paths bypass this cap because they do not allocate the heavy render buffers.The cap does not apply when ThinkGeoDebugger.DisplayTileId is enabled, since the debug overlay decodes/encodes tile content outside the throttled section.This property is not persisted by or ; reapply it after restoring overlay state.
Tile drawing (Skia bitmap allocation and path rendering) is CPU-bound work, so strictly speaking this knob caps the degree of parallelism, not just concurrency. The "Concurrent" name is kept to align with the related throttles elsewhere in the SDK (MaxConcurrentTileLoads, MaxConcurrentRequests) so a single autocomplete prefix surfaces them together.
MaxExtent¶
public RectangleShape MaxExtent { get; set; }
Property Value¶
RectangleShape
TileReplacementMode¶
Gets or sets how a redraw replaces the tiles that are already on the screen.
public TileReplacementMode TileReplacementMode { get; set; }
Property Value¶
Remarks:
The default is TileReplacementMode.Automatic, which groups the replacement only when reports semi-transparent content - for a LayerOverlay, a layer's opacity or alpha in the colours its styles paint with. Set it to TileReplacementMode.Grouped when the transparency comes from somewhere the overlay cannot read (an image, a texture, a style of your own), or to TileReplacementMode.Progressive to always show tiles as they arrive.
WrappingMode¶
This property gets or sets whether allow wrap date line.
public WrappingMode WrappingMode { get; set; }
Property Value¶
WrappingMode
WrappingExtent¶
public RectangleShape WrappingExtent { get; set; }
Property Value¶
RectangleShape
Name¶
Gets or sets the logical name of the overlay, constrained to characters accepted by FrameworkElement.NameProperty.
public string Name { get; set; }
Property Value¶
MapArguments¶
Gets or sets the map-specific arguments that describe the view, projection, and dimensions used during drawing.
public IMapArguments MapArguments { get; set; }
Property Value¶
IMapArguments
DrawingExceptionMode¶
Gets or sets how the overlay responds when drawing or refresh operations throw an exception.
public DrawingExceptionMode DrawingExceptionMode { get; set; }
Property Value¶
DrawingExceptionMode
Remarks:
Shares Overlay.DrawingExceptionMode with LayerBase.DrawingExceptionMode, so one enum covers layers and overlays. An overlay is the thing doing the drawing, so the two Draw* members differ from the other two only in whether the exception is rethrown: DrawingExceptionMode.DrawAndThrowException and DrawingExceptionMode.ThrowException raise Overlay.ThrowingException and then rethrow, while DrawingExceptionMode.DrawException and DrawingExceptionMode.IgnoreException swallow it.
ThrowingExceptionMode¶
Gets or sets how the overlay responds when drawing or refresh operations throw an exception.
public ThrowingExceptionMode ThrowingExceptionMode { get; set; }
Property Value¶
Attribution¶
Gets the attribution text displayed for the overlay.
public string Attribution { get; protected set; }
Property Value¶
Remarks:
Set by derived overlays to describe the data source rendered on the map.
IsEmpty¶
Gets a value indicating whether the overlay has any content to draw.
public bool IsEmpty { get; }
Property Value¶
Remarks:
Derived overlays override this property so the draw pipeline can skip empty overlays and improve performance.
Background¶
public Brush Background { get; set; }
Property Value¶
Children¶
public UIElementCollection Children { get; }
Property Value¶
IsItemsHost¶
public bool IsItemsHost { get; set; }
Property Value¶
LogicalOrientationPublic¶
public Orientation LogicalOrientationPublic { get; }
Property Value¶
HasLogicalOrientationPublic¶
public bool HasLogicalOrientationPublic { get; }
Property Value¶
Style¶
public Style Style { get; set; }
Property Value¶
OverridesDefaultStyle¶
public bool OverridesDefaultStyle { get; set; }
Property Value¶
UseLayoutRounding¶
public bool UseLayoutRounding { get; set; }
Property Value¶
Triggers¶
public TriggerCollection Triggers { get; }
Property Value¶
TemplatedParent¶
public DependencyObject TemplatedParent { get; }
Property Value¶
Resources¶
public ResourceDictionary Resources { get; set; }
Property Value¶
DataContext¶
public object DataContext { get; set; }
Property Value¶
BindingGroup¶
public BindingGroup BindingGroup { get; set; }
Property Value¶
Language¶
public XmlLanguage Language { get; set; }
Property Value¶
Tag¶
public object Tag { get; set; }
Property Value¶
InputScope¶
public InputScope InputScope { get; set; }
Property Value¶
ActualWidth¶
public double ActualWidth { get; }
Property Value¶
ActualHeight¶
public double ActualHeight { get; }
Property Value¶
LayoutTransform¶
public Transform LayoutTransform { get; set; }
Property Value¶
Width¶
public double Width { get; set; }
Property Value¶
MinWidth¶
public double MinWidth { get; set; }
Property Value¶
MaxWidth¶
public double MaxWidth { get; set; }
Property Value¶
Height¶
public double Height { get; set; }
Property Value¶
MinHeight¶
public double MinHeight { get; set; }
Property Value¶
MaxHeight¶
public double MaxHeight { get; set; }
Property Value¶
FlowDirection¶
public FlowDirection FlowDirection { get; set; }
Property Value¶
Margin¶
public Thickness Margin { get; set; }
Property Value¶
HorizontalAlignment¶
public HorizontalAlignment HorizontalAlignment { get; set; }
Property Value¶
VerticalAlignment¶
public VerticalAlignment VerticalAlignment { get; set; }
Property Value¶
FocusVisualStyle¶
public Style FocusVisualStyle { get; set; }
Property Value¶
Cursor¶
public Cursor Cursor { get; set; }
Property Value¶
ForceCursor¶
public bool ForceCursor { get; set; }
Property Value¶
IsInitialized¶
public bool IsInitialized { get; }
Property Value¶
IsLoaded¶
public bool IsLoaded { get; }
Property Value¶
ToolTip¶
public object ToolTip { get; set; }
Property Value¶
ContextMenu¶
public ContextMenu ContextMenu { get; set; }
Property Value¶
Parent¶
public DependencyObject Parent { get; }
Property Value¶
HasAnimatedProperties¶
public bool HasAnimatedProperties { get; }
Property Value¶
InputBindings¶
public InputBindingCollection InputBindings { get; }
Property Value¶
CommandBindings¶
public CommandBindingCollection CommandBindings { get; }
Property Value¶
AllowDrop¶
public bool AllowDrop { get; set; }
Property Value¶
DesiredSize¶
public Size DesiredSize { get; }
Property Value¶
IsMeasureValid¶
public bool IsMeasureValid { get; }
Property Value¶
IsArrangeValid¶
public bool IsArrangeValid { get; }
Property Value¶
RenderSize¶
public Size RenderSize { get; set; }
Property Value¶
RenderTransform¶
public Transform RenderTransform { get; set; }
Property Value¶
RenderTransformOrigin¶
public Point RenderTransformOrigin { get; set; }
Property Value¶
IsMouseDirectlyOver¶
public bool IsMouseDirectlyOver { get; }
Property Value¶
IsMouseOver¶
public bool IsMouseOver { get; }
Property Value¶
IsStylusOver¶
public bool IsStylusOver { get; }
Property Value¶
IsKeyboardFocusWithin¶
public bool IsKeyboardFocusWithin { get; }
Property Value¶
IsMouseCaptured¶
public bool IsMouseCaptured { get; }
Property Value¶
IsMouseCaptureWithin¶
public bool IsMouseCaptureWithin { get; }
Property Value¶
IsStylusDirectlyOver¶
public bool IsStylusDirectlyOver { get; }
Property Value¶
IsStylusCaptured¶
public bool IsStylusCaptured { get; }
Property Value¶
IsStylusCaptureWithin¶
public bool IsStylusCaptureWithin { get; }
Property Value¶
IsKeyboardFocused¶
public bool IsKeyboardFocused { get; }
Property Value¶
IsInputMethodEnabled¶
public bool IsInputMethodEnabled { get; }
Property Value¶
Opacity¶
public double Opacity { get; set; }
Property Value¶
OpacityMask¶
public Brush OpacityMask { get; set; }
Property Value¶
BitmapEffect¶
public BitmapEffect BitmapEffect { get; set; }
Property Value¶
Effect¶
public Effect Effect { get; set; }
Property Value¶
BitmapEffectInput¶
public BitmapEffectInput BitmapEffectInput { get; set; }
Property Value¶
CacheMode¶
public CacheMode CacheMode { get; set; }
Property Value¶
Uid¶
public string Uid { get; set; }
Property Value¶
Visibility¶
public Visibility Visibility { get; set; }
Property Value¶
ClipToBounds¶
public bool ClipToBounds { get; set; }
Property Value¶
Clip¶
public Geometry Clip { get; set; }
Property Value¶
SnapsToDevicePixels¶
public bool SnapsToDevicePixels { get; set; }
Property Value¶
IsFocused¶
public bool IsFocused { get; }
Property Value¶
IsEnabled¶
public bool IsEnabled { get; set; }
Property Value¶
IsHitTestVisible¶
public bool IsHitTestVisible { get; set; }
Property Value¶
Focusable¶
public bool Focusable { get; set; }
Property Value¶
PersistId¶
public int PersistId { get; }
Property Value¶
IsManipulationEnabled¶
public bool IsManipulationEnabled { get; set; }
Property Value¶
AreAnyTouchesOver¶
public bool AreAnyTouchesOver { get; }
Property Value¶
AreAnyTouchesDirectlyOver¶
public bool AreAnyTouchesDirectlyOver { get; }
Property Value¶
AreAnyTouchesCapturedWithin¶
public bool AreAnyTouchesCapturedWithin { get; }
Property Value¶
AreAnyTouchesCaptured¶
public bool AreAnyTouchesCaptured { get; }
Property Value¶
TouchesCaptured¶
public IEnumerable<TouchDevice> TouchesCaptured { get; }
Property Value¶
TouchesCapturedWithin¶
public IEnumerable<TouchDevice> TouchesCapturedWithin { get; }
Property Value¶
TouchesOver¶
public IEnumerable<TouchDevice> TouchesOver { get; }
Property Value¶
TouchesDirectlyOver¶
public IEnumerable<TouchDevice> TouchesDirectlyOver { get; }
Property Value¶
DependencyObjectType¶
public DependencyObjectType DependencyObjectType { get; }
Property Value¶
IsSealed¶
public bool IsSealed { get; }
Property Value¶
Dispatcher¶
public Dispatcher Dispatcher { get; }
Property Value¶
Constructors¶
GoogleMapTilesOverlay()¶
Initializes a new instance of the GoogleMapTilesOverlay class without an API key.
public GoogleMapTilesOverlay()
GoogleMapTilesOverlay(string)¶
Initializes a new instance of the GoogleMapTilesOverlay class.
public GoogleMapTilesOverlay(string apiKey)
Parameters¶
apiKey string
The Google Maps Platform API key.
GoogleMapTilesOverlay(string, GoogleMapTilesMapType)¶
Initializes a new instance of the GoogleMapTilesOverlay class.
public GoogleMapTilesOverlay(string apiKey, GoogleMapTilesMapType mapType)
Parameters¶
apiKey string
The Google Maps Platform API key.
mapType GoogleMapTilesMapType
The Google Map Tiles 2D map theme to display.
Methods¶
GetAttributionAsync(RectangleShape, double)¶
Gets copyright and attribution text for the displayed viewport.
public Task<string> GetAttributionAsync(RectangleShape extentInDecimalDegree, double scale)
Parameters¶
extentInDecimalDegree RectangleShape
The viewport extent in decimal degrees.
scale double
The current map scale.
Returns¶
Task<string>
A task that returns the attribution string, or an empty string when none is available.
GetAttributionAsync()¶
Gets copyright and attribution text for the current map viewport.
public Task<string> GetAttributionAsync()
Returns¶
Task<string>
A task that returns the attribution string, or an empty string when the overlay is not initialized.
OpenAsyncCore(CancellationToken)¶
Opens the overlay and validates that the configured tile size matches Google Map Tiles API requirements.
protected Task OpenAsyncCore(CancellationToken cancellationToken)
Parameters¶
cancellationToken CancellationToken
Returns¶
Task
A task that completes when initialization finishes.
DrawAsyncCore(RectangleShape, OverlayRefreshType, CancellationToken)¶
Draws visible tiles and refreshes attribution text for the requested extent.
protected Task DrawAsyncCore(RectangleShape targetExtent, OverlayRefreshType overlayRefreshType, CancellationToken cancellationToken)
Parameters¶
targetExtent RectangleShape
The geographic extent currently displayed.
overlayRefreshType OverlayRefreshType
The type the overlay is being refreshed.
cancellationToken CancellationToken
Token used to cancel the draw operation.
Returns¶
Task
A task that completes when drawing is finished.
SaveStateCore()¶
Serializes the current overlay configuration without persisting any Google tile cache.
protected Byte[] SaveStateCore()
Returns¶
Byte[]
A byte array containing the serialized overlay state.
LoadStateCore(Byte[])¶
Restores the overlay configuration from serialized data produced by .
protected void LoadStateCore(Byte[] state)
Parameters¶
state Byte[]
The serialized overlay state.
Returns¶
Events¶
SendingHttpRequest¶
public event EventHandler<SendingHttpRequestMessageEventArgs> SendingHttpRequest;
ReceivedHttpResponse¶
public event EventHandler<ReceivedHttpResponseMessageEventArgs> ReceivedHttpResponse;
DrawTilesProgressChanged¶
This event raises when download progress is changed.
public event EventHandler<DrawTilesProgressChangedTileOverlayEventArgs> DrawTilesProgressChanged;
DrawingTile¶
This event raises before the tile is drawing.
public event EventHandler<DrawingTileTileOverlayEventArgs> DrawingTile;
DrawnTile¶
This event raises after the tile is drawn.
public event EventHandler<DrawnTileTileOverlayEventArgs> DrawnTile;
TileTypeChanged¶
public event EventHandler<TileTypeChangedTileOverlayEventArgs> TileTypeChanged;
TileTypeChanging¶
public event EventHandler<TileTypeChangingTileOverlayEventArgs> TileTypeChanging;
CreatingSKTypefacesForCharacter¶
public event EventHandler<CreatingSKTypefaceForCharacterEventArgs> CreatingSKTypefacesForCharacter;
CreatingSKTypefacesForText¶
public event EventHandler<CreatingSKTypefacesForTextEventArgs> CreatingSKTypefacesForText;
Drawing¶
This event raises before the overlay is drawing.
public event EventHandler<DrawingOverlayEventArgs> Drawing;
Drawn¶
This event raises after the overlay is drawn.
public event EventHandler<DrawnOverlayEventArgs> Drawn;
DrawingAttribution¶
public event EventHandler<DrawingAttributionOverlayEventArgs> DrawingAttribution;
DrawnAttribution¶
public event EventHandler<DrawnAttributionOverlayEventArgs> DrawnAttribution;
ThrowingException¶
Occurs when the overlay catches an exception and allows subscribers to decide whether it should be suppressed.
public event EventHandler<ThrowingExceptionOverlayEventArgs> ThrowingException;
TargetUpdated¶
public event EventHandler<DataTransferEventArgs> TargetUpdated;
SourceUpdated¶
public event EventHandler<DataTransferEventArgs> SourceUpdated;
DataContextChanged¶
public event DependencyPropertyChangedEventHandler DataContextChanged;
RequestBringIntoView¶
public event RequestBringIntoViewEventHandler RequestBringIntoView;
SizeChanged¶
public event SizeChangedEventHandler SizeChanged;
Initialized¶
public event EventHandler Initialized;
Loaded¶
public event RoutedEventHandler Loaded;
Unloaded¶
public event RoutedEventHandler Unloaded;
ToolTipOpening¶
public event ToolTipEventHandler ToolTipOpening;
ToolTipClosing¶
public event ToolTipEventHandler ToolTipClosing;
ContextMenuOpening¶
public event ContextMenuEventHandler ContextMenuOpening;
ContextMenuClosing¶
public event ContextMenuEventHandler ContextMenuClosing;
PreviewMouseDown¶
public event MouseButtonEventHandler PreviewMouseDown;
MouseDown¶
public event MouseButtonEventHandler MouseDown;
PreviewMouseUp¶
public event MouseButtonEventHandler PreviewMouseUp;
MouseUp¶
public event MouseButtonEventHandler MouseUp;
PreviewMouseLeftButtonDown¶
public event MouseButtonEventHandler PreviewMouseLeftButtonDown;
MouseLeftButtonDown¶
public event MouseButtonEventHandler MouseLeftButtonDown;
PreviewMouseLeftButtonUp¶
public event MouseButtonEventHandler PreviewMouseLeftButtonUp;
MouseLeftButtonUp¶
public event MouseButtonEventHandler MouseLeftButtonUp;
PreviewMouseRightButtonDown¶
public event MouseButtonEventHandler PreviewMouseRightButtonDown;
MouseRightButtonDown¶
public event MouseButtonEventHandler MouseRightButtonDown;
PreviewMouseRightButtonUp¶
public event MouseButtonEventHandler PreviewMouseRightButtonUp;
MouseRightButtonUp¶
public event MouseButtonEventHandler MouseRightButtonUp;
PreviewMouseMove¶
public event MouseEventHandler PreviewMouseMove;
MouseMove¶
public event MouseEventHandler MouseMove;
PreviewMouseWheel¶
public event MouseWheelEventHandler PreviewMouseWheel;
MouseWheel¶
public event MouseWheelEventHandler MouseWheel;
MouseEnter¶
public event MouseEventHandler MouseEnter;
MouseLeave¶
public event MouseEventHandler MouseLeave;
GotMouseCapture¶
public event MouseEventHandler GotMouseCapture;
LostMouseCapture¶
public event MouseEventHandler LostMouseCapture;
QueryCursor¶
public event QueryCursorEventHandler QueryCursor;
PreviewStylusDown¶
public event StylusDownEventHandler PreviewStylusDown;
StylusDown¶
public event StylusDownEventHandler StylusDown;
PreviewStylusUp¶
public event StylusEventHandler PreviewStylusUp;
StylusUp¶
public event StylusEventHandler StylusUp;
PreviewStylusMove¶
public event StylusEventHandler PreviewStylusMove;
StylusMove¶
public event StylusEventHandler StylusMove;
PreviewStylusInAirMove¶
public event StylusEventHandler PreviewStylusInAirMove;
StylusInAirMove¶
public event StylusEventHandler StylusInAirMove;
StylusEnter¶
public event StylusEventHandler StylusEnter;
StylusLeave¶
public event StylusEventHandler StylusLeave;
PreviewStylusInRange¶
public event StylusEventHandler PreviewStylusInRange;
StylusInRange¶
public event StylusEventHandler StylusInRange;
PreviewStylusOutOfRange¶
public event StylusEventHandler PreviewStylusOutOfRange;
StylusOutOfRange¶
public event StylusEventHandler StylusOutOfRange;
PreviewStylusSystemGesture¶
public event StylusSystemGestureEventHandler PreviewStylusSystemGesture;
StylusSystemGesture¶
public event StylusSystemGestureEventHandler StylusSystemGesture;
GotStylusCapture¶
public event StylusEventHandler GotStylusCapture;
LostStylusCapture¶
public event StylusEventHandler LostStylusCapture;
StylusButtonDown¶
public event StylusButtonEventHandler StylusButtonDown;
StylusButtonUp¶
public event StylusButtonEventHandler StylusButtonUp;
PreviewStylusButtonDown¶
public event StylusButtonEventHandler PreviewStylusButtonDown;
PreviewStylusButtonUp¶
public event StylusButtonEventHandler PreviewStylusButtonUp;
PreviewKeyDown¶
public event KeyEventHandler PreviewKeyDown;
KeyDown¶
public event KeyEventHandler KeyDown;
PreviewKeyUp¶
public event KeyEventHandler PreviewKeyUp;
KeyUp¶
public event KeyEventHandler KeyUp;
PreviewGotKeyboardFocus¶
public event KeyboardFocusChangedEventHandler PreviewGotKeyboardFocus;
GotKeyboardFocus¶
public event KeyboardFocusChangedEventHandler GotKeyboardFocus;
PreviewLostKeyboardFocus¶
public event KeyboardFocusChangedEventHandler PreviewLostKeyboardFocus;
LostKeyboardFocus¶
public event KeyboardFocusChangedEventHandler LostKeyboardFocus;
PreviewTextInput¶
public event TextCompositionEventHandler PreviewTextInput;
TextInput¶
public event TextCompositionEventHandler TextInput;
PreviewQueryContinueDrag¶
public event QueryContinueDragEventHandler PreviewQueryContinueDrag;
QueryContinueDrag¶
public event QueryContinueDragEventHandler QueryContinueDrag;
PreviewGiveFeedback¶
public event GiveFeedbackEventHandler PreviewGiveFeedback;
GiveFeedback¶
public event GiveFeedbackEventHandler GiveFeedback;
PreviewDragEnter¶
public event DragEventHandler PreviewDragEnter;
DragEnter¶
public event DragEventHandler DragEnter;
PreviewDragOver¶
public event DragEventHandler PreviewDragOver;
DragOver¶
public event DragEventHandler DragOver;
PreviewDragLeave¶
public event DragEventHandler PreviewDragLeave;
DragLeave¶
public event DragEventHandler DragLeave;
PreviewDrop¶
public event DragEventHandler PreviewDrop;
Drop¶
public event DragEventHandler Drop;
PreviewTouchDown¶
public event EventHandler<TouchEventArgs> PreviewTouchDown;
TouchDown¶
public event EventHandler<TouchEventArgs> TouchDown;
PreviewTouchMove¶
public event EventHandler<TouchEventArgs> PreviewTouchMove;
TouchMove¶
public event EventHandler<TouchEventArgs> TouchMove;
PreviewTouchUp¶
public event EventHandler<TouchEventArgs> PreviewTouchUp;
TouchUp¶
public event EventHandler<TouchEventArgs> TouchUp;
GotTouchCapture¶
public event EventHandler<TouchEventArgs> GotTouchCapture;
LostTouchCapture¶
public event EventHandler<TouchEventArgs> LostTouchCapture;
TouchEnter¶
public event EventHandler<TouchEventArgs> TouchEnter;
TouchLeave¶
public event EventHandler<TouchEventArgs> TouchLeave;
IsMouseDirectlyOverChanged¶
public event DependencyPropertyChangedEventHandler IsMouseDirectlyOverChanged;
IsKeyboardFocusWithinChanged¶
public event DependencyPropertyChangedEventHandler IsKeyboardFocusWithinChanged;
IsMouseCapturedChanged¶
public event DependencyPropertyChangedEventHandler IsMouseCapturedChanged;
IsMouseCaptureWithinChanged¶
public event DependencyPropertyChangedEventHandler IsMouseCaptureWithinChanged;
IsStylusDirectlyOverChanged¶
public event DependencyPropertyChangedEventHandler IsStylusDirectlyOverChanged;
IsStylusCapturedChanged¶
public event DependencyPropertyChangedEventHandler IsStylusCapturedChanged;
IsStylusCaptureWithinChanged¶
public event DependencyPropertyChangedEventHandler IsStylusCaptureWithinChanged;
IsKeyboardFocusedChanged¶
public event DependencyPropertyChangedEventHandler IsKeyboardFocusedChanged;
LayoutUpdated¶
public event EventHandler LayoutUpdated;
GotFocus¶
public event RoutedEventHandler GotFocus;
LostFocus¶
public event RoutedEventHandler LostFocus;
IsEnabledChanged¶
public event DependencyPropertyChangedEventHandler IsEnabledChanged;
IsHitTestVisibleChanged¶
public event DependencyPropertyChangedEventHandler IsHitTestVisibleChanged;
IsVisibleChanged¶
public event DependencyPropertyChangedEventHandler IsVisibleChanged;
FocusableChanged¶
public event DependencyPropertyChangedEventHandler FocusableChanged;
ManipulationStarting¶
public event EventHandler<ManipulationStartingEventArgs> ManipulationStarting;
ManipulationStarted¶
public event EventHandler<ManipulationStartedEventArgs> ManipulationStarted;
ManipulationDelta¶
public event EventHandler<ManipulationDeltaEventArgs> ManipulationDelta;
ManipulationInertiaStarting¶
public event EventHandler<ManipulationInertiaStartingEventArgs> ManipulationInertiaStarting;
ManipulationBoundaryFeedback¶
public event EventHandler<ManipulationBoundaryFeedbackEventArgs> ManipulationBoundaryFeedback;
ManipulationCompleted¶
public event EventHandler<ManipulationCompletedEventArgs> ManipulationCompleted;