2 Topics

Member Avatar for
Member Avatar for hmortensen

Hi all, Hopefulle someone outthere can help me identify whay i'm doing wrong. I'm sure it's something simple I have overlooked. I have the following templates in my xaml. [CODE] <Window.Resources> <DataTemplate x:Key="ModuleTemplate" > <StackPanel Orientation="Vertical"> <TextBlock Text="{Binding Path=fileName}"/> <TextBlock Text="{Binding Path=baseAddress}"/> <TextBlock Text="{Binding Path=entryPointAddress}"/> </StackPanel> </DataTemplate> <HierarchicalDataTemplate x:Key="ProcessTemplate" ItemsSource="{Binding …

Member Avatar for hmortensen
0
207
Member Avatar for hmortensen

Hi All, I'm trying to bind a textbox to a listbox's selected.Content properties. The listbox displays the items as designed in the datatemplate. But I can't get a textbox to display one/any of the selectedItems properties. [B]DataTemplate[/B] [CODE] <DataTemplate x:Key="dt_Afloeser" > <Border BorderBrush="Black" BorderThickness="0.5" CornerRadius="2" Margin="2,2,2,2"> <DockPanel HorizontalAlignment="Center"> <TextBlock Name="navn" …

Member Avatar for hmortensen
0
2K

The End.