Xceed Grid for WinForms v4.3 Documentation
CellViewerManager Class
Members 


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Viewers Namespace : CellViewerManager Class
The CellViewerManager class allows for any control to be used as a viewer to display the content of a cell as well as allows custom painting of a cell's background and foreground.
Syntax
'Declaration
 
<DesignTimeVisibleAttribute(False)>
<ToolboxItemAttribute(False)>
Public Class CellViewerManager 
'Usage
 
Dim instance As CellViewerManager
[DesignTimeVisible(false)]
[ToolboxItem(false)]
public class CellViewerManager 
Remarks

In addition to the default CellViewerManager's that are provided, custom CellViewerManager's can be created by deriving from the CellViewerManager class and implementing the required functionalities, or by handling the events that are raised by the CellViewerManager class.

When generating a report using the reporting capabilities of Xceed Grid for .NET, CellViewerManagers will only be reproduced in the report if the GetImage(Object) and/or GetText(Object) methods return the image or text that is to be displayed (GetImageCore and/or GetTextCore have been overridden). In the case where the GetImageCore and/or GetTextCore methods have not been overridden to return the desired image and/or text, the string representation of the underlying cell's content will be displayed in the report.

Inheritance Hierarchy

System.Object
   Xceed.Grid.Viewers.CellViewerManager
      Xceed.Grid.Viewers.CheckBoxViewer
      Xceed.Grid.Viewers.ImageViewer
      Xceed.Grid.Viewers.TextViewer

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CellViewerManager Members
Xceed.Grid.Viewers Namespace