Dear All;
I tried a radial menu and it's working ok, but i failed to pass parameter from a textblock value using
when i pass static text, it's working, not when using a value from the textblock
my code is
I tried a radial menu and it's working ok, but i failed to pass parameter from a textblock value using
CommandParameter
when i pass static text, it's working, not when using a value from the textblock
my code is
1.<
TextBlock
x:Name
=
"txtTest"
Canvas.Left
=
"83"
TextWrapping
=
"Wrap"
Text
=
"Hello"
Canvas.Top
=
"19"
/>
2. <
Primitives:RadRadialMenu
x:Name
=
"mnuShops"
Height
=
"108"
Width
=
"102"
RenderTransformOrigin
=
"0.506,0.494"
Canvas.Top
=
"-126"
Canvas.Left
=
"-132"
FontSize
=
"16"
>
3. <
Primitives:RadialMenuItem
x:Name
=
"radialMenuItem"
Header
=
"FirstNode"
Command
=
"{Binding FirstCommand, Source={StaticResource Commands}}"
CommandParameter
=
"{Binding Text, ElementName=txtTest}"
/>
4. <
Primitives:RadialMenuItem
Header
=
"Second Node"
/>
5. </
Primitives:RadRadialMenu
>