Ejemplo n.º 1
0
 private void Configure()
 {
     Layers           = new LayerCollection(MapFrame, this);
     _stateLocked     = false;
     IsDragable       = true;
     base.IsExpanded  = true;
     ContextMenuItems = new List <SymbologyMenuItem>();
     ContextMenuItems.Add(new SymbologyMenuItem("Remove Group", Remove_Click));
     ContextMenuItems.Add(new SymbologyMenuItem("Zoom to Group", (sender, args) => ZoomToGroup()));
     ContextMenuItems.Add(new SymbologyMenuItem("Create new Group", CreateGroupClick));
     _selectionEnabled = true;
 }
Ejemplo n.º 2
0
 private void Configure()
 {
     Layers           = new LayerCollection(MapFrame, this);
     StateLocked      = false;
     IsDragable       = true;
     IsExpanded       = true;
     ContextMenuItems = new List <SymbologyMenuItem>
     {
         new SymbologyMenuItem("Remove Group", RemoveClick),
         new SymbologyMenuItem("Zoom to Group", (sender, args) => ZoomToGroup()),
         new SymbologyMenuItem("Create new Group", CreateGroupClick)
     };
 }
Ejemplo n.º 3
0
        private void Configure()
        {
            Layers           = new LayerCollection(this);
            base.LegendText  = SymbologyMessageStrings.LayerFrame_Map_Layers;
            ContextMenuItems = new List <SymbologyMenuItem>();
            ContextMenuItems.Add(new SymbologyMenuItem(SymbologyMessageStrings.LayerFrame_RemoveMapFrame, Remove_Click));
            ContextMenuItems.Add(new SymbologyMenuItem(SymbologyMessageStrings.LayerFrame_ZoomToMapFrame, ZoomToMapFrame_Click));
            ContextMenuItems.Add(new SymbologyMenuItem(SymbologyMessageStrings.LayerFrame_CreateGroup, CreateGroup_Click));

            base.LegendSymbolMode = SymbolMode.GroupSymbol;
            LegendType            = LegendType.Group;
            MapFrame       = this;
            ParentGroup    = this;
            _drawingLayers = new List <ILayer>();
        }
Ejemplo n.º 4
0
        private void Configure()
        {
            Layers           = new LayerCollection(this);
            LegendText       = SymbologyMessageStrings.LayerFrame_Map_Layers;
            ContextMenuItems = new List <SymbologyMenuItem>
            {
                new SymbologyMenuItem(SymbologyMessageStrings.LayerFrame_ZoomToMapFrame, ZoomToMapFrameClick),
                new SymbologyMenuItem(SymbologyMessageStrings.LayerFrame_CreateGroup, CreateGroupClick)
            };

            LegendSymbolMode = SymbolMode.GroupSymbol;
            LegendType       = LegendType.Group;
            MapFrame         = this;
            ParentGroup      = this;
            DrawingLayers    = new List <ILayer>();
        }