Telerik Forums
UI for WPF Forum
2 answers
348 views

My undo menu item is defined like this:  

<telerik:RadMenuItem
      Header="Undo"
   InputGestureText="Ctrl-Z"
   Command="{Binding UndoCommand}"
   IsEnabled="{Binding SelectedProjectCanUndo}"/>

 

SelectedProjectCanUndo is a bool property on the DataContext for the main window containing the menu. I call PropertyChanged on the correct property name, and I can see that SelectedProjectCanUndo is called immediately after, on behalf of the binding. And yet the menu item does not refresh consistently. Sometimes it does, and sometimes it doesn't. I created a small similar "sandbox" application, but everything works fine there. Any ideas?


Georg
Top achievements
Rank 1
Veteran
 answered on 04 Oct 2018
1 answer
54 views
Hello everyone
Last two days I have been recording tests on Web types and Wpf types separately
Seems like 'random name generator' is working fine in Web Type test. But is it possible to use random  â€˜DataBindVariableName’ from Web types test to Wpf Type test?
Thanks.
Nikolai
Telerik team
 answered on 04 Oct 2018
3 answers
81 views

I want to change the look of Radar Series. The default Style is not the best when there are more then 5 Series.

I want my Radar Chart to look more like the one attached in the image below. I tried to Change the PointTemplate but then I am left only with the points.

Can someone point me to the right direction ?

 

 

private RadarAreaSeries CreateRadarSeries(KeyValuePair<ChartSerie, List<ChartDataPoint>> chartSeries, ChartLegendSettings legendSettings,
                                                  int                                            colorPaletteIndex)
        {
            var radarSeries = new RadarAreaSeries
            {
                LegendSettings = (SeriesLegendSettings)legendSettings,
                PointTemplate = new DataTemplate()
                {
                    VisualTree = AddPointsToSeries(chartSeries, colorPaletteIndex),
                },
                TooltipTemplate = new DataTemplate()
                {
                    VisualTree = CustomTooltip(chartSeries, colorPaletteIndex),
                },
                Opacity = 0.7,
                LabelDefinitions =
                {
                    // set the clarion format for the labels
                    new ChartSeriesLabelDefinition()
                    {
                        Template = new DataTemplate()
                        {
                            VisualTree = GetSeriesFormat(chartSeries),
                        }
                    }
                },
            };
 
            foreach (ChartDataPoint serie in chartSeries.Value)
            {
                radarSeries.DataPoints.Add(new CategoricalDataPoint()
                {
                    Category = serie.XPoint.Label,
                    Value    = (double?)serie.Value,
                });
            }
 
            return radarSeries;
        }

 

Martin Ivanov
Telerik team
 answered on 04 Oct 2018
2 answers
153 views

Hello,

I've got a RadGridView with data successfully bound to it. I need to be able to click on an individual cell and have it read by a screen reader (Job Access With Speech JAWS). When I test the screen reader it successfully reads the cell, but reads it twice. Does anyone have any idea what could be causing this. Thus far this is a problem unique to my RadGridView section and nothing else.

 

Thanks

Martin Ivanov
Telerik team
 answered on 04 Oct 2018
1 answer
58 views
Is it possible to use StyleSelector with RadDiagramContainerShape? When I try to add container shape I get an exception that the TargetType does not match RadDiagramShape. How can I go around this? 
Martin Ivanov
Telerik team
 answered on 04 Oct 2018
2 answers
130 views

There seems to be a problem with the column creation, when the ItemsSource is empty when the GridView is loaded.

My scenario is simlar to the xaml-sdk-master\GridView\BindingToICustomTypeDescriptor sample. But it can happen, that the ItemsSource contains no items, when the grid is loaded. When the items arrive later, the columns are not build up correctly.

- When AutoGenerateColumns is used, no columns will appear.

- When I create the columns in code (AutoGenerateColumns is set to false and GridViewDataColumns are created and added before the grid is loaded) the columns are shown and the data is displayed, but I am not able to sort or filter the data.

Only when at least one item exits in the ItemsSource when the Grid becomes visible, the grid works as expected. Is there something I have to do, when the first item is available?

Martin Ivanov
Telerik team
 answered on 04 Oct 2018
2 answers
86 views

Following your documentation Binding to Dynamic Data there is a code which shows how to bind dynamic object properties like "ID" and "Name" to column:

dynamic item = new MyDataRow();
item["ID"] = i;
item["Name"] = "Name " + i.ToString();
items.Add(item);     
Dilyan Traykov
Telerik team
 answered on 03 Oct 2018
1 answer
104 views

Hi,
I faced the issue with missing header row for all GridView contols within the app. Pretty much all of the grids have it's own style. Some of GridViews shares GridView header row style. I made some changes on one of the header row styles (some color changes, borders etc, something that should not affect on row visibility) but suddenly, all the GridViews in the app have header row missing.

I went through all GridView controls and set specific property for header row/column visibility but no effect. Any ideas?

Note: recently I updated Telerik dlls to the latest one.Also, I revert changes in the styles to the old one (when it was working fine) but no effect.

Dilyan Traykov
Telerik team
 answered on 03 Oct 2018
0 answers
76 views

Hello,

I've had no problem dragging from other containers to a RadDiagram control. But am stuck on how to drag back and forth between two RadDiagram controls. Do you have any sample code or suggestion for how to accomplish this?

Thanks in advance,

Scott

Scott
Top achievements
Rank 1
 asked on 02 Oct 2018
1 answer
271 views

I've just downloaded the Documentation and APiReference help files. However when I open them on my computer (which uses 200% scaling) they are unreadable with tiny text.  

Can someone tell the author(s) of these files to make them DPI aware? We're using Help&Manual for our own stuff and afaik it's just 1 setting in the .HHP file. Set the 'Font Size Encoding' to Pixels (not Points). I could be wrong on the exact setting but as said: our own Help files display fine and yours don't.

For now I found a trick to circumvent it but it's cumbersome and unneeded. The trick: copy HH.exe to a user folder. Set DPI compatibility for hh.exe to System(enhanced), then create shortcuts to the help files to use the compatible hh.exe)

A small change, a world of difference.

Jurgen

Dilyan Traykov
Telerik team
 answered on 02 Oct 2018
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?