Class AutoFormat
  
  
  
  
    Inheritance
    System.Object
    AutoFormat
   
  Inherited Members
      System.Object.Equals(System.Object)
    
      System.Object.Equals(System.Object, System.Object)
    
      System.Object.GetHashCode()
    
      System.Object.GetType()
    
      System.Object.MemberwiseClone()
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
      System.Object.ToString()
    
 
  
  Assembly: Syncfusion.EJ2.GridExport.dll
  
  
  Constructors
  
  
  
  
  
  
  
  Declaration
  
  Properties
  
  
  
  
  
  Gets or sets a value that specifies the background EJ2Color.Color for an alternate row.
 
  
  Declaration
  
    public Color AltRowBgColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  
  Gets or sets a value that specifies the background EJ2Color.Color for the block section.
 
  
  Declaration
  
    public Color BlockBGColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  
  Gets or sets a value that indicates the border-size for an element with four values.
 
  
  Declaration
  
    public int BorderSize { get; set; }
   
  Property Value
  
  
  
  
  
  Gets or sets a value that indicates the border-type for an element.
 
  
  Declaration
  
    public string BorderType { get; set; }
   
  Property Value
  
  
  
  
  
  Gets or sets a value that specifies the background EJ2Color.Color for the caption.
 
  
  Declaration
  
    public Color CaptionBGColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  ContentBgColor
  Gets or sets a value that specifies the background EJ2Color.Color for the group header.
 
  
  Declaration
  
    public Color ContentBgColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  ContentBorderColor
  Gets or sets a value that specifies the border EJ2Color.Color for the content.
 
  
  Declaration
  
    public Color ContentBorderColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  ContentFontColor
  Gets or sets a value that specifies the font EJ2Color.Color for the content.
 
  
  Declaration
  
    public Color ContentFontColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  ContentFontSize
  Gets or sets a value that specifies the font size for the content.
 
  
  Declaration
  
    public int ContentFontSize { get; set; }
   
  Property Value
  
  
  
  
  ContentFontWeight
  Gets or sets how thick or thin characters in content should be displayed.
 
  
  Declaration
  
    public string ContentFontWeight { get; set; }
   
  Property Value
  
  
  
  
  
  Gets or sets a value that specifies the default background end EJ2Color.Color for an element.
 
  
  Declaration
  
    public Color DefaultBgEndColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  
  Gets or sets a value that specifies the default background start EJ2Color.Color for an element.
 
  
  Declaration
  
    public Color DefaultBgStColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  
  Gets or sets a value that specifies the default border EJ2Color.Color for an element.
 
  
  Declaration
  
    public Color DefaultBorderColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  
  Gets or sets a value that specifies the default font EJ2Color.Color for an element.
 
  
  Declaration
  
    public Color DefaultFontColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  
  Gets or sets a value that indicates the font-family for an element.
 
  
  Declaration
  
    public string FontFamily { get; set; }
   
  Property Value
  
  
  
  
  
  Gets or sets a value that indicates the font-size for an element.
 
  
  Declaration
  
    public int FontSize { get; set; }
   
  Property Value
  
  
  
  
  
  Gets or sets a value that specifies the border EJ2Color.Color for the groupcaption.
 
  
  Declaration
  
    public Color GCaptionBorderColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  GContentBgColor
  Gets or sets a value that specifies the background EJ2Color.Color for the content.
 
  
  Declaration
  
    public Color GContentBgColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  GContentFontColor
  Gets or sets a value that specifies the font EJ2Color.Color for the groupcontent.
 
  
  Declaration
  
    public Color GContentFontColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  
  Gets or sets a value that specifies the border EJ2Color.Color for the groupdroparea.
 
  
  Declaration
  
    public Color GDropareaBorderColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  
  Gets or sets a value that specifies the background end EJ2Color.Color for the groupdroparea.
 
  
  Declaration
  
    public Color GDropareaEndBgColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  
  Gets or sets a value that specifies the font EJ2Color.Color for the groupdroparea.
 
  
  Declaration
  
    public Color GDropareaFontColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  
  Gets or sets a value that specifies the background start EJ2Color.Color for the groupdroparea.
 
  
  Declaration
  
    public Color GDropareaStBgColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  
  Gets or sets a value that specifies the background EJ2Color.Color for the group header.
 
  
  Declaration
  
    public Color GHeaderBgColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  
  Gets or sets a value that specifies the border EJ2Color.Color for the group header.
 
  
  Declaration
  
    public Color GHeaderBorderColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  
  Gets or sets a value that specifies the font EJ2Color.Color for the group header.
 
  
  Declaration
  
    public Color GHeaderFontColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  
  Gets or sets a value that specifies the font size for the group header.
 
  
  Declaration
  
    public int GHeaderFontSize { get; set; }
   
  Property Value
  
  
  
  
  
  Gets or sets a value that specifies the background end EJ2Color.Color for header element.
 
  
  Declaration
  
    public Color HeaderBgEndColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  
  Gets or sets a value that specifies the background start EJ2Color.Color for header element.
 
  
  Declaration
  
    public Color HeaderBgStColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  
  Gets or sets a value that specifies the border bottom EJ2Color.Color for header element.
 
  
  Declaration
  
    public Color HeaderBorderBottomColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  
  Gets or sets a value that specifies the border EJ2Color.Color for header element.
 
  
  Declaration
  
    public Color HeaderBorderColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  
  Gets or sets a value that specifies the font EJ2Color.Color for header element.
 
  
  Declaration
  
    public Color HeaderFontColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  
  Gets or sets a value that specifies the font size for header element.
 
  
  Declaration
  
    public int HeaderFontSize { get; set; }
   
  Property Value
  
  
  
  
  
  Gets or sets how thick or thin characters in text should be displayed for header element.
 
  
  Declaration
  
    public string HeaderFontWeight { get; set; }
   
  Property Value
  
  
  
  
  
  Gets or sets a value that specifies the border EJ2Color.Color for an  row.
 
  
  Declaration
  
    public Color RowBorderColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  
  Gets or sets a value that specifies the font EJ2Color.Color for an  row selecting.
 
  
  Declaration
  
    public Color RowSelectionBgColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  
  
  
  
  Gets or sets a value that specifies the font EJ2Color.Color for an  row selected.
 
  
  Declaration
  
    public Color RowSelectionFontColor { get; set; }
   
  Property Value
  
    
      
        | Type | 
        
      
    
    
      
        | System.Drawing.Color | 
        
      
    
  
  Methods
  
  
  
  
  
  
  
  Declaration
  
    public void SetTheme(AutoFormat autoFormat, string theme)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | AutoFormat | 
        autoFormat | 
         | 
      
      
        | System.String | 
        theme | 
         |