Friday, July 04, 2008  



 FarPoint Technologies
 (800) 645-5913

 fpsales@fpoint.com



     
 »Spread for Windows Forms » Product Tour » Overview » Namespace

Previous Namespaces Overview Next

  Back to Top
 Namespaces
In Spread for Windows Forms, namespaces are organized to contain objects according to how they are used in the Spread control and the features they provide. The objects in the Spread for Windows Forms control fall into three categories:
  • objects that represent parts of the spreadsheet, like column, rows, and cells
  • objects that represent cell types and the formatting of data in those cells
  • objects that are conceptual representations of underlying aspects of the spreadsheet
For each of these there is a specific namespace. The namespaces are organized as follows:
Namespace Description
FarPoint.Win.Spread Provides the base classes, interfaces, enumerations, and delegates for the parts of the spreadsheet in Spread.
FarPoint.Win.Spread.CellType Provides the base classes, interfaces, and enumerations for the cell types.
FarPoint.Win.Spread.DrawingSpace Provides the base classes, interfaces, and enumerations for the various shapes and objects that can be drawn in the drawing space.
FarPoint.Win.Spread.Model Provides the base classes, interfaces, and enumerations for the models in Spread.

The spreadsheet objects and event arguments are in classes in the main Spread namespace.

The cell type objects provide ways for you to set up different types of cells to help the user or limit the types of input. They are separated into their own namespace, the CellType namespace mainly to allow you to see all the cell type information in one place, separate from the spreadsheet objects.

The conceptual objects, the more abstract objects, are referred to as "models." These models are responsible for managing the style information, formatting, and data in the Spread control. These are found in the Model namespace. In Spread, you can use the default models or extend them through inheritance.

The spreadsheet and cell type objects call the model objects. If you are new to working with Spread, or are new to developing in an object-oriented environment, you might want to use the spreadsheet and cell type objects at first, as you become familiar with features of Spread. However, intensive use of these objects can degrade your application's performance.

If you are an experienced programmer, you might want to use the model objects directly, instead of accessing them through the shortcut objects. If you want to extend Spread for Windows Forms, you must use the model objects to do so.


Previous Namespaces Overview Next


    
 Have a question?
Have a Question? Ask Us!
Subscribe to the RSS feed!RSS Subscribe
 

 
SD Times 'TOP 100' Industry Innovator - Read the press release (pdf)

Tour Home
Overview
Appearance
User Interaction
Cell Types
Formulas
Managing Data
Data Binding
Import/Export
Printing
Keyboard Interaction
Shapes
Models
Spread Designer
 
Map

Copyright © 1991-2007 FarPoint Technologies, Inc. All rights reserved. All names are property of their respective owners.