or
//Discount Total CellSpan spanDiscountTotal = new Span(disountTotal.ToString("C", CultureInfo.CreateSpecificCulture("en-GB")));spanDiscountTotal.StyleName = "styleTableTotal";Paragraph paragraphDiscountTotal = new Paragraph();paragraphDiscountTotal.Inlines.Add(spanDiscountTotal);TableCell cellDiscountTotal = new TableCell();cellDiscountTotal.Borders.SetTop(new Border(5 ,BorderStyle.Single, Colors.Green));cellDiscountTotal.Blocks.Add(paragraphDiscountTotal);cellDiscountTotal.Borders.SetTop(new Border(5 ,BorderStyle.Single, Colors.Green));<telerik:DataFormComboBoxField Grid.Row="2" Grid.Column="1" SelectedValuePath="CategorieId" DisplayMemberPath="Categorie" ItemsSource="{Binding Categories, Source={StaticResource TEST}}" DataMemberBinding="{Binding CategorieId, Mode=TwoWay}" />Me.Personen = New ObservableCollection(Of Personen)()
Me.Categories = New ObservableCollection(Of PersoonCategorie)<t:RadWindow.HeaderTemplate> <DataTemplate> <Grid Margin="10,0"> <ContentPresenter Content="{Binding}" HorizontalAlignment="Left"/> <TextBlock x:Name="txtblk" Text="XAML" Opacity="0.4" FontSize="16" HorizontalAlignment="Right"> <TextBlock.Triggers> <EventTrigger RoutedEvent="TextBlock.MouseEnter"> <BeginStoryboard> <Storyboard> <DoubleAnimation Storyboard.TargetName="txtblk" Storyboard.TargetProperty="(TextBlock.Opacity)" From="0.4" To="1" Duration="0:0:0.5"/> </Storyboard> </BeginStoryboard> </EventTrigger> </TextBlock.Triggers> </TextBlock> </Grid> </DataTemplate></t:RadWindow.HeaderTemplate>