Spread 7 for WinForms 新增的GcTextBoxCellType (水印、自动换行、自动大写、长度限制等)

<strong>Spread 7 for WinForms</strong> 新引入了2 个新的 CellTypes:<ul> <li><strong>GcTextBoxCellType</strong>&#160;&#160; 文本输入 </li> <li><strong>GcDateTimeCellType</strong> 日期输入 </li></ul>本文就<strong>GcTextBoxCellType</strong> 的几个常用的功能进行说明:<strong>GcTextBoxCellType</strong> 相对TextCellType而言,属于增强型CellType。 事实上,它相当于TextBox控件一样可以做任何事,最重要的是,不用写自定义CellType的继承类。 如,早期的TextCellType无法处理CrLf和Tab制表符--当拷贝、粘贴的时候。而<strong>GcTextBoxCellType</strong> 仅仅通过2个属性的设置即可实现类似功能-&#160; AcceptsCrLf、AcceptsTabChar。

用XAML来为C1Chart 创建背景高亮的”Alarm Zone”区域

本文在C1Chart实现一个自定义的序列,它用来背景高亮呈现颜色带---Alarm Zone区域。&#160; 用途适用于需要用背景颜色区分的场景,本文适用于WPF、SilverLight,且代码可用于Windows Store和Windows Phone apps上。<a href="http://www.grapecity.com.cn/image.ashx?picture=Chart_AlarmZone5.png"><img title="Chart_AlarmZone5" style="border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px" border="0" alt="Chart_AlarmZone5" src="http://www.grapecity.com.cn/image.ashx?picture=Chart_AlarmZone5.png" width="640" height="388" /></a>

TX Text Control 文字处理程序基本功能之图片大小自适应

最近有TX产品用户提出了这样的需求,就是在TX文档插入图片之后,图片大小能够只适应其父容器的大小,比如在TextFrame中插入图片之后,图片的高和宽能够根据TextFrame的大小自动进行缩放比例的调整。本文就主要介绍该功能的实现方法。<br/><div style="width:500px;height:400px;overflow:hidden"><img src="/image.ashx?picture=ImageAutoSize_thumb.gif" alt="TX Text Control 文字处理程序基本功能之图片大小自适应" width="500px" /></div>

Spread for Winforms 表格控件:在单元格中创建列表

最近有用户在论坛提问如何向 Excel 一样实现在单元格中创建列表,在这里记录下来,以供广大用户参考。Step 1 : 自定义动作首先,我们需要在自定义动作中抓取当前的编辑器,通过设置其文本来实现折行。代码如下:<p><img src="http://our.componentone.com/wp-content/uploads/2013/10/OutputDemo1.gif" alt="OutputDemo1" /></p>

ComponentOne WPF&Silverlight Chart3D 的使用方法

3D 一直是近几年的热门话题,我们接触最多的可能是 3D 电影。从 2010 V3 版本起,ComponentOne 发布了 3D 图表 C1Chart3D-由X、Y、Z三个轴组成的图表,是相对于只有长和宽的平面而言。<p><img src="http://our.componentone.com/wp-content/uploads/2010/11/1425.3dglasses.png" /></p>

ComponentOne Studio® for Silverlight,五步实现一个RIA系统主页面

基于“<strong>五步实现系统主页面</strong>”系列文章思路,本文实现了一个SilverLight版RIA系统主页面的简单原型:<ul> <li>《<a href="http://blog.gcpowertools.com.cn/post/2013/10/21/c12013_v25_demo_mainform_UI.aspx">ComponentOne 2013v2.5 Winforms,五步实现一个系统主页面</a>》 </li> <li>《<a href="http://blog.gcpowertools.com.cn/post/2013/11/01/ASP_net_C1_Wijmo_Web_demo.aspx">ComponentOne 2013v2.5 Asp.net Wijmo,五步实现一个Web系统主页面</a>》 </li> <li>《<a href="http://blog.gcpowertools.com.cn/post/2013/11/08/Silverlight5_CSharp__demo_C1Chart_C1FlexGrid.aspx">ComponentOne Studio? for Silverlight,五步实现一个RIA系统主页面</a>》 </li><li>《<a href="http://blog.gcpowertools.com.cn/post/2013/11/16/Five_Step_Spread_Winforms.aspx">Spread for WinForms,五步实现一个数据处理系统主界面</a>》 </li></ul><a href="http://www.grapecity.com.cn/image.ashx?picture=SL_7.gif"><img title="SL_7" style="border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px" border="0" alt="SL_7" src="http://www.grapecity.com.cn/image.ashx?picture=SL_7.gif" width="504" height="408" /></a>

