Infragistics 控件 WebExplorerBar 使用 及发布注意事项

WebExplorerBar 是一款可以做网页左菜单的控件;两种方式添加菜单项,一种是直接通过设计器添加菜单;一种是动态添加菜单;

样式设置,可以通过StyleSetName设置,点击需要先导入样式




发布时需要注意,如果使用导入样式,项目需要加载样式文件和图片

在解决方案中是隐藏文件,只要设置“包含项目中”即可


一种:直接添加菜单

点击Edit Groups and Items



add root:添加组

add child: 添加子项,通过NavigateUrl指定网页,并点击APPLY按钮



二种:动态添加

前台添加WebExplorerBar,后台代码如下:

WebExplorerBar1.Groups.Clear();

 ExplorerBarGroup ebg1 = new ExplorerBarGroup("业务操作");//实例并给组命名
            ebg1.Expanded = true;//默认展开节点
            ebg1.Items.Add("我的首页", "", "~/Home.aspx", "~/img/ppt.gif"); //子项名称,指定页面路径,子项列头图片

            ebg1.Items.Add("新建任务", "", "~/CreateTask.aspx", "~/img/ppt.gif");

            WebExplorerBar1.Groups.Add(ebg1);


运行效果图:




☆ 资料说明:☆ 压缩包内包含安装程序和注册机; Like Windows 8, Infragistics brings together the best of the PC and tablet in this suite. Impress and innovate with premier controls for data visualization. No matter what the platform or category, apps created with NetAdvantage for Windows UI will be bold, performant, and drive revenue thorugh the Windows Store. Fast & Fluid Maximize your apps with a Grid control designed for stylablity and high performance. Data and UI virtualization make this Grid lightweight and extremely fast when handling large amounts of data. This control allows you to display your data in the style and matter that best fits your needs. Drill, down, edit, delete, select, sort, group, and filter rows using your mouse, keyboard, or touch gestures. Innovative Charting Let your data tell the story, with the broadest range of interactive, high-performance Data Charts that include support for a full range of business, scientific, and financial charting scenarios, as well as trend line capabilities "right out of the box." This Data Chart is a next-generation charting control designed for handling a live data feed coming in with over tens of thousands of data point every several milliseconds. Touch Optimized Deliver the latest Touch UI with our new gesture supported controls - like our Editor controls - without needing to write code separately for mouse vs. touchscreen inputs. Touch support across HTML5 and XAML controls offers larger buttons and gesture-friendly UI for commonly used interactions like grouping, multiple sorting, multiple selection, scrolling, and more - no plug-ins or extensions needed. Reference App The Running Total app, which uses our XAML and HTML Chart and Map controls, is an end-to-end application that delivers a true Windows 8 experience, designed with best practices and performance. Included in the Running Total app are assemblies for a variety of Chart types, with trend lines, finanacial indicators, touch-first features, and our Geospatial Mapping controls, which support multiple tile sources and geo-imagery features.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值