Telerik Forums
UI for WPF Forum
9 answers
231 views
Hi,

I have an application built using MVVM pattern and Caliburn, which displays two TreeListView in parallel using Virtualization.
When I set the IsExpandedBinding property, then performances (scrolling down ...) are really bad.
When Tree Lines are hidden, then performances are only acceptable.

I also have another need: the background color of each row should change based on a binding (Status property).
I tried to achieve this with a RowStyleSelector (not sure I should do it like this with lightweight templates) but performance are incredibly bad (Especially when dragging the Scrollbar or when using Page Up/Down keys)...

Note that the test application displays a sample data source but, but be aware that in real life, this data source can be really big. Right now, the TreeListView is simply not usable.

How I improve the performance? What do I do wrong ?

Please find attached by test solution.
You can turn on/off tree  lines and row styles with:
<Setter Property="RowStyleSelector" Value="{StaticResource DiffRowStyleSelector}" />
<Setter Property="TreeLinesVisibility" Value="Hidden" />

Thanks for your help

Lorenz
Top achievements
Rank 1
 answered on 30 Mar 2015
2 answers
212 views
I'm using the version 2013.3.1202.40

If a user copies a line (CRTL-C) and pastes it (CTRL-V), there is a problem when one of the column's contents is empty. All contents are shifted “to the left”, simply ignoring the empty column.

So, if we have something like "Text;;;End" it would be pasted as "Text;End"
Attila
Top achievements
Rank 1
 answered on 30 Mar 2015
4 answers
219 views
Hi,

I want to change PropertyGrid font-family, Code like this:

<telerik:RadPropertyGrid Name="squidProperties" Grid.Row="1" RenderMode="Flat"
           AutoGeneratePropertyDefinitions="False"
                        DescriptionPanelVisibility="Collapsed"                        
          FontFamily="Microsoft YaHei" Item="{Binding testtest}" LabelColumnWidth="100"
          Visibility="{Binding test}" />

it's not working.

The textblock's(PART_FieldLabelN) font-family is still Segoe UI.
haochen
Top achievements
Rank 1
 answered on 30 Mar 2015
5 answers
232 views
Hello,

I'm experiencing a memory leak when using RadPropertyGrid in a project targeting .Net Framework 4.
I would attach a sample project to demonstrate the issue, but apparently only images can be attached.
I'm able to reproduce the issue with a simple project containing a main window with a button opening a new window with only a RadPropertyGrid, with Item set to a simple POCO object with 2 string properties. The window is not released when closed.
Dimitrina
Telerik team
 answered on 30 Mar 2015
2 answers
137 views
Hi there, 

we are currently working on a wrapper control of your RadChartView RadCartesianChart that contains a DateTimeContinuousAxis. Out clients should be able to modify the FontSize of it, so we bond it to our DependencyProperty AxisFontSize:

<telerik:RadCartesianChart.HorizontalAxis>
  <telerik:DateTimeContinuousAxis x:Name="dateTimeContinuousAxis" PlotMode="OnTicks" LabelFitMode="Rotate" MajorStepUnit="Second"
                                                LabelFormat="HH:mm:ss" FontSize="{Binding AxisFontSize, FallbackValue=14}" />
</telerik:RadCartesianChart.HorizontalAxis>

When the client changes the AxisFontSize on design or run time something strange happens: https://dl.dropboxusercontent.com/u/55589036/Pictures/Animated%20Screenshots/20150326_1440.gif

Now we experimented a bit to get rid of this problem. In the Changed-Event of the AxisFontSize we tried to re-add entirely new Series with entirely new data plots in a different time range than before. Nothing changes, because your control seems to keep the old labels for resource purposes. We even tried to call UpdateLayout() and InvalidateVisual() in our Update() method that will be called in the Changed-Event.

Now to up the stakes even more we got two other DependencyProperties on our control:
- TimeRange: This enum value (seconds) defines the time range of the DateTimeContinuousAxis. When this is changed we call our Update() method, too, to re-add all Series with new dummy or live plot data in the Changed-Event.
- TimeTickCount: This defines the number of time ticks on the X axis. When changed we calculate the new MajorStep of the X axis and set it to the DateTimeContinuousAxis MajorStep property.

