Aspose.Cells.GridDesktop 24.9.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Aspose.Cells.GridDesktop --version 24.9.0                
NuGet\Install-Package Aspose.Cells.GridDesktop -Version 24.9.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspose.Cells.GridDesktop" Version="24.9.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Cells.GridDesktop --version 24.9.0                
#r "nuget: Aspose.Cells.GridDesktop, 24.9.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.Cells.GridDesktop as a Cake Addin
#addin nuget:?package=Aspose.Cells.GridDesktop&version=24.9.0

// Install Aspose.Cells.GridDesktop as a Cake Tool
#tool nuget:?package=Aspose.Cells.GridDesktop&version=24.9.0                

.NET Excel® GUI Desktop-Based Grid Control

Version 24.8.0 NuGet .NET

banner


Product Page Docs API Ref Examples Blog Releases Support License


Aspose.Cells.GridDesktop is a .NET GUI control that provides an Excel®-like interface for your desktop applications. It allows developers to seamlessly embed spreadsheet capabilities like data manipulation, formatting, formula calculation, charting, and more. No need for Microsoft Excel® installation.

Accessing and Modifying Worksheet Data

Access Cells and Worksheets

  • Access Worksheet by Index/Name: Retrieve or directly reference active worksheets using ActiveSheetIndex or GetActiveWorksheet methods.
  • Access and Modify Cells: Use the Value property to retrieve and modify cell contents, including custom formatting (font, color).
  • Access and Modify Rows: Programmatically adjust row properties such as height, style, and index.

Styling Cells, Rows, and Columns

Apply Styles

  • Row and Column Styling: Apply uniform styles (font, alignment, borders) to entire rows or columns.
  • Customize Cell Appearance: Use custom styles, including borders, font, alignment, and background colors, for individual cells.
  • Font and Color Customization: Modify fonts and colors for specific cells, rows, or columns.

Managing Worksheets

Add, Remove, and Rename Worksheets

  • Add/Insert Rows/Columns: Programmatically insert rows and columns at specified positions.
  • Add/Remove Worksheets: Add, insert, or remove entire worksheets, adjusting the workbook's layout as needed.
  • Rename and Move Worksheets: Rename worksheets or move them within the workbook using the MoveTo() method.

Data Validation and Interaction

Implement Validation

  • Column/Worksheet-Level Validation: Apply validation rules at the column or worksheet level to ensure data integrity.
  • Event Handling: Manage events such as cell changes, worksheet loading, and user interactions for dynamic control.

Advanced Features in GridDesktop

Pivot Tables

  • Create and Render Pivot Tables: Use PivotTable functionality for dynamic data analysis and summaries in GridDesktop.

Merging and Formulas

  • Merge and Unmerge Cells: Combine adjacent cells or revert to individual cells as needed.
  • Manage Formulas: Programmatically insert and manage Excel®-compatible formulas, with automatic recalculation using RunAllFormulas.

Formatting and Visualization

Export, Sort, and Filter Data

  • Export to DataTable: Export worksheet data to a DataTable for external processing.
  • Sort and Filter Data: Programmatically sort worksheet data or apply custom filters for data viewing.

Text Overflow Management

  • Handle Text Overflow: Control how text is displayed when it exceeds the cell width in GridDesktop.

Interface and Interaction

Zoom and Customization

  • Zoom Control: Programmatically adjust zoom levels for easier navigation and viewing.
  • Format Painter: Copy and apply formatting from one cell to another efficiently.
  • Undo/Redo Features: Implement undo/redo functionalities to manage user actions within the worksheet.
  • Hyperlinks: Insert, edit, or remove hyperlinks to navigate within or outside the workbook.
  • Comments and Pictures: Add, modify, or delete comments and images to enhance cell content.

Integration and Customization

WPF and Custom Menus

  • WPF Integration: Embed GridDesktop into WPF applications with WindowsFormsHost for interactive Excel® handling.
  • Context Menu Customization: Modify right-click context menus for tailored user workflows.

