Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NItemsControl Class / MapRect Method
The rectangle to be converted.


In This Topic
    MapRect Method (NItemsControl)
    In This Topic
    Converts the specified rectangle from model coordinates to view ones.
    Syntax
    'Declaration
     
    
    Public Overridable Function MapRect( _
       ByVal rect As NRectangle, _
       ByVal item As NLightUIItem _
    ) As NRectangle
    'Usage
     
    
    Dim instance As NItemsControl
    Dim rect As NRectangle
    Dim item As NLightUIItem
    Dim value As NRectangle
     
    value = instance.MapRect(rect, item)
    public virtual NRectangle MapRect( 
       NRectangle rect,
       NLightUIItem item
    )

    Parameters

    rect
    The rectangle to be converted.
    item
    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