Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / Cell Class / GetDisplayText Method


In This Topic
    GetDisplayText Method
    In This Topic
    Retrieves the formatted text displayed by the cell.
    Syntax
    'Declaration
     
    Public Function GetDisplayText() As String
    'Usage
     
    Dim instance As Cell
    Dim value As String
     
    value = instance.GetDisplayText()
    public string GetDisplayText()

    Return Value

    A string representing the formatted text (Value).
    Remarks

    The text (Value) will be formatted according to the FormatProvider and FormatSpecifier properties.

    If a CellViewerManager is assigned to the cell's CellViewerManager property, GetDisplayText will return the text as it is displayed/formatted by the CellViewerManager.

    If the CellViewerManager does not display text, for example, the Xceed.Grid.Viewers.ImageViewer, GetDisplayText will return string.Empty.

    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