BCGControlBar Library for .NET
CalcGalleryObjectSize Event




Occurs when there is a need to calculate gallery object size. If the event is handled by the subscriber, it should set the Handled property of event args to true.
Syntax
'Declaration
 
Public Event CalcGalleryObjectSize As CalcCommandObjectSizeEventHandler
'Usage
 
Dim instance As ToolbarBaseGalleryButton
Dim handler As CalcCommandObjectSizeEventHandler
 
AddHandler instance.CalcGalleryObjectSize, handler
public event CalcCommandObjectSizeEventHandler CalcGalleryObjectSize
public: __event CalcCommandObjectSizeEventHandler* CalcGalleryObjectSize
public:
event CalcCommandObjectSizeEventHandler^ CalcGalleryObjectSize
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

ToolbarBaseGalleryButton Class
ToolbarBaseGalleryButton Members

Send Feedback