Nevron .NET Vision
Nevron.UI Namespace / INTheme Interface / GetPreferredSize Method
The NPartStateInfo which describes the theme part.


In This Topic
    GetPreferredSize Method (INTheme)
    In This Topic
    Retrieves the preferred size for a the specified theme part.
    Syntax
    'Declaration
     
    
    Function GetPreferredSize( _
       ByVal info As NPartStateInfo _
    ) As NSize
    'Usage
     
    
    Dim instance As INTheme
    Dim info As NPartStateInfo
    Dim value As NSize
     
    value = instance.GetPreferredSize(info)
    NSize GetPreferredSize( 
       NPartStateInfo info
    )

    Parameters

    info
    The NPartStateInfo which describes the theme part.
    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