<ListView Grid.Row="1" Background="{TemplateBinding Background}"BorderBrush="Transparent">
<ListView.ItemsSource>
<MultiBinding Converter="{StaticResource AppoitmentConverter}">
<Binding Path="Meetings" Source="{StaticResource ViewModel}" />
<Binding Path="Date"RelativeSource="{RelativeSource Mode=TemplatedParent}"/>
</MultiBinding>
</ListView.ItemsSource>
<ListView.ItemTemplate>
<DataTemplate>
<WrapPanel>
<TextBlock Background="{Binding MappedColor}" Text="{Binding Path=MappedSubject}"Foreground="White"/>
</WrapPanel>
</DataTemplate>
</ListView.ItemTemplate>
</ListView> |