Hello,
When I transfer an object to a RadDiagram (when it happens OnDragEnter), I change the size of the DragVisual. How can I update DragVisualOffset?
Hi,
I am currently enjoying the trial of Telerik UI for WPF!
I've hit an issue which I really need to solve. My interface contains a RadTimeline and a load of other components. I need the other components to adjust in size and position as I scale/slide the range slider at the bottom of the timeline (I believe it's a RadSlider), as though 'linked' to the timeline.
To do this, instinctively I would bind to ActualVisiblePeriodRange, ActualVisiblePeriodStart, ActualVisiblePeriodEnd etc. Something like this...
<
telerik:RadTimeline
x:Name
=
"RadTimeline1"
ActualVisiblePeriodRange
=
"{Binding VisiblePeriodRange, Mode=OneWayToSource}"
/>
However, this doesn't seem to work. I am aware that these properties are readonly.
How can I get the above properties into the View Model so that I can make use of them in other view models? Bear in mind, I don't want to set ActualVisiblePeriodRange/Start/End, I just want to get their values.
Many thanks in advance!
Hello,
When the focus is on a RadComboBox, pressing Ctrl+F4 opens it.
From the documentation, F4 should open / close it, not Ctrl+F4.
This bug is annoying, because Ctrl+F4 is the standard shortcut to close a tab or a pane.
Hi Telerik Team,
I want to open a Telerik:Raddocking in a popup on Button Click. And button are there in toolbar. can you please provide a sample example to achieve that thing. i am attaching the image when i click on that button then the copy of the given raddocking will open in a new pop as well.
Regards
Raju
Hi Telerik,
I have a RadGridView with some Columns and 2 ColumnGroups. Each ColumnGroup has 2 Columns.
I want to know if is it possible to "merge" 2 child Columns Header in each ColumnGroup and display the Header ColmunGroup parent. Finally, there is just 1 row, with Column Header and ColumnGroup Header inside.
I attached 2 screens to show you the actually result and the objective.
Thank you !
hello!
I use ExpressionEditor in a project ,the main code is:
xaml:
<TextBox x:Name="aaa"/>
<telerik:RadExpressionEditor Grid.Row="1" x:Name="ExpressionEditor"
ExpressionChanged="ExpressionEditor_ExpressionChanged"
ExpressionText="Sin(100)" />
cs:
private void ExpressionEditor_ExpressionChanged(object sender, RadRoutedEventArgs e)
{
try
{
dynamic dynamicExpression = ExpressionEditor.Expression;
dynamic compiledExpression = dynamicExpression.Compile();
object executionResult = compiledExpression();
aaa.Text = executionResult.ToString();
}
catch
{
}
}
the TextBox can show the result,but result preview of the RadExpressionEditor did not show the result,why? what should I do?
by the way,can we improve the RadExpressionEditor to make the programmer can add custorm function or constants like Pi?
I have a RadCartesianChart defined in XAML with multiple series. Each series has the ItemsSource, HorizontalAxis, VerticalAxis and Visibility bound to MVVM model properties. The ChartView itself has the DataContext bound inherently from the DataContext of my chartviewer usercontrol's DataContext.
When my control is first displayed, everything works as expected, the chart is displayed correctly and I can switch through the different series with different data and different label formats.
The chartviewer control is part of a ContentControl which picks the relevant View from the assigned DataContext type. This is switched depending on user input.
Firstly, if I navigate away from the chartviewer control I have to use the following code to prevent a "Cannot modify the logical children for this node at this time because a tree walk is in progress" exception from the ChartView:-
private void ChartViewer_DataContextChanged(object sender, DependencyPropertyChangedEventArgs e)
{
if (e.NewValue == null)
{
chartCart.DataContext = null;
chartCart.UpdateLayout();
}
}
Secondly if I then go back to the ChartViewer reusing he same MVVM model that was previously used, the ChartView now show "HorizontalAxis not set" and "VerticalAxis not set". It does not matter what I change on the model, I cannot get the chart to show anything else. When using Visual Studio to look at the ChartView, the DataContext binding is valid, the series are all there, and all of the series have correct bindings to the model properties and seem to be correct. I noticed that the axes get their Chart property set when assigned to the series, so I have tried rebuilding the axes in the same way I do when the chart is working (first view).
I have also tried binding the DataContext of the ChartView to a different DependencyProperty which allows me to get away from the exception (noted above), but still the same problem. I have tried stepping through the Visual Tree and rebuilding all of the bindings to ensure they are all active, but this has no effect.
What would cause the EmptyContent message to show when there are series available, each with axes set and are visible, and have point data?