<?xml version="1.0" encoding="utf-8"?> <WebLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="WebLayout-1.0.0.xsd"> <Title>我的网页布局</Title> <Map> <ResourceId>Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition</ResourceId> <HyperlinkTarget>TaskPane</HyperlinkTarget> </Map> <ToolBar> <Visible>true</Visible> <Button xsi:type="CommandItemType"> <Function>Command</Function> <Command>MyPrint</Command> </Button> <Button xsi:type="CommandItemType"> <Function>Command</Function> <Command>MyPan</Command> </Button> </ToolBar> <InformationPane> <Visible>false</Visible> <Width>200</Width> <LegendVisible>false</LegendVisible> <PropertiesVisible>false</PropertiesVisible> </InformationPane> <ContextMenu> <Visible>true</Visible> <MenuItem xsi:type="CommandItemType"> <Function>Command</Function> <Command>MyPrint</Command> </MenuItem> <MenuItem xsi:type="CommandItemType"> <Function>Command</Function> <Command>MyPan</Command> </MenuItem> </ContextMenu> <TaskPane> <Visible>false</Visible> <Width>280</Width> <TaskBar> <Visible>true</Visible> <Home> <Name>Home</Name> <Tooltip>Return to home task page</Tooltip> <Description>Return to home task page</Description> <ImageURL>../stdicons/icon_home.gif</ImageURL> <DisabledImageURL>../stdicons/icon_home_disabled.gif</DisabledImageURL> </Home> <Forward> <Name>Forward</Name> <Tooltip>Forward to next task page</Tooltip> <Description>Forward to next task page</Description> <ImageURL>../stdicons/icon_forward.gif</ImageURL> <DisabledImageURL>../stdicons/icon_forward_disabled.gif</DisabledImageURL> </Forward> <Back> <Name>Back</Name> <Tooltip>Return to previous task page</Tooltip> <Description>Return to previous task page</Description> <ImageURL>../stdicons/icon_back.gif</ImageURL> <DisabledImageURL>../stdicons/icon_back_disabled.gif</DisabledImageURL> </Back> <Tasks> <Name>Tasks</Name> <Tooltip>Task list</Tooltip> <Description>View a list of available tasks</Description> <ImageURL>../stdicons/icon_tasks.gif</ImageURL> <DisabledImageURL>../stdicons/icon_tasks_disabled.gif</DisabledImageURL> </Tasks> </TaskBar> </TaskPane> <StatusBar> <Visible>false</Visible> </StatusBar> <ZoomControl> <Visible>false</Visible> </ZoomControl> <CommandSet> <Command xsi:type="BasicCommandType"> <Name>MyPan</Name> <Label>平移</Label> <Tooltip>通过拖拽显示更多内容</Tooltip> <Description>Drag the map to view areas out of range</Description> <ImageURL>../stdicons/icon_pan.gif</ImageURL> <DisabledImageURL>../stdicons/icon_pan_disabled.gif</DisabledImageURL> <TargetViewer>All</TargetViewer> <Action>Pan</Action> </Command> <Command xsi:type="GetPrintablePageCommandType"> <Name>MyPrint</Name> <Label>打印</Label> <Tooltip>打开一个可以打印的页面</Tooltip> <Description /> <ImageURL>../stdicons/icon_printablepage.gif</ImageURL> <DisabledImageURL>../stdicons/icon_printablepage_disabled.gif</DisabledImageURL> <TargetViewer>Ajax</TargetViewer> <Target>NewWindow</Target> </Command> </CommandSet> </WebLayout>