public DataTable GetLoadedTransactionFiles() { using (FamilyOfficeDataContext db = new FamilyOfficeDataContext()) { var query = db.GetTransactionFileLoad(); DataTable dt = new DataTable(); dt.Columns.Add("FileLoaded", typeof(string)); foreach (var file in query) { DataRow newRow = dt.NewRow(); newRow["FileLoaded"] = file.LoadedFile; dt.Rows.Add(newRow); } return dt; } }FilesLoadedGrid.ItemsSource = gl.GetLoadedTransactionFiles().DefaultView;
<telerik:RadGridView HorizontalAlignment="Left" Margin="153,26,0,0" Name="FilesLoadedGrid" VerticalAlignment="Top" Height="233" Width="439" AutoGenerateColumns="False" CanUserFreezeColumns="False" CanUserReorderColumns="False" CanUserResizeColumns="False" RowIndicatorVisibility="Collapsed" ShowGroupPanel="False" AlternationCount="2" AlternateRowBackground="Cornsilk" Deleting="FileDeleted" > <telerik:RadGridView.Columns> <telerik:GridViewColumn > <telerik:GridViewColumn.CellTemplate> <DataTemplate> <telerik:RadButton Content="Delete" Command="telerikGrid:RadGridViewCommands.Delete" CommandParameter="{Binding }" /> </DataTemplate> </telerik:GridViewColumn.CellTemplate> </telerik:GridViewColumn> <telerik:GridViewDataColumn Header="Loaded File" Name="FileLoaded" DataMemberBinding="{Binding Path= LoadedFile}" Width="*" IsReadOnly="true"> </telerik:GridViewDataColumn> </telerik:RadGridView.Columns> </telerik:RadGridView>public void radGridView1_Loading(e) // or formatting{ if(e.ColumnIndex>1) e.Cell.Format = "###,###";}
Thanks in advance
As we have seen Telerik Image Editor,It is working same as we required,but we want two additional functionalites in it.
1:- We want to record the changes that we have performed on a particular image so that we can save these steps to regenerate image .
2:- We want Image layering functionlity,So that we can add a layer(Background Image and Frame on our original Image) and also want to change position of my original Image.
Please have a look of attached image

<telerik:RadWindow.Resources>
<ResourceDictionary>
<ControlTemplate x:Key="FocusTemplate" >
<Rectangle Margin="-3" Stroke="Orange" StrokeThickness="2" RadiusX="2" RadiusY="2" StrokeDashArray="2,1">
<Rectangle.Triggers>
<EventTrigger RoutedEvent="Rectangle.Loaded">
<BeginStoryboard>
<Storyboard>
<DoubleAnimation To="3" Duration="0:0:1" RepeatBehavior="Forever" Storyboard.TargetProperty="StrokeDashOffset" />
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</Rectangle.Triggers>
</Rectangle>
</ControlTemplate>
<Style x:Key="FocusStyle" TargetType="{x:Type Control}">
<Setter Property="Template" Value="{StaticResource FocusTemplate}"/>
</Style>
<Style TargetType="TextBox">
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusStyle}"/>
</Style>
<Style TargetType="telerik:RadDatePicker">
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusStyle}"/>
</Style>
<helper:BoolToVisibility x:Key="boolToVisibility" />
<helper:BoolToVisibilityInverter x:Key="boolToVisibilityInverter" />
<helper:BoolInverter x:Key="boolInverter" />
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="BillingDetails-Fr-Res.xaml"/>
<ResourceDictionary Source="pack://application:,,,/Resources;component/Neuron-CustomStyles.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</telerik:RadWindow.Resources>
lineSeries.Definition.Appearance.Stroke = new SolidColorBrush(Colors.Blue); lineSeries.Definition.Appearance.Fill = new SolidColorBrush(Colors.Blue);
MarkedZone bgZone = new MarkedZone(); bgZone.Background = new SolidColorBrush(Colors.Aqua); this.radChart1.DefaultView.ChartArea.Annotations.Clear(); this.radChart1.DefaultView.ChartArea.Annotations.Add(bgZone); This does not work for the 3D chart! How would I make this work for the 3D chart or is it even possible. Thanks, James
<Controls:RadCalendar x:Name="TommedatoKalender" Rows="3" Columns="4" SelectionMode="Extended" ViewsHeaderVisibility="Visible" DisplayDate="{Binding DisplayDate}"> <Controls:RadCalendar.DayTemplateSelector> <selector:KalenderDagSelector> <selector:KalenderDagSelector.DefaultTemplate> <DataTemplate> <TextBlock Text="{Binding Text}" Height="18" Width="18" TextAlignment="Center"/> </DataTemplate> </selector:KalenderDagSelector.DefaultTemplate> <selector:KalenderDagSelector.TommeDagTemplate> <DataTemplate> <Border BorderThickness="1" BorderBrush="{DynamicResource HighlightDayColor}" CornerRadius="12" HorizontalAlignment="Center" VerticalAlignment="Center" Background="{DynamicResource HighlightDayColor}"> <Grid> <!-- Rounded mask (stretches to fill Grid) --> <Border Name="mask" Background="{DynamicResource HighlightDayColor}" CornerRadius="7"/> <!-- Main content container --> <StackPanel> <!-- Use a VisualBrush of 'mask' as the opacity mask --> <StackPanel.OpacityMask> <VisualBrush Visual="{Binding ElementName=mask}"/> </StackPanel.OpacityMask> <!-- Content --> <TextBlock Text="{Binding Text}" Background="{DynamicResource HighlightDayColor}" Height="18" Width="18" TextAlignment="Center" /> </StackPanel> </Grid> </Border> </DataTemplate> </selector:KalenderDagSelector.TommeDagTemplate> </selector:KalenderDagSelector> </Controls:RadCalendar.DayTemplateSelector> </Controls:RadCalendar>