Windows Vista Forums

Simple Usercontrol with tree radiobutton
  1. #1


    Pon Guest

    Simple Usercontrol with tree radiobutton

    Hi all,



    I'm trying to create a usercontrol which embed tree radiobutton. I'd like to
    have a bindable "value" dependency property on this control that can take
    tree values (1, 2 and 3) according to the radio button that is checked.
    I'm not so far to get what I want but i wrote a lot of code and i'm pretty
    sure there's a simplier way to achieve that.

    Any idea, sample, link would be very useful.

    Thanx in advance.




      My System SpecsSystem Spec

  2. #2


    Pon Guest

    Re: Simple Usercontrol with tree radiobutton

    Ok, i got it work fine. The mistake that confused me was i had my
    dependencyproperty wasn't declared as static. Of course it f..ed all up.



    "Pon" <pongla.public@laposte.net> a écrit dans le message de news:
    eSUr1JCBHHA.4256@TK2MSFTNGP04.phx.gbl...
    > Hi all,
    >
    > I'm trying to create a usercontrol which embed tree radiobutton. I'd like
    > to have a bindable "value" dependency property on this control that can
    > take tree values (1, 2 and 3) according to the radio button that is
    > checked.
    > I'm not so far to get what I want but i wrote a lot of code and i'm pretty
    > sure there's a simplier way to achieve that.
    >
    > Any idea, sample, link would be very useful.
    >
    > Thanx in advance.
    >
    >
    >




      My System SpecsSystem Spec

  3. #3


    John Lorenzen Guest

    Re: Simple Usercontrol with tree radiobutton

    Pon
    Would you be willing to post your code for the rest of us doing similar
    items
    "Pon" <pongla.public@laposte.net> wrote in message
    news:uDmVrZMBHHA.3560@TK2MSFTNGP04.phx.gbl...
    > Ok, i got it work fine. The mistake that confused me was i had my
    > dependencyproperty wasn't declared as static. Of course it f..ed all up.
    >
    >
    >
    >
    > "Pon" <pongla.public@laposte.net> a écrit dans le message de news:
    > eSUr1JCBHHA.4256@TK2MSFTNGP04.phx.gbl...
    >> Hi all,
    >>
    >> I'm trying to create a usercontrol which embed tree radiobutton. I'd like
    >> to have a bindable "value" dependency property on this control that can
    >> take tree values (1, 2 and 3) according to the radio button that is
    >> checked.
    >> I'm not so far to get what I want but i wrote a lot of code and i'm
    >> pretty sure there's a simplier way to achieve that.
    >>
    >> Any idea, sample, link would be very useful.
    >>
    >> Thanx in advance.
    >>
    >>
    >>

    >
    >



      My System SpecsSystem Spec

  4. #4


    Pon Guest

    Re: Simple Usercontrol with tree radiobutton

    VB code. Still interested ?

    "John Lorenzen" <johnl@fidlar.com> a écrit dans le message de news:
    96A4990E-4BD3-4981-8628-142B88B283E4@microsoft.com...
    > Pon
    > Would you be willing to post your code for the rest of us doing similar
    > items
    > "Pon" <pongla.public@laposte.net> wrote in message
    > news:uDmVrZMBHHA.3560@TK2MSFTNGP04.phx.gbl...
    >> Ok, i got it work fine. The mistake that confused me was i had my
    >> dependencyproperty wasn't declared as static. Of course it f..ed all up.
    >>
    >>
    >>
    >>
    >> "Pon" <pongla.public@laposte.net> a écrit dans le message de news:
    >> eSUr1JCBHHA.4256@TK2MSFTNGP04.phx.gbl...
    >>> Hi all,
    >>>
    >>> I'm trying to create a usercontrol which embed tree radiobutton. I'd
    >>> like to have a bindable "value" dependency property on this control that
    >>> can take tree values (1, 2 and 3) according to the radio button that is
    >>> checked.
    >>> I'm not so far to get what I want but i wrote a lot of code and i'm
    >>> pretty sure there's a simplier way to achieve that.
    >>>
    >>> Any idea, sample, link would be very useful.
    >>>
    >>> Thanx in advance.
    >>>
    >>>
    >>>

    >>
    >>

    >




      My System SpecsSystem Spec

Simple Usercontrol with tree radiobutton problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: simple question about directory tree Donald Lessau Vista file management 2 26 Nov 2008
Re: simple question about directory tree Dr. DOS Vista file management 14 16 Nov 2008
UserControl inside another UserControl with WYSIWYG jan.bannister@gmail.com Avalon 1 07 Feb 2007
Simple Question re: Text in UserControl? john Avalon 1 30 Nov 2006
How to bind to a usercontrol property from inside this usercontrol Pon Avalon 2 13 Nov 2006