BCGControlBar Library for .NET
GetExtraWidth Method (ToolbarBaseControlButton)




An extra width to properly calculate image offset. Useful for controls like combo box - can return width of combo

Syntax
'Declaration
 
Public Overrides Function GetExtraWidth() As Integer
'Usage
 
Dim instance As ToolbarBaseControlButton
Dim value As Integer
 
value = instance.GetExtraWidth()
public override int GetExtraWidth()
public: int GetExtraWidth(); override 
public:
int GetExtraWidth(); override 
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

ToolbarBaseControlButton Class
ToolbarBaseControlButton Members
Base Implementation in GetExtraWidth

Send Feedback