Jump to content
Software FX Community

Event on arrow ?


User (Legacy)

Recommended Posts

I'm guessing the arrow you are talking about is an annotation object right ?

The annotation extension provides independent events including MouseDown,

you must attach to these events in order to be notified when clicks are made

in the annotation objects.

For example, if you have:

annotX = new SoftwareFX.ChartFX.Annotation.AnnotationX();

chart1.Extensions.Add(annotX);

you can attach to the event by doing:

private void AnnotationMouseDown (object sender, MouseEventArgs e)

{

// Your Mouse Down event code goes here. You can use the HitTest

method to retrieve the object being hit.

}

annotX.MouseDown += new MouseEventHandler(AnnotationMouseDown);

--

FP

Software FX, Inc.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...