GrapeCity MultiRow Windows Forms Documentation
GetPreferredSize Method


The specified area for a System.Windows.Forms.ToolStripButton.
Retrieves the size of a rectangular area into which a System.Windows.Forms.ToolStripButton fits.
Syntax
Public Overrides Function GetPreferredSize( _
   ByVal constrainingSize As Size _
) As Size
Dim instance As TouchToolBarButton
Dim constrainingSize As Size
Dim value As Size
 
value = instance.GetPreferredSize(constrainingSize)
public override Size GetPreferredSize( 
   Size constrainingSize
)

Parameters

constrainingSize
The specified area for a System.Windows.Forms.ToolStripButton.

Return Value

An ordered pair of type System.Drawing.Size that represents the width and height of a rectangle.
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

Reference

TouchToolBarButton Class
TouchToolBarButton Members

 

 


Copyright © GrapeCity, inc. All rights reserved.