Go to declaration from XAML?

Does hovering over a XAML object and hitting Go to declaration (Ctrl-B) work?

I have a button in XAML defined as:

               <Button Content="New" Command="{Binding Path=NewCommand}" />

Its parent is a grid defined partially as:
        <Grid d:DataContext="{d:DesignInstance local:MainWindowViewModel}">

I hover over NewCommand above expecting to be taken to MainWindowViewModel.NewCommand:

        public ICommand NewCommand         {             get { return new RelayCommand(NewExecute); }         }

But nothing happens. Is it supposed to?

Thanks, Lars
1 comment

Hello Lars,

I'm afraid navigation to declaration is not yet supported in this case. Thank
you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Does hovering over a XAML object and hitting Go to declaration
(Ctrl-B) work?

I have a button in XAML defined as:
<Button Content="New" Command="{Binding
Path=NewCommand}" />
Its parent is a grid defined partially as:
<Grid d:DataContext="">
I hover over NewCommand above expecting to be taken to
MainWindowViewModel.NewCommand:

public ICommand NewCommand
{
get { return new RelayCommand(NewExecute); }
}
But nothing happens. Is it supposed to?

Thanks, Lars

---
Original message URL:
http://devnet.jetbrains.net/message/5299141#5299141



0

Please sign in to leave a comment.