Version

GetCaptionButtonSize Method (ThemedWindow)

Gets the size of a Windows Themed button.
Syntax
'Declaration
 
Public Function GetCaptionButtonSize( _
   ByVal buttonType As ThemedWindow.SystemButtonType, _
   ByVal isMaximizedMdiChild As Boolean _
) As Size
public Size GetCaptionButtonSize( 
   ThemedWindow.SystemButtonType buttonType,
   bool isMaximizedMdiChild
)

Parameters

buttonType
Type of system button to render
isMaximizedMdiChild
True if the button is for a maximized mdi child window.

Return Value

The size of the button.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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