BCGControlBar Library for .NET
CalcButtonRect Method (PushButtonCell)




Calculates button's bounding rectangle.
Syntax
'Declaration
 
Public Overridable Function CalcButtonRect() As Rectangle
'Usage
 
Dim instance As PushButtonCell
Dim value As Rectangle
 
value = instance.CalcButtonRect()
public virtual Rectangle CalcButtonRect()
public: virtual Rectangle CalcButtonRect(); 
public:
virtual Rectangle CalcButtonRect(); 

Return Value

Bounding rectangle of push button in client coordinates.
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

PushButtonCell Class
PushButtonCell Members

Send Feedback