Silverlight Toolkit

http://www.codeplex.com/Silverlight/



What is the Silverlight Toolkit?

The Silverlight Toolkit is a collection of Silverlight controls, components and utilities made available outside the normal Silverlight release cycle. It adds new functionality quickly for designers and developers, and provides the community an efficient way to help shape product development by contributing ideas and bug reports. This first release includes full source code, unit tests, samples and documentation for 12 new controls covering charting, styling, layout, and user input.

How the Silverlight Toolkit is Built

We use an iterative, evolutionary development model to release new controls and updates often and get feedback from the community to our development team quickly. With access to source code, unit tests and the infrastructure magic we use internally, the community can let us know what it likes and what it wants to change. Anyone can download the source code and start exploring. This transparency will allow the community to help us prioritize features based on real-world usage and actual customer scenarios. We also want to make it easy to reuse skills and source code which is why all our components are designed with Windows Presentation Foundation in mind and the Silverlight Toolkit is released under the Microsoft Public License.

Controls Example


Get Started


Silverlight Toolkit November 2008 Overview

The Silverlight Toolkit defines four Quality Bands that describe the stability and finish-level of each component. Below is a summary of where the components currently in the Silverlight Toolkit fall within the quality bands.



Themes

In addition to great controls, the Toolkit also includes a beautiful assortment of professional themes to make your applications stand out and improve the overall look-and-feel of your Silverlight UI. See the overview on Theming for more information.


More Resources


Team Member's Blogs

转载于:https://www.cnblogs.com/llbofchina/archive/2008/10/29/1321831.html

SkinMagicToolkit 一:文件说明 SkinMagicLib.h 必须的头文件,请添加到工程中。 SkinMagic.lib + SkinMagic.dll 动态链接库配套使用 编译时需要在工程中添加SkinMagic.dll,程序运行时需要SkinMagic.dll 以下版本的编译出来的程序运行时不再依赖SkinMagic.dll SkinMagicLibMD6.lib 静态链接库,用于VC6的Release版编译 SkinMagicLibMT6.lib 静态链接库,用于VC6的Debug版编译 二:使用步骤 1。把SkinMagicLib.h, SkinMagicLibMT6.lib, SkinMagicLibMD6.lib放到你的VC6工程目录下 2。在StdAfx.h中添加 #include "SkinMagicLib.h" 3。在工程设置中添加对应的库 Win32 Release中填上SkinMagicLibMD6.lib Win32 Debug中填上SkinMagicLibMT6.lib 4。在InitInstance()函数的开始处添加初始化SkinMagic资源的代码。 VERIFY(1 == InitSkinMagicLib(AfxGetInstanceHandle(), NULL, NULL, NULL)); 5。在InitInstance()函数中加载皮肤文件并设置程序皮肤。 你可以选择添加皮肤文件到资源中,并编译到程序中。或者程序在运行时动态加载皮肤文件 a. 比如添加corona.smf,设置资源类型为"SKINMAGIC", 资源ID为IDR_SKIN_CORONA CBossKeyDlg dlg; m_pMainWnd = &dlg; //加载SkinMagic皮肤 VERIFY(1 == LoadSkinFromResource(NULL, (LPSTR)IDR_SKIN_CORONA, "SKINMAGIC")); VERIFY(1 == SetWindowSkin(m_pMainWnd->m_hWnd, "MainFrame")); VERIFY(1 == SetDialogSkin("Dialog")); int nResponse = dlg.DoModalEx(bStartShow); if (nResponse == IDOK) { } else if (nResponse == IDCANCEL) { } b. 程序在运行时动态加载皮肤文件 CBossKeyDlg dlg; m_pMainWnd = &dlg; //加载SkinMagic皮肤 VERIFY(1 == LoadSkinFile("corona.smf")); VERIFY(1 == SetWindowSkin(m_pMainWnd->m_hWnd, "MainFrame")); VERIFY(1 == SetDialogSkin("Dialog")); int nResponse = dlg.DoModalEx(bStartShow); if (nResponse == IDOK) { } else if (nResponse == IDCANCEL) { } 6。在ExitInstance()函数中释放SkinMagic资源 //释放SkinMagic资源: ExitSkinMagicLib();
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值