上一页 1 ··· 79 80 81 82 83 84 85 86 87 ··· 90 下一页
摘要: http://blog.csdn.net/xuan444150/article/details/7727866分类: silverlight王国 GIS王国 2012-07-09 08:50 194人阅读 评论(0) 收藏 举报silverlightnull查询结果:GraphicsLayer graphicslayer = null; int index = this.listStreet.SelectedIndex; if(index>-1) { Graphic selectedGra = lisRoad[index].RoadGraphic; if (objCurrentMap.L 阅读全文
posted @ 2013-09-13 16:24 长白山 阅读(355) 评论(0) 推荐(0)
摘要: ArcGIS Silverlight API:是构建在微软Silverlight平台之上,通过ArcGIS Server Rest API消费ArcGISServer 服务,同时支持直接消费Bing地图服务的应用程序编程接口。ArcGIS Server服务: 1、MapService --地图展示、要素查询 2、GeometryService - -实现基于Geometry的功能模块 3、Geoprocessing Service --在Web端消费GP工具 4、GeoCodeService --实现地理编码和解码Bing服务: 1、Map Services --访问Bing在线缓存地图数据 阅读全文
posted @ 2013-09-13 14:47 长白山 阅读(430) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/Royal_WH/archive/2010/11/02/1867366.html 阅读全文
posted @ 2013-09-12 20:11 长白山 阅读(168) 评论(0) 推荐(0)
摘要: http://www.silverlightchina.net/html/tips/2011/0812/9719.htmlhttp://www.silverlightchina.net/html/tips/2011/0812/9717.htmlhttp://www.silverlightchina.net/html/tips/2011/0812/9719.html 阅读全文
posted @ 2013-09-12 17:09 长白山 阅读(153) 评论(0) 推荐(0)
摘要: Widgets翻译过来是小玩具。如果使用过Dojo或者ExtJS等js框架肯定会了解到这个“小玩具”也有大用处,能够在很大程度上减少我们的工作量,快速完成功能需求。能减少多大工作量呢?让我们先来,点击这里,看一个例子。 前两节的地图中,总感觉少点什么……对,就是一个sliderbar,有了它感觉就像汽车有了方向盘一样,能够控制方向了。那么来看看实现上面这个例子中的滑块条需要做什么工作吧。在silverlight中创建一个UserControl,把上面sliderbar的外观和功能都封装在里面。来看具体工作。vs中,在silverlight工程上右键单击,add,new item,选择silv. 阅读全文
posted @ 2013-09-11 20:16 长白山 阅读(423) 评论(0) 推荐(0)
摘要: 一、安装1、Visual Studio:(1)Visual Studio 2010或Visual Web Developer Express 2010(2)Silverlight 4 Tools for Visual Studio (add-on) :仅Silverlight 4支持(3)Expression Blend 4 SDK for Silverlight (also included with Expression Blend 4)(Necessary for behavior and Silverlight support)2、Expression Blend:(1)Express 阅读全文
posted @ 2013-09-11 13:36 长白山 阅读(629) 评论(0) 推荐(0)
摘要: 问题1:嵌套Winform控件(ZedGraph)在WPF的ScrollViewer控件上,出现滚动条,无论如何设置该Winform控件都在顶层,滚动滚动条会覆盖其他WPF控件。解决办法:在ScrollViewer上嵌套一层ElementHost,其作用相当于将ScrollViewer整一层又包装成Winform。 如: 阅读全文
posted @ 2013-09-09 13:25 长白山 阅读(1470) 评论(0) 推荐(0)
摘要: 预设置元素名字WPF有两种方式设置元素的Name 这里我们的重点不在于讨论Name和x:Name的区别,Name是真正元素上的属性,x:Name而则xaml(语法解析)的魔力,我们所看到的只能是表象.查找已设置Name的元素WPF的基类元素FrameworkElement提供了FindName方法以提供查找设定的元素以Code的形式添加元素var label = new Label();label.Name = "label3";panel.Children.Add(label);注意已经设置了Name添加好以后,然... 阅读全文
posted @ 2013-09-08 16:42 长白山 阅读(679) 评论(0) 推荐(0)
摘要: 目录1. 改变ListBoxItem颜色2. ListViewItem的颜色设置注意:本文仅讨论默认ListBoxItem和ListViewItem的鼠标指向和被选择后的前景和背景颜色设置。如果你想要更高的需求,建议写更详细的空间模板和数据模板。返回目录1. 改变ListBoxItem颜色有很多改变ListBoxItem颜色的方案,比如这篇文章:自定义WPF ListBox的选择样式。不过我认为下面这种方法比较好:过程是首先通过触发器(Trigger)先判断ListBoxItem是否被选定(通过IsSelected属性)和是否被鼠标指向(通过IsMouseOver属性)来设置ListBoxIt 阅读全文
posted @ 2013-09-08 03:40 长白山 阅读(9658) 评论(0) 推荐(2)
摘要: WPF样式博客:http://www.cnblogs.com/luluping/archive/2011/05/06/2039498.html 阅读全文
posted @ 2013-09-08 01:20 长白山 阅读(206) 评论(0) 推荐(0)
上一页 1 ··· 79 80 81 82 83 84 85 86 87 ··· 90 下一页