Telerik Forums
UI for WPF Forum
1 answer
285 views
Hello, basically when I select a row, and I press 'Enter', the next row will get selected. Is there any way to prevent this?

Thanks for your attention.
Dimitrina
Telerik team
 answered on 21 Apr 2014
3 answers
320 views
I have a RadCartesianChart that I am binding with a set of various series. One set of series is for a collection of dynamic items (do not know ahead of time how many) and I am using "telerik:RadCartesianChart.SeriesProvider" and referencing the collection of dynamic elements using the ItemSource property. The other series are known ahead of time and I bind those directly to the chart using a named property in my view model. The chart displays the various series correctly.

My problem involves the radLegend. How do I bind my legend to both the items in the dynamic series and the named property so that the colors match? 

What I need is a clear example where a series provider makes use of the LegendSettings property. I am trying this, but it does not work...

 <telerik:RadCartesianChart.SeriesProvider>   
    <
telerik:CategoricalSeriesDescriptor.Style 
       <Setter Property="LegendSettings" Value="{Binding name}"/>

Elsewhere, the following is working in a regular series. Can I have both types of binding for a single RadLegend?

<telerik:AreaSeries.LegendSettings>
         <telerik:SeriesLegendSettings Title="MyTitle" />
 </telerik:AreaSeries.LegendSettings>

If you can include or point me to a WPF example (preferably not a silverlight one), that would be really helpful. Thanks.
 
 
Petar Marchev
Telerik team
 answered on 18 Apr 2014
7 answers
133 views
I would like to simulate a real-time sequence of events by having my RadCartesianChart update graphically as new data is received. Off the top of my head, I am thinking the best way to acheive this would be to have an Observable collection that gets updated with new data points every so often and push data  to the chart, having it refresh and thus display the new results, along with the previous results. (i.e. The collection would be growing...)

 It certainly does not have to be an Observable collection and could just as easily be rebinding the ItemSource with a new enumerable collection at some fixed time interval (i.e. the playback rate).

Is this possible with Telerik's RadCartesianChart ? Basically have the chart act as a visual display to a live-stream of dynamic data....

Thanks in advance.
Terry
Top achievements
Rank 1
 answered on 18 Apr 2014
1 answer
472 views
Hi. I'm fairly new to this. I am trying to set up a RadTileView with a variable number of items. I have bound the ItemsSource to my ViewModel, set up the ContentTemplate as a grid, and can display each item fine. The only problem is that when there are too many items to fit on one row in the window they still lay themselves out as a single row and a horizontal scrollbar appears. What I want is for the items to wrap onto multiple rows with a vertical scrollbar if necessary. I'm sure this must be totally obvious but I can't seem to find the right setting to make it do this.
Martin Ivanov
Telerik team
 answered on 18 Apr 2014
1 answer
74 views
Hi,

I have an application that process only affected records, we will move to a telerik grid.

how can I get only changed items from a object source?

Best Regards.
Dimitrina
Telerik team
 answered on 18 Apr 2014
2 answers
501 views
i set two way binding then on ok is working fine,cancel is not
and if i set one way binding cancel is working fine ok button is not

i am calling expression editor on a button click dynamically that code is:
  Private Sub btnRiskFactorFormular_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs)
        Dim window As New ExpressionEditorWindow()
        window.DataContext = DirectCast(sender, System.Windows.Controls.Button).DataContext
        Dim bindFormular As System.Windows.Data.Binding = New System.Windows.Data.Binding("ewrf_formula")
        ' bindFormular.Mode = BindingMode.OneWay
        window.ExpressionEditor.SetBinding(RadExpressionEditor.ExpressionTextProperty, bindFormular)
        Dim objRiskFactors As New WellnessIncentiveMethods
        Dim test As List(Of EERiskFactorFields) = objRiskFactors.fnGetRiskFactorNames()
        window.ExpressionEditor.Item = test(0)
        AddHandler window.Closed, AddressOf Me.OnExpressionWindowClosed
        window.ShowDialog()


    End Sub