When we change the AxisFontSize and finally change one of the other DependencyProperties it's getting even more weird: https://dl.dropboxusercontent.com/u/55589036/Pictures/Animated%20Screenshots/20150326_1441.gif


How can we fix this problem or bypass the bug? Is there at least a way to force your control to remove and re-add the labels to get rid of this problem?
Martin
Top achievements
Rank 1
 answered on 30 Mar 2015
1 answer
95 views
Hello,

Sometimes unintentionally clicked on the group header and collapsed group, How can prevent collapsed group ? or collapse like expander if clicked on the button expand or collapse?
Maya
Telerik team
 answered on 30 Mar 2015
1 answer
160 views
Hi,

in my application I have multiple RadTablControls and I would like to change the height of all TabItem... How it's possible to do it through styling???

Thank's
Alain
Evgenia
Telerik team
 answered on 30 Mar 2015
4 answers
455 views
    <telerik:RadCartesianChart.SeriesProvider>
        <telerik:ChartSeriesProvider Source="{Binding CieDatums, Mode=OneWay}">
            <telerik:ChartSeriesProvider.SeriesDescriptors>
                <telerik:ScatterSeriesDescriptor  ItemsSourcePath="Value" XValuePath="X" YValuePath="Y" CollectionIndex="0">
                    <telerik:ScatterSeriesDescriptor.Style>
                        <Style TargetType="telerik:ScatterPointSeries">
                            <Setter Property="RenderOptions" Value="{StaticResource renderOptions}" />
                            <Setter Property="ShowLabels" Value="{Binding IsShowLabel, Mode=OneWay}"/>
                            <Setter Property="PointSize" Value="5,5"/>
                            <!-- Not able to apply DefaultVisualStyle,  -->
                            <Setter Property="DefaultVisualStyle">
                                <Setter.Value>
                                    <Style TargetType="{x:Type Path}">
                                        <Setter Property="Fill" Value="Black"/>
                                    </Style>
                                </Setter.Value>
                            </Setter>
                        </Style>
                    </telerik:ScatterSeriesDescriptor.Style>
                </telerik:ScatterSeriesDescriptor>
            </telerik:ChartSeriesProvider.SeriesDescriptors>
        </telerik:ChartSeriesProvider>
    </telerik:RadCartesianChart.SeriesProvider>
</telerik:RadCartesianChart>

I am trying to set the Point fill color to Black. DefaultVisualStyle seems to have no effect. 
What is the proper way of applying DefaultVisualStyle in ScatterSeriesDescriptor.Style?
Joel
Top achievements
Rank 1
Iron
 answered on 30 Mar 2015
5 answers
289 views
           
<telerik:RadCartesianChart.SeriesProvider>
    <telerik:ChartSeriesProvider Source="{Binding CieDatums, Mode=OneWay}">
        <telerik:ChartSeriesProvider.SeriesDescriptors>
            <telerik:ScatterSeriesDescriptor  ItemsSourcePath="Value" XValuePath="X" YValuePath="Y" CollectionIndex="0">
                <telerik:ScatterSeriesDescriptor.Style>
                    <Style TargetType="telerik:ScatterPointSeries">
                        <Setter Property="RenderOptions" Value="{StaticResource renderOptions}" />
                        <Setter Property="ShowLabels" Value="{Binding IsShowLabel, Mode=OneWay}"/>
                        <Setter Property="PointSize" Value="5,5"/>
                    </Style>
                </telerik:ScatterSeriesDescriptor.Style>
            </telerik:ScatterSeriesDescriptor>
        </telerik:ChartSeriesProvider.SeriesDescriptors>

I have a check box which allow user to choose whether to display the point Label or not. The Binding IsShowLabel is not working. How can i bind the check box's IsChecked to the ShowLabels property?
Joel
Top achievements
Rank 1
Iron
 answered on 30 Mar 2015
2 answers
131 views
Hello,

I see the Timeline control has alternate colors for the intervals, Is it possible to change those colors? I'd like to change them.

Thanks in advance,

Alberto
Amige
Top achievements
Rank 1
Veteran
 answered on 28 Mar 2015
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?