Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Viewers Namespace / CellViewerManager Class / QueryFittedHeight Event


    QueryFittedHeight Event (CellViewerManager)
    Raised to calculate the fitted height of the viewer in pixels.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Raised to calculate the fitted height of the viewer in pixels.")>
    <CategoryAttribute("Appearance")>
    Public Event QueryFittedHeight As QueryViewerFittedHeightEventHandler
     
    'Usage
     
    Dim instance As CellViewerManager
    Dim handler As QueryViewerFittedHeightEventHandler
     
    AddHandler instance.QueryFittedHeight, handler
    Event Data

    The event handler receives an argument of type QueryViewerFittedHeightEventArgs containing data related to this event. The following QueryViewerFittedHeightEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the Xceed.Grid.Cell whose content is to be displayed.  
    Gets the display width of the cell.  
    Gets or sets the fitted height of the viewer.  
    Gets the Graphics object used to paint.  
    Gets an Xceed.Grid.AutoHeightMode value indicating in regards to what factors the fitted height of the viewer will be calculated.  
    Gets a boolean value indicating if the viewer is being printed.  
    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