Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>your actual binding will not work cause EffectViewModel has no key and Value Property. i really dont know what your listview should display. if you want a list of EffectViewModels then the Itemssource is right. if you want further for each EffectViewModel to display the settings. then you need somekind of itemsscontrol with Itemssource={Binding Settings}. this itemsscontrol of course will need a itemsstemplate with your Key and Value.</p> <p>i have no VS here atm, but your GridViewColumn needs a kind of CellTemplate. and this template should consist of a itemscontrol. because you have 2collections! this code is probably not right but should take you in the right direction</p> <pre><code>&lt;ListView Width="1000" Height="600" ItemsSource="{Binding EffectWindowViewModel.Effects}"&gt; &lt;ListView.View&gt; &lt;GridView&gt; &lt;GridViewColumn DisplayMemberBinding="{Binding Settings}"&gt; &lt;GridViewColumn.CellTemplate&gt; &lt;DataTemplatex:Key="myCell4Settings"&gt; &lt;ListView ItemsSource="{Binding.}"&gt; &lt;ListView.View&gt; &lt;GridView&gt; &lt;GridViewColumn Width="Auto" DisplayMemberBinding="{Binding Key}" Header="Name" /&gt; &lt;GridViewColumn Width="Auto" DisplayMemberBinding="{Binding Value}" Header="Value" /&gt; &lt;/GridView&gt; &lt;/ListView.View&gt; &lt;/GridViewColumn.CellTemplate&gt; &lt;/GridViewColumn&gt; &lt;/ListView&gt; &lt;/DataTemplate&gt; &lt;/GridView&gt; &lt;/ListView.View&gt; </code></pre> <p></p> <p>btw you could also use 2 lists independent. one parent Combobox or listbox (x:Name=parent) with itemssource=EffectWindowViewModel.Effects and a second ListView like you have, with the itemssource binding:</p> <pre><code>ItemsSource="{Binding ElementName=parent, Path=SelectedItem.Settings}" </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload