ADAdministrator Syncfusion Team January 12, 2005 12:22 PM
If you want to change selection aspects for specific symbols in response to runtime events, then you would have to use the Symbol subclassing approach demonstrated in the CustomSymbol sample. You will first create an assembly containing the class defintion for a Symbol type that implements the required behavior and then specify this class/assembly as the PlugIn class and assembly for the symbol while designing it in the SymbolDesigner. You can also refer to the DynamicSymbol sample for hints on changing symbol attributes based on user events.
On the other hand if your intention is to change the way diagram draws it''s selection indicators as a whole, then you can do so by subclassing the Diagram.View component and providing suitable overrides for the View.DrawSelectOutline(System.Drawing.Graphics grfx, INode node, bool isAnchor) and View.DrawSelectionHandles(System.Drawing.Graphics grfx) methods. Referring to the base implementation in the Diagram\Src\Object Hierarchy\View.cs file should help you get started with this.