Dimitrina
Telerik team
 answered on 18 Apr 2014
3 answers
148 views

I have created dynamic validation on scheme editing. But I encountered with few problems.
1) How to get active connection correctly? I use method described below:

01.private RadDiagramConnection GetActiveConnection()
02.{
03.    var toolService = ServiceLocator.GetService<IToolService>();
04.    if (toolService == null || toolService.ActiveTool == null) return null;
05. 
06.    var toolType = toolService.ActiveTool.GetType();
07.    var fieldInfo = toolType.GetField("activeConnection", BindingFlags.Instance | BindingFlags.NonPublic);
08.    if (fieldInfo == null) return null;
09.    return fieldInfo.GetValue(toolService.ActiveTool) as RadDiagramConnection;
10.}
2) Please, make tool interfaces from Telerik.Windows.Diagrams.Core public.
3) Please, make RadDiagramShapeBase.UpdateVisualStates() non internal.
Zarko
Telerik team
 answered on 18 Apr 2014
2 answers
181 views
Table across multiple pages,if you merge cells in the first page,table can adjust the row height(first.jpg),but if you merge cells in the second page,table can not(second.jpg).
hao
Top achievements
Rank 1
 answered on 18 Apr 2014
1 answer
1.4K+ views
Apologies in advance for what probably is a stupid question. I'm trying to style the GridView and having a difficult time with it. It seems like a lot of the documentation on the website is outdated. For example, this page shows a whole bunch of properties which I do not see in Blend when I follow the exact steps that it outlines.

To my question: I'm trying to override the default styles and it seems like you have to individually override the style for each component of the gridview, right? I'm currently trying to change the mouse over color. I have the following XAML in my App.xaml:

       <Style x:Key="RadGridViewRowStyle" TargetType="{x:Type telerik:GridViewRow}">
            <Setter Property="IsTabStop" Value="False"/>
            <Setter Property="Background" Value="White"/>
            <Setter Property="BorderBrush" Value="#FFCBCBCB"/>
            <Setter Property="BorderThickness" Value="0"/>
            <Setter Property="AllowDrop" Value="True"/>
            <Setter Property="FontWeight" Value="Normal"/>
            <Setter Property="VerticalContentAlignment" Value="Stretch"/>
            <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
            <Setter Property="Padding" Value="0"/>
            <Setter Property="SnapsToDevicePixels" Value="True"/>
            <Style.Triggers>
                <Trigger Property="IsMouseOver" Value="True">
                    <Setter Property="Background" Value="{StaticResource MouseOverBrush}"/>
                    <Setter Property="BorderThickness" Value="5"/>
                    <Setter Property="BorderBrush" Value="Black"/>
                </Trigger>
                <Trigger Property="IsSelected" Value="True">
                    <Setter Property="Background" Value="{StaticResource SelectedRowBrush}"/>
                    <Setter Property="BorderThickness" Value="5"/>
                    <Setter Property="BorderBrush" Value="Black"/>
                </Trigger>
            </Style.Triggers>
        </Style>

The border changes (which are just for testing) show up, but the background color remains that of the out-of-the-box theme. Any help is appreciated.
Ivan Ivanov
Telerik team
 answered on 18 Apr 2014
1 answer
301 views
We are using Radgridview in our wpf application which is autogenerated using Class Models. When the number of columns are quite huge(more than 35-40 columns), the performance of the horizontal scrollbar is quite poor and even worst when the data on the Grid is huge. Infact the experience it gives while scrolling seems as if the scrollbar is continuously growing. I have tried the following settings on the RadGridView in the xaml but there is no significant improvement in the performance:

EnableColumnVirtualization="True" EnableRowVirtualization="True" VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" ScrollViewer.CanContentScroll="False" ScrollMode="Deferred"
Ivan Ivanov
Telerik team
 answered on 18 Apr 2014
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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
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
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?