Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Viewers Namespace / DateViewer Class
Members


In This Topic
    DateViewer Class
    In This Topic
    The DateViewer class represents a viewer that can be used to view the content of cells which have a System.DateTime datatype.
    Syntax
    'Declaration
     
    <DesignTimeVisibleAttribute(False)>
    <ToolboxItemAttribute(False)>
    Public Class DateViewer 
       Inherits TextViewer
    'Usage
     
    Dim instance As DateViewer
    [DesignTimeVisible(false)]
    [ToolboxItem(false)]
    public class DateViewer : TextViewer 
    Remarks

    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.TextViewer
             Xceed.Grid.Viewers.DateViewer

    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