Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

Simple Usercontrol with tree radiobutton

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 11-09-2006   #1 (permalink)
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
Old 11-10-2006   #2 (permalink)
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
Old 11-10-2006   #3 (permalink)
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
Old 11-10-2006   #4 (permalink)
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
Old 11-10-2006   #5 (permalink)
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
Old 11-10-2006   #6 (permalink)
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
Old 11-10-2006   #7 (permalink)
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
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
UserControl inside another UserControl with WYSIWYG jan.bannister@gmail.com Avalon 1 02-07-2007 06:42 AM
Simple Question re: Text in UserControl? john Avalon 2 11-30-2006 03:09 AM
How to bind to a usercontrol property from inside this usercontrol Pon Avalon 4 11-13-2006 08:38 AM
RadioButton and IsChecked data binding =?Utf-8?B?SmVmZiBNQVVSWQ==?= Avalon 0 09-11-2006 12:10 PM
WPF UserControl in a Forms.UserControl MichaelG Avalon 2 01-10-2006 03:52 PM


Update your Vista Drivers Update Your Vista Drivers Now!!

Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008