How to Achieve this effect.

  • Thread starter Thread starter WStoreyII
  • Start date Start date
W

WStoreyII

I am trying to mirror the drop down effect of the region in the vs.net ide

like when you create a region and you can expand or collapse this region how
is this done with code?

WStoreyII
 
Ken,

Those were good tutorials and i appreciate them and i will use them.
However this is not the effect that I am looking for. What i need is the
node effect created in side the vs.net editor when you create a region. For
Example
if i made a region property's i could then collapse it and or expand it to
hide / unhide code this is what i need.

Thanks again

WSToreyII
 
WStoreyII,

* "WStoreyII said:
Those were good tutorials and i appreciate them and i will use them.
However this is not the effect that I am looking for. What i need is the
node effect created in side the vs.net editor when you create a region. For
Example
if i made a region property's i could then collapse it and or expand it to
hide / unhide code this is what i need.

If it's possible for you to use GPL or something similar "protected"
code in your application, have a look at SharpDevelop's text editor
component. This component is written in C#:

SharpDevelop @ic#code
The Open Source Development Environment for .NET
<URL:http://www.icsharpcode.net/OpenSource/SD/>

I played around with the Fidalgo RC1 build and I was slightly
disappointed by the text editor. It supports expanding and collapsing
of regions, and you can format different parts of the code using
different colors and font styles, but there was an annoying flickering
and reaction latency.

Well, there are still alternatives, for example this commercial
component:

Essential Edit Binary
<URL:http://www.syncfusion.com/products/edit.asp>

Cost is about 500 USD for the binary.

The third alternative would be writing the component yourself.
 
Back
Top