Hi,
I'm regularly getting the following exception whenever I move around my Window with a RadBusyIndicator in it. There are multiple windows, each with their own busy indicator. (The Window is a template, and is filled dynamically at runtime.
01.
No Title
02.
System.NullReferenceException was unhandled
03.
HResult=-2147467261
04.
Message=Object reference not
set
to an instance of an
object
.
05.
Source=Telerik.Windows.Controls
06.
StackTrace:
07.
at Telerik.Windows.Automation.Peers.RadBusyIndicatorAutomationPeer.GetCustomPropertyValuesCore()
08.
at Telerik.Windows.Automation.Peers.RadBusyIndicatorAutomationPeer.GetItemStatusCore()
09.
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
10.
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
11.
at System.Windows.Automation.Peers.AutomationPeer.UpdatePeer(Object arg)
12.
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
13.
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
14.
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
15.
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
16.
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
17.
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
18.
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
19.
at System.Windows.Threading.DispatcherOperation.Invoke()
20.
at System.Windows.Threading.Dispatcher.ProcessQueue()
21.
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
22.
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
23.
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
24.
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
25.
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
26.
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
27.
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
28.
InnerException:
Any ideas?
Thanks!
Hi,
Is it possible to not receive handled MouseDoubleClickEvent and MapMouseDoubleClickEvent in RadMap when the event is handled in a item of a map layer ? I've joined a sample that demonstrates the problematic behavior (for me).
Thank you,
Etienne
Is it possible with your controls to build a LinearGauge with a logarithmic scale and logarithmic tickmarks?
After adding a handler, the next step is to set focus to the cell (if any) under the mouse click.
this.AddHandler(MouseLeftButtonDownEvent, new MouseButtonEventHandler(this.myRadGridView_MouseDown), true);
I can set the cell focus given row and column.
The goal is to find the UIElement under the mouse click, if any, and then attempt to set Focus to it.
Thank you for your assistance.
Hi All,
I am trying to create a horizontal stacked bar to show data. Below is the code I have so far.
The problems that I'm having are:
1. It creates the chart but the data bar seems to be vertical. I want it to go horizontal.
2. I want each segment of the bar to have a different color automatically from the theme.
3. I want each segment of the bar to have its own tooltip.
What am I missing?
Thanks for your help!
this.Chart = new Telerik.Windows.Controls.RadCartesianChart() {
MinHeight = 0,
MinWidth = 0,
HorizontalAxis = new Telerik.Windows.Controls.ChartView.CategoricalAxis() {
Visibility = System.Windows.Visibility.Collapsed,
},
VerticalAxis = new Telerik.Windows.Controls.ChartView.LinearAxis() {
Visibility = System.Windows.Visibility.Collapsed,
}
};
Chart.Background = System.Windows.Media.Brushes.Green;
Chart.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;
Chart.VerticalAlignment = System.Windows.VerticalAlignment.Stretch;
var DataSeries = new Telerik.Windows.Controls.ChartView.BarSeries();
DataSeries.CombineMode = Telerik.Charting.ChartSeriesCombineMode.Stack100;
foreach (var item in e.Parameters) {
DataSeries.DataPoints.Add(new Telerik.Charting.CategoricalDataPoint() { Value = item.Used, Category = "1" });
DataSeries.DataPoints.Add(new Telerik.Charting.CategoricalDataPoint() { Value = item.Available, Category = "1" });
}
Chart.Series.Add(DataSeries);
Hey all.
I'm playing around with DragDrop behaviours, mainly dragging from other controls (or explorer), and dropping onto a TreeListView. I would like to set the drag visual in these instances (for example, detail how many files are being dragged), but currently, the only way to create a visual is when the item is the source of the drag operation, not the destination.
Does anyone have any pointers as to where I can go from here ?
Does the Cartesian chart support multiple labels for the crosshairs? What I am looking for is a label for all of the axes in the chart. I have a chart with 3 y-axes and the potential for 2 x-axes. I have been asked to provide crosshair labels for all 4-5 of the axes. Is there a way to do this?
Thank you.
Hello!
I have a window which is splitted into 2 docking-controls (top/bottom).
Is there a way to move a RadPane, which is hosted by docking-control 1 (top) to docking-control 2 (bottom)?
kind regards
Hello,
In one of our project we used a WPF diagram control developed by me. It works well, but some features like printing, pagination, ... are missing so we plan to use RadDiagram control. I start a project for the migration (Q2 2015) and I have some questions. You can find attached my control based on a WPF canvas. We use MVVM in our software.
<
Style
TargetType
=
"telerik:RadDiagramShape"
x:Key
=
"ProcedureStepFinalStyle"
>
<
Setter
Property
=
"IsEditable"
Value
=
"False"
/>
<
Setter
Property
=
"Position"
Value
=
"{Binding Position, Mode=TwoWay}"
/>
<
Setter
Property
=
"RotationAngle"
Value
=
"{Binding RotationAngle}"
/>
<
Setter
Property
=
"IsResizingEnabled"
Value
=
"False"
/>
<
Setter
Property
=
"IsRotationEnabled"
Value
=
"False"
/>
<
Setter
Property
=
"Geometry"
Value
=
"M 0,24 A 24,24 45 0 1 24,0 L 132,0 A 24,24 45 0 1 156,24 A 24,24 45 0 1 132,48 L 24,48 A 24,24 45 0 1 0,24"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FF6b9100"
/>
<
Setter
Property
=
"Height"
Value
=
"48"
/>
<
Setter
Property
=
"Width"
Value
=
"168"
/>
<
Setter
Property
=
"AllowCut"
Value
=
"False"
/>
<
Setter
Property
=
"Padding"
Value
=
"5"
/>
<
Setter
Property
=
"Margin"
Value
=
"5"
/>
<
Setter
Property
=
"Background"
>
<
Setter.Value
>
<
LinearGradientBrush
StartPoint
=
"0,0"
EndPoint
=
"1,0"
>
<
GradientStopCollection
>
<
GradientStop
Offset
=
"0"
Color
=
"White"
/>
<
GradientStop
Offset
=
"1"
Color
=
"#FFbdfc02"
/>
</
GradientStopCollection
>
</
LinearGradientBrush
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"ContentTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
TextBlock
Text
=
"{localization:LocText Courbon.Languages:Language:PageGraphic_End}"
VerticalAlignment
=
"Center"
HorizontalAlignment
=
"Center"
FontWeight
=
"Bold"
/>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
Thanks in advance for our reply.
Best regards,
Geoffrey