BCGControlBar Library for .NET
GetGripperSize Method




Returns the size and location of  the gripper.
Syntax
'Declaration
 
Public Overridable Function GetGripperSize() As Rectangle
'Usage
 
Dim instance As CommandBar
Dim value As Rectangle
 
value = instance.GetGripperSize()
public virtual Rectangle GetGripperSize()
public: virtual Rectangle GetGripperSize(); 
public:
virtual Rectangle GetGripperSize(); 

Return Value

If the command bar is floating, the location coordinates and the size dimensions are 0.
If the command bar has horizontal location, it’s left coordinate is 8 and the width is -8.
If the command bar has vertical location, it’s top coordinate is 8 and the height is -8.
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

CommandBar Class
CommandBar Members

Send Feedback