|
|
|
StrategyRoutine Method, DropDownButtonPartClass Class |
Used to perform various actions the part supports, like rendering the part, hit-testing, determining its position and responding to mouse button clicks.
Syntax DropDownButtonPartClass Class (Softelvdm.Controls)
VB |
Protected Friend Overrides Function StrategyRoutine( _ |
C# |
protected internal override bool StrategyRoutine( |
C++ |
protected friend: virtual bool StrategyRoutine( |
pr
Defines the PartsRenderingClass object, that is used to render a part.
rPartArea
Defines the area where the part is to be rendered.
strat
Defines the StrategyClass object, that contains additional information about the action to perform.
Return Value
True if the call was handled by the part, otherwise False. The return value depends on the type of call to this function (see StrategyClass.reason)
Comments
The StrategyRoutine method used to perform various actions the part supports, like rendering the part, hit-testing, determining its position and responding to mouse button clicks.
This is implemented by every class derived from GenericPartClass and provides the core functionality to implement a new part.
The StrategyClass object strat contains additional information about the action to perform. The StrategyRoutine implementation should perform the action requested by the reason field.
Version Information
Supported in version 1.0.
Products Table