GrapeCity MultiRow Windows Forms Documentation
Template Class
Members 


Represents the template for GcMultiRow.
Object Model
Template ClassCellStyle ClassCellStyle ClassColumnFooterSectionCollection ClassColumnFooterSection ClassCellStyle ClassCellStyle ClassColumnHeaderSectionCollection ClassColumnHeaderSection ClassCellStyle ClassCellStyle ClassTemplate ClassCellStyle ClassTemplate ClassNamedCellStyleDictionary ClassCellStyle ClassRow ClassCellStyle ClassCellStyle Class
Syntax
<DesignerSerializerAttribute(SerializerTypeName="GrapeCity.Win.MultiRow.Design.TemplateTypeCodeDomSerializer,GrapeCity.Win.MultiRow.Design, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9", SerializerBaseTypeName="System.ComponentModel.Design.Serialization.TypeCodeDomSerializer,System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
<DesignerSerializerAttribute(SerializerTypeName="GrapeCity.Win.MultiRow.Design.TemplateCodeDomSerializer,GrapeCity.Win.MultiRow.Design, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9", SerializerBaseTypeName="System.ComponentModel.Design.Serialization.CodeDomSerializer,System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
<TypeConverterAttribute("GrapeCity.Win.MultiRow.Design.TemplateConverter, GrapeCity.Win.MultiRow, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")>
<DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IRootDesigner, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", DesignerTypeName="GrapeCity.Win.MultiRow.Design.TemplateDesigner, GrapeCity.Win.MultiRow.Design, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")>
<DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="GrapeCity.Win.MultiRow.Design.TemplateComponentDesigner,GrapeCity.Win.MultiRow.Design, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")>
<ToolboxBitmapAttribute()>
<SRDescriptionAttribute("Provides a grid layout.")>
<ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="GrapeCity.Win.MultiRow.Design.TemplateEditor,GrapeCity.Win.MultiRow.Design, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")>
Public Class Template 
   Inherits System.ComponentModel.Component
Dim instance As Template
[DesignerSerializer(SerializerTypeName="GrapeCity.Win.MultiRow.Design.TemplateTypeCodeDomSerializer,GrapeCity.Win.MultiRow.Design, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9", SerializerBaseTypeName="System.ComponentModel.Design.Serialization.TypeCodeDomSerializer,System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[DesignerSerializer(SerializerTypeName="GrapeCity.Win.MultiRow.Design.TemplateCodeDomSerializer,GrapeCity.Win.MultiRow.Design, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9", SerializerBaseTypeName="System.ComponentModel.Design.Serialization.CodeDomSerializer,System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[TypeConverter("GrapeCity.Win.MultiRow.Design.TemplateConverter, GrapeCity.Win.MultiRow, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")]
[Designer(DesignerBaseTypeName="System.ComponentModel.Design.IRootDesigner, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", DesignerTypeName="GrapeCity.Win.MultiRow.Design.TemplateDesigner, GrapeCity.Win.MultiRow.Design, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")]
[Designer(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="GrapeCity.Win.MultiRow.Design.TemplateComponentDesigner,GrapeCity.Win.MultiRow.Design, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")]
[ToolboxBitmap()]
[SRDescription("Provides a grid layout.")]
[ToolboxItem(ToolboxItemType=, ToolboxItemTypeName="")]
[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="GrapeCity.Win.MultiRow.Design.TemplateEditor,GrapeCity.Win.MultiRow.Design, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")]
public class Template : System.ComponentModel.Component 
Remarks

The template is a group of cells with free layout. GcMultiRow provides built-in cells for designing a template including TextBoxCell, ComboBoxCell, and so on. These cells have similar functions and appearance as .NET standard controls. When you load a template in the GcMultiRow control, every row has the same layout according to the template.

You can design a template with the Integration Designer or code. In the Integration Designer, it is easy to design a template by dragging and moving the cells. When you use code to design a template, you need to set the Size and Location properties for every cell.

You can also save a template as an XML file with the Save(String) method and then load it with the Load(String) method, making it easy to share your template with others.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         GrapeCity.Win.MultiRow.Template

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Template Members
GrapeCity.Win.MultiRow Namespace
GcMultiRow Class
Section Class
ColumnHeaderSection Class
Row Class
ColumnFooterSection Class
Cell Class

 

 


Copyright © GrapeCity, inc. All rights reserved.