Datatemplate Binding in Label-Style
I have a class that contains various information like a title, imagesource or a description. To display these in a listbox I used a datatemplate. This works fine. <DataTemplate> <StackPanel Orientation="Horizontal"> <Label Content="{Binding Titel}" /> <Label Content="{Binding Beschreibung}"/> <Label > <AccessText Text="{Binding Version}"/> </Label> <Label Style="{DynamicResource ResourceKey={Binding Resource}}"/> </StackPanel> </DataTemplate> Behind each listbox element I… Read More Datatemplate Binding in Label-Style