void OnDragInfo(object sender, DragDropEventArgs e)
{
if (e.Options.Status == DragStatus.DragComplete) {
e.Handled = true;
}
}
void OnDragQuery(object sender, DragDropQueryEventArgs e)
{
if (e.Options.Status == DragStatus.DragQuery)
{
e.Options.ArrowCue = RadDragAndDropManager.GenerateArrowCue();
}
}
Hello,
I have a question, if I don't set the property of axisY, the default value of AutoRange is 'true' .
Like following example, First I add some plus value to the dataseries , and then I add some minus value to the dataseries.
After that the chart crashes, it just can't show the points I add.
Can you help me to solve the problem? Thank you!
for (int i = 0; i < 6; i++)
{
ChartArea.DataSeries.First().Add(new DataPoint(i, 0.01 * i));
}
for (int i = 6; i < 10; i++)
{
ChartArea.DataSeries.First().Add(new DataPoint(i, -0.01 * i));
}
Dim myDataTable As New DataTable
myDataTable = GetDataTable() 'returns datatable with multiple rows
Me.myRadCarousel.ItemsSource = myDataTable
However, the carousel shows blank images, even though they exist. I double-click on the carousel to get the file name and I get the file name no issue. my datatable contains 1 field (filename)
<
Window.Resources>
<Style TargetType="{x:Type telerik:CarouselDataRecordPresenter}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type telerik:CarouselDataRecordPresenter}">
<Grid IsHitTestVisible="False" HorizontalAlignment="Stretch"
VerticalAlignment="Stretch">
<Image Source="{Binding Path=Fields[filename].Value}" Height="400" Width="400" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Window.Resources>