LayersGadget Class |
Namespace: Ptv.XServer.Controls.Map.Gadgets
The LayersGadget type exposes the following members.
Name | Description | |
---|---|---|
LayersGadget | Initializes a new instance of the LayersGadget class. |
Name | Description | |
---|---|---|
KeyboardFocusBehavior | 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. (Inherited from MapGadget.) | |
LayerListReverted | Gets or sets a value indicating whether the layer list is shown reverted. By default, the value
is false and the layers are shown bottom up in the list. The layer which is painted on the bottom of the
map is also shown at the last position in the map. If this parameter is true, the bottom layer is shown at
the first position in the list. | |
Map | Gets or sets the map core object holding the gadgets collection for example. (Inherited from MapGadget.) | |
MapView | Gets or sets the map content object which can be used to edit the layers and all map properties. (Inherited from MapGadget.) | |
MouseFocusBehavior | 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'. (Inherited from MapGadget.) | |
ShowContentLayersOnly | Gets or sets a value indicating whether only layers of category "content" are to be shown. | |
Visible | Gets or sets a value indicating whether the gadget is to be displayed or hidden. By default, the
gadget is visible. (Inherited from MapGadget.) |
Name | Description | |
---|---|---|
Initialize | Initializes the map gadget. The mouse events are connected and the gadget is added to the map
gadgets list of the parent map. (Overrides MapGadgetInitialize.) | |
InitializeComponent |
InitializeComponent
| |
UnInitialize | Uninitializes the map gadget. The mouse events are disconnected and the gadget is removed from
the parent map gadget list. (Overrides MapGadgetUnInitialize.) | |
UpdateContent | Updates the inner content of the map gadget according to the currently set colors. (Overrides MapGadgetUpdateContent.) |
Name | Description | |
---|---|---|
FindRelativeT | Finds an object of type T for a framework element which is somewhere in the visual tree. (Defined by MapElementExtensions.) | |
ToJson | Converts an object to a JSON string representation. (Defined by JSONWriter.) |