BCGControlBar Library for .NET
CalcCommandObjectSize Event




Occurs when a size of item from Gallery Control is calculated.
Syntax
'Declaration
 
Public Event CalcCommandObjectSize As CalcCommandObjectSizeEventHandler
'Usage
 
Dim instance As CommandPanel
Dim handler As CalcCommandObjectSizeEventHandler
 
AddHandler instance.CalcCommandObjectSize, handler
public event CalcCommandObjectSizeEventHandler CalcCommandObjectSize
public: __event CalcCommandObjectSizeEventHandler* CalcCommandObjectSize
public:
event CalcCommandObjectSizeEventHandler^ CalcCommandObjectSize
Event Data

The event handler receives an argument of type CalcCommandObjectSizeEventArgs containing data related to this event. The following CalcCommandObjectSizeEventArgs properties provide information specific to this event.

PropertyDescription
CommandObject Specifies a command object to calculate a size.
Context  
Handled (Inherited from System.ComponentModel.HandledEventArgs) 
ObjectSize Specifies a size of object to set for command object.
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

CommandPanel Class
CommandPanel Members

Send Feedback