Click or drag to resize

MapGadgetMouseFocusBehavior Property

Gets or sets a property which controls if Mouse.PreviewMouseUpEvents forward the focus to the map or not. If set to HandoverToMap, every mouse click on the gadget or one of its children sets the focus to the map. The focus can still be retained if it is set e.g. by using the 'tab' key if 'KeyboardFocusBehavior' is set to 'Retain'.

Namespace:  Ptv.XServer.Controls.Map.Gadgets
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public FocusBehaviorMode MouseFocusBehavior { get; set; }

Property Value

Type: FocusBehaviorMode
FocusBehaviorMode which defines whether PreviewMouseUpEvents forward the focus to the map.
See Also