DGKC Control Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Licensing
Expand ModelsModels
Collapse DG Kernel ControlDG Kernel Control
Expand API ReferenceAPI Reference
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Expand Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Support
Skip Navigation LinksHome Page > DG Kernel Control > Properies, Methods, Events > Events Go to ActiveX docs Search Documentation


Events of DGKC Control

CurrentCurrentEntitySetChanged
SelectionEvent
MenuEvent
DgkMisc
See also: Properties, Methods
void OnCurrentEntitySetChanged(object sender, CurrentCurrentEntitySetChangedEventArgs e)  
 
class CurrentCurrentEntitySetChangedEventArgs : EventArgs
{
    public IEntityArray_DG NewCurrentEntitySet { get; set; }
}

void OnSelection(object sender, SelectionEventArgs e)  
 
class SelectionEventArgs : EventArgs
{
    public SelectionItemType_DG ItemType { get; set; }
    public IList_DG Items { get; set; }
    public IEntity_DG OwnerEntity { get; set; }
    public IDictionary_DG Context { get; set; }
}

void OnMenuEvent(object sender, MenuEventArgs e)  
 
class MenuEventArgs : EventArgs
{
    public MenuCommand Command { get; set; }
    public bool Cancel { get; set; }
}

Raised on commands of the context menu of DGKC control. If Cancel is set to true by the event handler the default implementation is not executed. This allows customisation of standard context menu command. See Light sample for an example


void DgkMisc()  
 
class MenuEventArgs : EventArgs
{
    public Event_DG eventType { get; set; }
    public object param0 { get; set; }
    public object param1 { get; set; }
    public ulong returnValue { get; set; }
}