I am using the diagram view in MVVM mode and I have built my test app starting from the MVVM SDK sample and the Class Diagram demo.
I can create shapes and connections programmatically. Connections created programmatically can be edited. I am using "gliding" connectors. My test app is able to create new shapes by dragging/dropping shapes from the toolbox. However, I cant create new connections interactively. When I click a shape, the center point of the shape shows up, when mousing over it, it gets highlighted and the tooltip "Connect" does appear. I am getting ConnectorManipulationStarted event. When dragging the mouse away no connector is showing up, and no Completed event ever fires. I have made sure that every editing related property is enabled on shapes, connectors and diagram style, but nothing...
Any idea ?
Thanks !
L.
Hi!
We are implementing a patient history where we want to plot some medical data values with a bar series (vertical) and line series, medication with bars (horizontal) and interventions (e.g. operations) with vertical lines that have a symbol. I made an annotated drawing (attached) so the use case is clear.
The vertical bar and line graphs are easily done with the RadCartesianChart. However, what I'm missing is a chart, that can display the treatments (Placebo Forte et al.) and the treatments (syringe and scalpel). It's important for them to align with the chart, since they share the same timeline.
What would you suggest for this use case?
Thanks in advance and best regards,
luetm
public
partial
class
My_WizardPage : WizardPage
{
public
My_WizardPage()
{
}
}
And Xaml
<
telerik:WizardPage
x:Class
=
"My_WizardPage"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable
=
"d"
d:DesignHeight
=
"300"
d:DesignWidth
=
"300"
ButtonsVisibilityMode
=
"Next"
>
<
mycontent
/>
</
telerik:WizardPage
>
That work at Design time, I cant see the view, but if I add this custom page to WizardPages collection from RadWizard nothing happend.
this
.Wizard = pWizard;
WizardPage page =
new
My_WizardPage();
page.DataContext =
this
;(vm)
this
.Wizard.WizardPages.Add(page);
this
.Wizard.SelectedPageIndex = 0;
What am I doing wrong?
Regards!!
Hi,
it seems, that UpdateDropPreviewLine is not working with DropPosition.Inside. DropPosition.After works fine, but I want to give the user a clue, if the drop would result in a new child node or a new sibling node. Is UpdateDropPreviewLine in principle limited to DropPosition.After and DropPosition.Before or is the problem in my code?
Best regards
Thomas
[ Originally posted on the "Chart" forum but actually this issue happens with ChartView ]
I am still in the process of evaluating
the Telerik WPF package. Everything was OK with the Chart component
until I found this problem.
When loaded with plenty of data, the chart crashes with the following exception :
Decimal too big or too small
at System.Decimal..ctor(Double value)
at System.Decimal.op_Explicit(Double value)
at Telerik.Charting.LinearAxisModel.<GenerateTicks>d__0.MoveNext()
at Telerik.Charting.AxisModel.<Delay>d__1e`1.MoveNext()
at
Telerik.Charting.AxisModel.TryBuildNonOverlappingTicksAndLabels(Boolean
buildLabels, ValueRange`1 zoomRange, Boolean allowOverlappingLabels)
at Telerik.Charting.NumericalAxisModel.ChooseActualRange()
at Telerik.Charting.NumericalAxisModel.BeginMeasureCore(RadSize availableSize)
at Telerik.Charting.AxisModel.MeasureCore(RadSize availableSize)
at Telerik.Charting.AxisModel.Measure(RadSize availableSize)
at Telerik.Charting.NumericalAxisModel.Measure(RadSize availableSize)
at Telerik.Charting.CartesianChartAreaModel.AxisStack.Measure(RadSize availableSize)
at Telerik.Charting.CartesianChartAreaModel.PrepareAxesStacks(RadSize availableSize)
at Telerik.Charting.CartesianChartAreaModel.ArrangeAxes(RadRect availableRect)
at
Telerik.Charting.ChartAreaModelWithAxes.UpdateAndArrangeAxes(SeriesByAxesTuple
seriesByAxes, RadRect availableRect, RadRect& seriesRect)
at Telerik.Charting.ChartAreaModelWithAxes.ArrangeOverride(RadRect rect)
at Telerik.Charting.ChartNode.Arrange(RadRect rect, Boolean shouldRoundLayout)
at Telerik.Charting.ChartAreaModel.Arrange()
at Telerik.Windows.Controls.ChartView.RadChartBase.UpdateChartArea()
at Telerik.Windows.Controls.ChartView.RadChartBase.CallUpdateUI()
at Telerik.Windows.Controls.ChartView.RadChartBase.OnInvalidated()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object
source, Delegate callback, Object args, Int32 numArgs, Delegate
catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32
msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object
source, Delegate callback, Object args, Int32 numArgs, Delegate
catchHandler)
at
System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority
priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at System.Windows.Application.Run()
Known problem? Any workaround?
Hi,
How can I add additional controls for certain fields in a PropertyGrid? Similar to Visual Studio. See attached image.
I am using Telerik WPF Controls 2014.2.729.40.
I have enabled the multi-rows selection in the radgridview by setting SelectionMode="Extended".
<tk:RadGridView ... SelectionMode="Extended">
The user can select all or select multiple rows in the grid. However, if the user clicks out of the radgridview. The selected rows appear as unselected until the radgridview regains the focus back.
Step 1: The user selected multiple rows in radgridview.The rows looked SELECTED.
Step 2: The user clicked outside of radgridview. The rows looked UN-SELECTED.
Step 3: The user clicked back in radgridview. The rows selected before appeared as SELECTED.
I want the selected rows stay SELECTED visually all the time no matter Telerik RadGridView losts focus or not.
Please let me know if there is any ways to achieve my goal. Any help is appreciated.
Thanks!
Is it possible to create a hierarchical tree list view from a flat list, much in the way you can with a TreeList ( http://docs.telerik.com/devtools/wpf/controls/radtreeview/how-to/bind-to-self-referencing-data.html ) ?
We have a data structure where the objects have the ids of their parents, and we would much rather bind to a flat list, than rebuild the hierarchy.
I had a look at the hierarchical grid view (http://docs.telerik.com/devtools/wpf/controls/radgridview/hierarchical-gridview/self-referencing-grid.html ), but that still seems to put children at the top level (as well as the child level).
I'm trying to disable property changed aggregation on all grids (the timer within it causes issues with Word when I host it in an add-in pane).
I've added a style as so:
<
Style
TargetType
=
"telerik:RadGridView"
>
<
Setter
Property
=
"IsPropertyChangedAggregationEnabled"
Value
=
"False"
/>
</
Style
>
And I get this error:
The property "IsPropertyChangedAggregationEnabled" is not a DependencyProperty. To be used in markup, non-attached properties must be exposed on the target type with an accessible instance property "IsPropertyChangedAggregationEnabled".
I think I can see why. The registration of this dependency property seems to be wrong. It includes a trailing space:
public
static
readonly
DependencyProperty IsPropertyChangedAggregationEnabledProperty = DependencyProperty.Register(
"IsPropertyChangedAggregationEnabled "
,
typeof
(
bool
),
typeof
(GridViewDataControl),
new
PropertyMetadata((
object
)
true
));