Click or drag to resize

MapGadgetKeyboardFocusBehavior Property

Gets or sets a value which controls if Keyboard.PreviewKeyDownEvents forward the focus to the map or not. If set to HandoverToMap every key press on the gadget or one of its children sets the focus to the map. As a result the gadget and all of its children is not able to gain the focus any more.

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 KeyboardFocusBehavior { get; set; }

Property Value

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