GrapeCity MultiRow Windows Forms Documentation
Office2007Style Enumeration
Example Example 


Specifies an Office 2007 appearance in different color schemes.
Syntax
Public Enum Office2007Style 
   Inherits System.Enum
Dim instance As Office2007Style
public enum Office2007Style : System.Enum 
Members
MemberDescription
BlackRepresents an appearance similar to Office 2007 when Office 2007's color scheme is "Black".
BlueRepresents an appearance similar to Office 2007 when Office 2007's color scheme is "Blue".
NoneDoes not use an Office 2007 appearance.
SilverRepresents an appearance similar to Office 2007 when Office 2007's color scheme is "Silver".
Remarks
There are three visual elements that can be drawn by the Office 2007 style in the GcMultiRow control. They are the header cell, scroll bar, and split button. You can customize them by setting the HeaderCell.Office2007Style, the GcMultiRow.ScrollBarOffice2007Style, and the GcMultiRow.SplitOffice2007Style properties.
Example
The following code example uses the GcMultiRow's Office2007Style related elements to create an Excel 2007 appearance.
Template template1 = this.gcMultiRow1.Template;
            //Set ScrollBar to Office 2007 style.
            this.gcMultiRow1.ScrollBarOffice2007Style = Office2007Style.Blue;
Dim template1 As Template = Me.gcMultiRow1.Template
        'Set ScrollBar to Office 2007 style.
        Me.gcMultiRow1.ScrollBarOffice2007Style = Office2007Style.Blue
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         GrapeCity.Win.MultiRow.Office2007Style

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

GrapeCity.Win.MultiRow Namespace
Office2007Style Property
ScrollBarOffice2007Style Property
SplitOffice2007Style Property

 

 


Copyright © GrapeCity, inc. All rights reserved.