<ComboBox Name="cbWorker" HorizontalAlignment="Left" Margin="96,10,0,0" VerticalAlignment="Top" Width="198" ItemsSource="{Binding Path=Companies}" SelectedItem="{Binding Path=Company}" > </ComboBox> <Label Content="{Binding Path=Company}" HorizontalAlignment="Left" Margin="10,6,0,0" VerticalAlignment="Top"/> <Calendar Name="Kalender" Tag="{Binding Path=Company}" SelectedDatesChanged="Calendar_SelectedDatesChanged" HorizontalAlignment="Left" Margin="10,10,10,10" VerticalAlignment="Top"> <Calendar.CalendarDayButtonStyle> <Style TargetType="{x:Type CalendarDayButton}"> <Setter Property="Background" > <Setter.Value> <MultiBinding Converter="{StaticResource formatterView}"> <Binding Path="Company" /> <Binding Path="Date" /> </MultiBinding> </Setter.Value> </Setter> </Style> </Calendar.CalendarDayButtonStyle> </Calendar>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)