Telerik Forums
UI for WPF Forum
2 answers
156 views
I have an application where I do grouping behind the scenes with an ICollectionView.  I have the group panel and row indicator hidden.  When I do using the ICollectionView, I get a row indicator in the header and for each row.  I'd like to change the border color of the header indicator space to transparent and the row indicator to match the background of the main grid.  I've looked around the different templates and can't figure out which is the right one.
Dan
Top achievements
Rank 1
 answered on 07 Mar 2019
0 answers
92 views
Hi -
I am seeing strange gaps between folders within different nodes (screenshot is attached).
issue is no reproducible on all devices I run the app. 
I thought it might be related to the default animation when root folder is expanded, but I disabled it and still seeing same issue.
Any thoughts why this is happening would be appreciated.

Thanks,
Ranko
Ranko
Top achievements
Rank 1
 asked on 07 Mar 2019
3 answers
273 views

Hi,

I'm evaluating ChartView3D and Telerik UI for a project. We are going to visualise drill holes using it. A hole typically starts at the surface and goes into the ground. My attempt to achieve this was to rotate the whole graph 180 degrees, but doing so rotates also all labels and axis titles, see screendump :(

Is there any other way I can achieve this? Or can I rotate the graph without rotating the labels/titles? Or could I counter rotate them? Any tips would be appreciated.

Kind regards,
Karl-Petter

Dinko | Tech Support Engineer
Telerik team
 answered on 07 Mar 2019
3 answers
74 views

We have a RadTreeListView where the IsExpanded property of the rows is bound to a property on row objects.  Sometimes, some of the expander triangles in the RadTreeListView look expanded, but their children are not visible.  Any idea what might be causing this or how to fix it? 

 

The attached image shows a small example.  The third row looks like it's expanded, but its child is not shown.  If you click the triangle, it collapses it; and if you click it again, it's then expanded properly with the child shown.

 

Dilyan Traykov
Telerik team
 answered on 07 Mar 2019
6 answers
2.2K+ views

Hi,

How can I set the background color (in XAML) of a NumericUpDown control when IsReadOnly is set to true ?  I tried using a style but without succes ...

Regards,
Hans

Dinko | Tech Support Engineer
Telerik team
 answered on 07 Mar 2019
0 answers
117 views

Hi,

    I'm using  in GridView to keep the input away from unexpected errors. But I encountered a tiny defect. The error messages only display when mouse hovering on the top-right corner (it's a red small triangle out there). This makes the user a little trouble when checking the message because he has to move his mouse in a  pretty accurate location. In fact, users usually prefer to get the error tip when the mouse enters the cell. there any methods to implement this?

 

Thank you!

yi
Top achievements
Rank 1
 asked on 07 Mar 2019
5 answers
196 views

I wish to make a RangdSpline series with a gradient. Similar to what is done in the SurfaceSeries3D

Is this possible in 2D?

Karl B
Top achievements
Rank 1
 answered on 05 Mar 2019
2 answers
218 views

This is a difficult one, I think. If you look at one of the attached screenshots, some of the labels are adjacent to the axis as they should be, but some are quite distant. Sometimes they will all be correct except a few, sometimes they are all fine, and sometimes they are all wrong.

 

The problem seems to especially manifest when that the chart is bound to changes, and the new values on the labels are not included in the original values. For example the first screenshot has values at each 100 step, and when the data point changes from 400 to 200, the x100 values which were already on the axis are correct but the new x50 values are placed incorrectly. It isn't that straightforward of course... for example, often labels which weren't there originally are added fine. 

 

The chart is fairly basic. It is a single fixed series bound to a list of data point objects. When we change the data we completely replace the list rather than try to use an observable collection.

<telerik:RadCartesianChart x:Name="Chart" BorderThickness="1">
     
    <telerik:RadCartesianChart.HorizontalAxis>
        <telerik:CategoricalAxis PlotMode="OnTicksPadded" SmartLabelsMode="SmartStep" />
    </telerik:RadCartesianChart.HorizontalAxis>
 
    <telerik:RadCartesianChart.VerticalAxis>
        <telerik:LinearAxis Title="{Binding VerticalLabel}" Minimum="0" SmartLabelsMode="SmartStepAndRange"
                            LabelTemplate="{StaticResource VerticalAxisLabelTemplate}" />
    </telerik:RadCartesianChart.VerticalAxis>
 
    <telerik:RadCartesianChart.Series>
        <telerik:BarSeries x:Name="barSeries" ItemsSource="{Binding SeriesData}" CategoryBinding="XValue" ValueBinding="YValue" >
            <telerik:BarSeries.DefaultVisualStyle>
                <Style TargetType="Border">
                    <!--The data context here is the data point, but we need to bind to properties of the visualizer,
                    which is the data context of the series (presenter) which contains it -->
                    <Setter Property="Background" Value="{Binding Presenter.DataContext.Fill}"/>
                    <Setter Property="BorderBrush" Value="{Binding Presenter.DataContext.Color}"/>
                    <Setter Property="BorderThickness" Value="2"/>
                </Style>
            </telerik:BarSeries.DefaultVisualStyle>
        </telerik:BarSeries>
    </telerik:RadCartesianChart.Series>
     
</telerik:RadCartesianChart>
Steve
Top achievements
Rank 1
 answered on 05 Mar 2019
4 answers
183 views
Hello,

we're using your RadExpression editor in our application. We create the expressions using the editor and then we save them. At a
later stage we parse them using the editor again, but we would like to use the parsing functionality without a dependence on WPF.
Is there anyway to do that with any of your products?


public static List<T> Filter<T>(IList<T> items, string filter) where T : new()
        {
            var result = new List<T>();
 
            try
            {
                var editor = new RadExpressionEditor();
                editor.Item = new T();
                Expression exprResult;
                var isSuccess = editor.TryParse(filter, out exprResult);
 
                if (isSuccess)
                {
                    var expr1 = (Expression<Func<T, bool>>)exprResult;
                    var func = expr1.Compile();
                    result = items.Where(func).ToList();
                }
            }
            catch (Exception)
            {
                
            }
 
            return result;
        }
regards,
Ned Stoyanov
Maurizio
Top achievements
Rank 2
 answered on 05 Mar 2019
1 answer
138 views
We have multiple grids (RadGridView and RadTreeListView) visible at the same time in our application.  We would like for the unfocused grid(s) to have their selected cells appear unfocused.  This works when the SelectionUnit is FullRow, but doesn’t otherwise, and the EnableLostFocusSelectedState doesn’t seem to have an effect.  Is there a way to make this work with SelectionUnit=”Cell”?
Vladimir Stoyanov
Telerik team
 answered on 05 Mar 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?