skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ExportToExcelML

Inheritance
System.Object
ExportToExcelML
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI.Export
Assembly: TelerikData.dll

Syntax

public class ExportToExcelML : IExportGridTo

Constructors

ExportToExcelML(RadGridView)

Declaration
public ExportToExcelML(RadGridView radGridView)
Parameters
RadGridView radGridView

Properties

ChildViewExportMode

Gets or sets the child view export mode.

Declaration
public ChildViewExportMode ChildViewExportMode { get; set; }
Property Value
ChildViewExportMode

The child view export mode.

Encoding

Gets or sets the encoding used for the exported file. Default encoding is UTF8.

Declaration
public Encoding Encoding { get; set; }
Property Value
System.Text.Encoding

ExportHierarchy

Set if child rows should be exported.

Declaration
public bool ExportHierarchy { set; }
Property Value
System.Boolean

ExportVisualSettings

Sets a value indicating whether the visual settings should be exported.

Declaration
public bool ExportVisualSettings { set; }
Property Value
System.Boolean

true if visual settings are exported; otherwise, false.

FileExtension

Sets the file extension of the exported file.

Declaration
public string FileExtension { set; }
Property Value
System.String

The file extension.

Implements
IExportGridTo.FileExtension

HiddenColumnOption

Sets a value indicating how hidden columns are exported.

Declaration
public HiddenOption HiddenColumnOption { set; }
Property Value
HiddenOption

The hidden column option.

Implements
IExportGridTo.HiddenColumnOption

HiddenRowOption

Sets a value indicating how hidden rows are exported.

Declaration
public HiddenOption HiddenRowOption { set; }
Property Value
HiddenOption

The hidden row option.

Implements
IExportGridTo.HiddenRowOption

PagingExportOption

Sets a value indicating how the export behavies when paging is enabled.

Declaration
public PagingExportOption PagingExportOption { set; }
Property Value
PagingExportOption

The paging export option.

RadGridViewToExport

Sets the RadGridView to export.

Declaration
public RadGridView RadGridViewToExport { set; }
Property Value
RadGridView

The RadGridView to export.

Implements
IExportGridTo.RadGridViewToExport

SheetMaxRows

Sets the sheet max rows.

Declaration
public ExcelMaxRows SheetMaxRows { set; }
Property Value
ExcelMaxRows

The sheet max rows.

SheetName

Sets the name of the sheet.

Declaration
public string SheetName { set; }
Property Value
System.String

The name of the sheet.

SummariesExportOption

Sets a value indicating how summary rows are exported.

Declaration
public SummariesOption SummariesExportOption { set; }
Property Value
SummariesOption

The summaries export option.

Implements
IExportGridTo.SummariesExportOption

Methods

AddCustomExcelRow(TableElement, Int32, Object[])

Add custom row in the provided excel table element

Declaration
public SingleStyleElement AddCustomExcelRow(TableElement excelTableElement, int rowHeight, params object[] cellValues)
Parameters
TableElement excelTableElement

Excel table element where the new row will be added

System.Int32 rowHeight

Custom row height in pixels. If 0 than the height has default value

System.Object[] cellValues

Values for the every excel cell in the custom row

Returns
SingleStyleElement

New row's style element for further formatting

OnChildViewExporting(ChildViewExportingEventArgs)

Raises the ChildViewExporting event.

Declaration
protected virtual void OnChildViewExporting(ChildViewExportingEventArgs e)
Parameters
ChildViewExportingEventArgs e

The ChildViewExportingEventArgs instance containing the event data.

OnExcelCellFormatting(ExcelCellFormattingEventArgs)

Raises the ExcelCellFormatting event.

Declaration
protected virtual void OnExcelCellFormatting(ExcelCellFormattingEventArgs e)
Parameters
ExcelCellFormattingEventArgs e

The ExcelCellFormattingEventArgs instance containing the event data.

OnExcelCellFormatting(ExcelRowFormattingEventArgs)

Raises the ExcelCellFormatting event.

Declaration
protected virtual void OnExcelCellFormatting(ExcelRowFormattingEventArgs e)
Parameters
ExcelRowFormattingEventArgs e

The ExcelRowFormattingEventArgs instance containing the event data.

OnExcelTableCreated(ExcelTableCreatedEventArgs)

Raises the ExcelTableCreated event.

Declaration
protected virtual void OnExcelTableCreated(ExcelTableCreatedEventArgs e)
Parameters
ExcelTableCreatedEventArgs e

The ExcelTableCreatedEventArgs instance containing the event data.

RunExport(String)

Creates ExcelML file

Declaration
public void RunExport(string fileName)
Parameters
System.String fileName

Export file name

Implements
IExportGridTo.RunExport(String)

Events

ChildViewExporting

Occurs when a child view will be exported.

Declaration
public event ChildViewExportingEventHandler ChildViewExporting
Event Type
ChildViewExportingEventHandler

ExcelCellFormatting

Occurs for every cell that is being exported.

Declaration
public event ExcelCellFormattingEventHandler ExcelCellFormatting
Event Type
ExcelCellFormattingEventHandler

ExcelRowFormatting

Occurs for every row that is being exported.

Declaration
public event ExcelRowFormattingEventHandler ExcelRowFormatting
Event Type
ExcelRowFormattingEventHandler

ExcelTableCreated

Occurs when the excel table is created.

Declaration
public event ExcelTableCreatedEventHandler ExcelTableCreated
Event Type
ExcelTableCreatedEventHandler

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.