How can I open UXWindow using UXStackItem (declarative) ?

3 replies. Last post: July 20, 2011 8:49 AM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hi 

Maybe I forgot something ? ... but How can set xaml to open UXWindow using UXStackItem ?

I've tried :

1. NavigateUri propetry :  

<Intersoft:UXStackItem Text="Notepad" Icon="/Assets/Files/html.png" NavigateUri="/Views/notepad.xaml"/>

...without any result

2. open via Command:

<Intersoft:UXStackItem Text="Development Roadmap[ands]"

 Icon="/Assets/Files/doc.png" 
 Command="Intersoft:WindowCommands.LaunchApplication"  >
   <Intersoft:UXStackItem.CommandParameter>
      <Intersoft:WindowOptions Uri="/Views/Notepad.xaml" ForceSingleInstance="True" />
   </Intersoft:UXStackItem.CommandParameter>
</Intersoft:UXStackItem>

It's working only when I set addition two parameters: 

CommandTarget="{Binding ElementName=uxDesktop}"
IsEnabled="True"

Is it really necessary ?



 Kind regards

Andrzej

All times are GMT -5. The time now is 5:25 PM.
Previous Next