menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AutoFormat - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    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()
    Namespace: Syncfusion.EJ2.GridExport
    Assembly: Syncfusion.EJ2.GridExport.dll
    Syntax
    public class AutoFormat

    Constructors

    AutoFormat()

    Declaration
    public AutoFormat()

    Properties

    AltRowBgColor

    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

    BlockBGColor

    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

    BorderSize

    Gets or sets a value that indicates the border-size for an element with four values.

    Declaration
    public int BorderSize { get; set; }
    Property Value
    Type
    System.Int32

    BorderType

    Gets or sets a value that indicates the border-type for an element.

    Declaration
    public string BorderType { get; set; }
    Property Value
    Type
    System.String

    CaptionBGColor

    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
    Type
    System.Int32

    ContentFontWeight

    Gets or sets how thick or thin characters in content should be displayed.

    Declaration
    public string ContentFontWeight { get; set; }
    Property Value
    Type
    System.String

    DefaultBgEndColor

    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

    DefaultBgStColor

    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

    DefaultBorderColor

    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

    DefaultFontColor

    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

    FontFamily

    Gets or sets a value that indicates the font-family for an element.

    Declaration
    public string FontFamily { get; set; }
    Property Value
    Type
    System.String

    FontSize

    Gets or sets a value that indicates the font-size for an element.

    Declaration
    public int FontSize { get; set; }
    Property Value
    Type
    System.Int32

    GCaptionBorderColor

    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

    GDropareaBorderColor

    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

    GDropareaEndBgColor

    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

    GDropareaFontColor

    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

    GDropareaStBgColor

    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

    GHeaderBgColor

    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

    GHeaderBorderColor

    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

    GHeaderFontColor

    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

    GHeaderFontSize

    Gets or sets a value that specifies the font size for the group header.

    Declaration
    public int GHeaderFontSize { get; set; }
    Property Value
    Type
    System.Int32

    HeaderBgEndColor

    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

    HeaderBgStColor

    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

    HeaderBorderBottomColor

    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

    HeaderBorderColor

    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

    HeaderFontColor

    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

    HeaderFontSize

    Gets or sets a value that specifies the font size for header element.

    Declaration
    public int HeaderFontSize { get; set; }
    Property Value
    Type
    System.Int32

    HeaderFontWeight

    Gets or sets how thick or thin characters in text should be displayed for header element.

    Declaration
    public string HeaderFontWeight { get; set; }
    Property Value
    Type
    System.String

    RowBorderColor

    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

    RowSelectionBgColor

    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

    RowSelectionFontColor

    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

    SetTheme(AutoFormat, String)

    Declaration
    public void SetTheme(AutoFormat autoFormat, string theme)
    Parameters
    Type Name Description
    AutoFormat autoFormat
    System.String theme
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved