I am using the TreeListView to display a class hierarchy. All classes have a base class called Node. Many parents have children of different types but they are all of type Node.
The tree displays just fine until I filter on the "FC" column then I get the following exception:
Additional information: Unable to cast object of type 'TMW.i61850.Model.DataSet' to type 'TMW.i61850.Model.LogicalDevice'.
The LogicalDevice happens to be the root item in the tree in this case and the DataSet happens to be a grandchild of the LogicalDevice. Both DataSet and LogicalDevice are of type Node.
All Column binding is bound to properties that only exist on the Node class.
<telerik:RadTreeListView ItemsSource="{Binding}" x:Name="TreeView" Grid.Row="1" IsFilteringAllowed="True" AutoGenerateColumns="False" CanUserDeleteRows="False" CanUserInsertRows="False"
CanUserFreezeColumns="False" RowIndicatorVisibility="Collapsed" BeginningEdit="BeginningEdit" CellEditEnded="CellEditEnded" DistinctValuesLoading="TreeView_DistinctValuesLoading">
<telerik:RadTreeListView.ChildTableDefinitions>
<telerik:TreeListViewTableDefinition ItemsSource="{Binding Children}"/>
</telerik:RadTreeListView.ChildTableDefinitions>
<telerik:RadTreeListView.Columns>
<telerik:GridViewDataColumn Header="Name" Width="300" DataMemberBinding="{Binding Name}" />
<telerik:GridViewDataColumn Header="Value" Width="200" DataMemberBinding="{Binding Value}" />
<telerik:GridViewDataColumn Header="FC" Width="200" DataMemberBinding="{Binding FC}" />
</telerik:RadTreeListView.Columns>
</telerik:RadTreeListView>
In ouer project we use the Docking manager for the Aplication layout. Some Overviews are to the Bottom and the one (with Program mesages to the right sight). Its not nice when the user accidently short the mouse curser over the Pane button and it apears. Learning abaut the docking i've got the idea that the pre popup and auto hide tiemout can be set but i didnt find any property to set them up.
the next propblem is thesome times the panels doesnt hides when the other Panel got the focus. Some times i must click to the right part of subcontrols(such as textbox or combobox to make the panel hide).
Hi,
I'm trying to create a view based on WeekView and with a footer recapulating specials appointments (named Tasks).
This would look like attached file (ExpectedSchedulerView.png).
The most handy way would be having 2 RadSchedulerView (classic one on top, lightened MonthView on bottom). But I experiment some issue having two RadSheduleView both visible and with different behaviour.
A second and cleaner way would be having an other AppointsPanel/TimeRulerLinesPanel in the RadScheduleViewControlTemplate. That way I'm being blocked by encapsulation : Arrange/MeasureOverride throw exception (NullRef) because the new template child isn't properly initialized.
Then my questions are :
* Is there a known issue about multiple RadScheduleView ? (I already searched for it but got nothing relevant)
* Is extending RadScheduleViewControlTemplate a proper solution or is there an easier/cleanier/more efficient one ?
Thanks,
hi dear developers,
I need to customize the connections in raddiagram just like the attached shape. i reviewed the forum and only find an example that change the color of the connection but i need a more complex connection as it is attached. how can i do that?
hi dear supporters,
I need to change the shape of connectors of a shape to a custom shape that is a jpg or other image formats.
how can I do that?
hi dear developers,
i am using raddiagram in wpf.
for shapes, i have used custom shapes and a text where both image and text are added to a stackpanel and the stackpabnel is setted to be the shape content.
now i need to find the item in the diagram by hit test but the hit test brings the textblock or image instead of raddiagram shape. i need the hit test to bring back the raddiagram shape not image or text block. (i also have used IsHittestvisible property to prevent image and text block from catching by the hit test but by using this, the hit test bring nothing).
Hi,
I have an issue of when I click on a connector with text block content, the diagram control either selects the incorrect connector or does not select anything at all. It appears a bit random but is quite repeatable.
I have attached a video of the first scenario: https://www.dropbox.com/s/i7wwxon7iqy6hr1/Telerik%20Diagram%20selection%20issue.mp4?dl=0
(Download video as the video may lose video quality)
In this video the middle connector is already selected. I then click the connector on the far left and you will see the connector on the far right is selected instead.
Here is the sample code:
<Window x:Class="TelerikWpfApp1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
Title="MainWindow" Height="800" Width="800">
<Grid>
<telerik:RadDiagram>
<telerik:RadDiagramConnection
StartPoint="100,100"
EndPoint="100, 500"
ConnectionType="Polyline"
SourceConnectorPosition="Auto"
StrokeThickness="2"
ToolTipService.IsEnabled="True"
SourceCapType="Arrow1"
TargetCapType="Arrow2"
ZIndex="4">
<telerik:RadDiagramConnection.Content>
<TextBlock Text="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
Background="Yellow"
FontFamily="Arial"
FontSize="10"
Visibility="Visible"
FontWeight="Normal"
RenderTransformOrigin="0.5, 0.5"
Padding="0, 15, 0, 0">
<TextBlock.RenderTransform>
<RotateTransform Angle="90"/>
</TextBlock.RenderTransform>
</TextBlock>
</telerik:RadDiagramConnection.Content>
</telerik:RadDiagramConnection>
<telerik:RadDiagramConnection
StartPoint="140,100"
EndPoint="140, 500"
ConnectionType="Polyline"
SourceConnectorPosition="Auto"
StrokeThickness="2"
ToolTipService.IsEnabled="True"
SourceCapType="Arrow1"
TargetCapType="Arrow2"
ZIndex="4">
<telerik:RadDiagramConnection.Content>
<TextBlock Text="BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"
Background="Yellow"
FontFamily="Arial"
FontSize="10"
Visibility="Visible"
FontWeight="Normal"
RenderTransformOrigin="0.5, 0.5"
Padding="0, 15, 0, 0">
<TextBlock.RenderTransform>
<RotateTransform Angle="90"/>
</TextBlock.RenderTransform>
</TextBlock>
</telerik:RadDiagramConnection.Content>
</telerik:RadDiagramConnection>
<telerik:RadDiagramConnection
StartPoint="180,100"
EndPoint="180, 500"
ConnectionType="Polyline"
SourceConnectorPosition="Auto"
StrokeThickness="2"
ToolTipService.IsEnabled="True"
SourceCapType="Arrow1"
TargetCapType="Arrow2"
ZIndex="4">
<telerik:RadDiagramConnection.Content>
<TextBlock Text="CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC"
Background="Yellow"
FontFamily="Arial"
FontSize="10"
Visibility="Visible"
FontWeight="Normal"
RenderTransformOrigin="0.5, 0.5"
Padding="0, 15, 0, 0">
<TextBlock.RenderTransform>
<RotateTransform Angle="90"/>
</TextBlock.RenderTransform>
</TextBlock>
</telerik:RadDiagramConnection.Content>
</telerik:RadDiagramConnection>
</telerik:RadDiagram>
</Grid>
</Window>
Is there a workaround for this?
Hello, I am trying to restrict a floating window to be resized manually. In addition, I want a user control to fill out the space it needs and have the floating window adjust to its content. Is this possible?
My XAML:
<telerik:RadDocking x:Name="radDocking" Height="1" Width="1"> <telerik:RadSplitContainer InitialPosition="FloatingOnly" telerik:RadDocking.FloatingLocation="100,400"
telerik:RadDocking.FloatingSize="800,500"> <telerik:RadPaneGroup> <telerik:RadPane x:Name="ScheduleControlPane" CanUserPin="False" Header="Kontroll" Loaded="ScheduleControlPane_Loaded"
IsHidden="{Binding Path=IsChecked, ElementName=ScheduleControlToggleButton, Converter={StaticResource invertedBooleanConverter}, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"> <controlviews:ControlView HorizontalAlignment="Stretch" VerticalAlignment="Stretch" DataContext="{Binding ControlViewModel}"></controlviews:ControlView> </telerik:RadPane> </telerik:RadPaneGroup> </telerik:RadSplitContainer> </telerik:RadDocking>
Hello,
In my RadCartesianChart, i'm using the StepLineSeries class for my series.
In my software, I purpose to change the stroke type : Full Line, Dotted Line and Hyphen Line.
The serie style can be applicated in just one style :
I want to know if is it possible to have a serie (CustomStepLineSerie ??) with 2 or 3 style in an other same time ? I don't want to create other serie to fixe over it.
I attached differents files to illustrate my request.
Thank you !