Localization

  • Custom Localization: Localize GridDesktop controls by loading custom resource files for menus and toolbars.

Get Started

Are you ready to give Aspose.Cells.GridDesktop a try? Simply execute Install-Package Aspose.Cells.GridDesktop from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Cells.GridDesktop and want to upgrade the version, please execute Update-Package Aspose.Cells.GridDesktop to get the latest version.

How to Use Aspose.Cells.GridDesktop

Upgrade from Aspose.Grid.Desktop

The Aspose.Grid.Desktop namespace is renamed to Aspose.Cells.GridDesktop. There are no major API changes—just update the namespace to switch.

Create and Use GridDesktop Control
  1. Create a Windows Application project in Visual Studio.
  2. Drag and drop the Aspose.Cells.GridDesktop control from the Toolbox to your form.
  3. Run the application to see the control on the form. You can interact with the GridDesktop by adding values, adjusting row height, column width, and more through its context menu.

How to Use FormulaBar with Aspose.Cells.GridDesktop

Steps to Add FormulaBar
  1. Create a Windows Forms App (.NET Framework) in Visual Studio.
  2. Add GridDesktop and FormulaBar controls from the Toolbox by selecting "Choose Items..." and adding references to Aspose.Cells.GridDesktop.dll.
  3. Drag and drop both controls onto the form and link the FormulaBar to the GridDesktop control via the properties tab.
  4. Run and test the application to ensure FormulaBar and GridDesktop are linked correctly.

Product Page Docs API Ref Examples Blog Releases Support License


Tags

.NET Excel Grid Control | Excel-like GUI Control | Spreadsheet Data Manipulation | GridDesktop Control | Excel Formula Calculation | Excel PivotTables | Cell Formatting | Excel Integration | Data Validation | WPF Grid Control | Export to DataTable | Merge and Unmerge Cells | Row and Column Styling | Undo Redo Support | Zoom Control | Named Ranges | Hyperlinks | Grid Customization | Context Menu Customization | Localization Support | Excel Charting | FormulaBar Integration

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net7.0-windows7.0 is compatible.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Aspose.Cells.GridDesktop:

Repository Stars
aspose-cells/Aspose.Cells-for-.NET
Aspose.Cells for .NET examples, plugins and showcases
Version Downloads Last updated
24.11.0 119 11/13/2024
24.10.0 202 10/11/2024
24.9.0 258 9/11/2024
24.8.0 213 8/8/2024
24.7.0 169 7/12/2024
24.6.0 161 6/14/2024
24.5.0 194 5/10/2024
24.4.0 181 4/10/2024
24.3.0 196 3/8/2024
24.2.0 216 2/5/2024
24.1.0 223 1/11/2024
23.12.0 306 12/13/2023
23.11.0 481 11/9/2023
23.10.0 210 10/13/2023
23.9.0 199 9/14/2023
23.8.0 274 8/10/2023
23.7.0 229 7/13/2023
23.6.0 265 6/8/2023
23.5.0 229 5/10/2023
23.4.0 317 4/12/2023
23.3.0 329 3/8/2023
23.2.0 348 2/9/2023
23.1.0 427 1/11/2023
22.12.0 400 12/9/2022
22.11.0 437 11/10/2022
22.10.0 526 10/13/2022
22.9.0 500 9/13/2022
22.8.0 537 8/5/2022
22.7.0 596 7/8/2022
22.6.0 582 6/10/2022
22.5.0 2,468 5/12/2022
22.4.0 593 4/13/2022
22.3.0 561 3/15/2022
22.2.0 724 2/14/2022
22.1.0 762 1/11/2022
21.12.0 422 12/8/2021
21.11.0 445 11/9/2021
21.10.0 633 10/15/2021
21.9.0 471 9/16/2021
21.8.0 566 8/16/2021