I am having one user control (containing a DataGridView and some
buttons), I want to add this control as a node in a treeview control ,
to be more precise now I want my user control acting a node in the
treeview control instead of treenode .
How should I achieve this?
Michael C wrote:
> "osmarjunior" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hello, I wanna create a control like a TreeView, but with some nodes
> > with a grid. Is this possible? I think about create a user control, but
> > maybe there's an easier way, like using the TreeView component itself.
>
> Use the Listview and draw the rows yourself. There's an event or override so
> you can paint the items but I can't remember what it's called.
>
> Michael
|