ComponentOne C1Chart3D WPF&Silverlight 设置坐标轴自定义标签

在 ComponentOne WPF&Silverlight Chart3D 的使用方法 文章中我了解了 3D 图表的基本使用方法。本篇文章中我们将叙述如何自定义坐标轴标签。C1Chart3D 坐标轴标签由 AnnoTemplate 属性设置,我们可以通过自定义 DataTemlate 来实现标签的转换。实现起来也比较简单,使用 TextBlock 作为容器即可,XAML 代码如下:<img src="http://our.componentone.com/wp-content/uploads/2012/12/Chart3D_AnnoTemplate.png" alt="自定义C1Chart3D标签" />

C1 ASP.NET Wijmo GridView导出为PDF格式

本文通过一个简单的途径实现了导出为PDF文件的方法,供参考:<ul> <li>通过使用 <a href="http://msdn.microsoft.com/en-us/library/system.io.stringwriter.aspx">StringWriter</a> and <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.htmltextwriter.aspx">HtmlTextWriter</a> 类来保存Grid数据为HTML字符串。 </li> <li>然后,通过其他控件生成PDF文件。 如我们这里用到的<strong>C1PdfDocument控件 (<strong>C1PdfDocument是<a href="http://helpcentral.componentone.com/nethelp/c1pdf/#!Documents/componentonepdfforne.htm">C1Pdf</a> dll的一部分</strong>)</strong></li> <li>创建一个C1PdfDocument类的实例后,便可获得一个PDF文档的空白页面。你可以通过类如<strong>DrawStringHtml</strong>(), <strong>DrawString</strong>()的函数来写PDF文档内容</li></ul>

Spread Studio for .NET 7.0 v2 发布啦!

我非常高兴的宣布 Spread Studio 7 v2 正式发布啦! 本次发布的最大亮点是所有平台下 Spread 产品都支持触摸操作。同时,在本次发布的版本在功能和性能方面都有很大提升。还在等待什么呢?赶快试用吧:

ComponentOne 2013v2.5 Asp.net Wijmo,五步实现一个Web系统主页面

基于“<strong>五步实现系统主页面</strong>”系列文章:<ul> <li>《<a href="http://blog.gcpowertools.com.cn/post/2013/10/21/c12013_v25_demo_mainform_UI.aspx">ComponentOne 2013v2.5 Winforms,五步实现一个系统主页面</a>》 </li> <li>《<a href="http://blog.gcpowertools.com.cn/post/2013/11/01/ASP_net_C1_Wijmo_Web_demo.aspx">ComponentOne 2013v2.5 Asp.net Wijmo,五步实现一个Web系统主页面</a>》 </li> <li>《<a href="http://blog.gcpowertools.com.cn/post/2013/11/08/Silverlight5_CSharp__demo_C1Chart_C1FlexGrid.aspx">ComponentOne Studio? for Silverlight,五步实现一个RIA系统主页面</a>》 </li> <li>《<a href="http://blog.gcpowertools.com.cn/post/2013/11/16/Five_Step_Spread_Winforms.aspx">Spread for WinForms,五步实现一个数据处理系统主界面</a>》 </li></ul>本文实现了一个ComponentOne Asp.net Wijmo版的一个Web系统主页面原型。整个web系统的主页面分为以下5个部分:左侧导航区: C1TreeView 右上角工作区:C1Splitter、C1Input控件 右下角信息呈现区之表格: C1GridView--Excel导出、PDF导出 右下角信息呈现区之图表: C1CompositeChart 右下角信息呈现区之报表: C1ReportViewer