Telerik Forums
UI for WPF Forum
9 answers
822 views

Hello Telerik,

 

I have a RadGridView and I set to it an EventBinding like this :

<telerik:EventToCommandBehavior.EventBindings>
    <telerik:EventBinding Command="{Binding CommandDeleteFolderRSP}" EventName="KeyUp"
                   CommandParameter="Delete" />
</telerik:EventToCommandBehavior.EventBindings>

=> I want to bind a command if the user wants to delete the selected row.

 

The problem is that all of the keys are fired the command, not only the 'Delete' key.

What is my error ?

 

Thank you.

Stefan
Telerik team
 answered on 05 Feb 2018
1 answer
134 views

Hello Telerik,

 

I'm using a RadDiagram containing shapes. These shapes has TextBlock to display some text.

I search to get the position of a TextBlock inside this RadDiagram.

 

I did it (tb is a TextBlock and Me.MirBuilderDiagram is a RadDiagram) :

tb.TransformToAncestor(Me.MirBuilderDiagram).Transform(New Point(0, 0))

 

The problem is that values are false : the top-left corner of the RadDiagram is set to 20;20, and for a TextBock next to this corner, I get the wrong value. I tried to get the position with the parent of the RadDiagram (a Grid), but I have the same result.

 

I attached 2 screenshots with :

- raddiagram : showing you the visual RadDiagram

- debug : showing you the debug with an attached watcher.

 

How I can get the good values ?

Thank you.

 

Valentin
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 05 Feb 2018
10 answers
555 views
We want to leverage Cell Templates instead of using the "edit mode" of the GridView however when tabbing between TextBoxes in the CellTemplate the Cell takes focus NOT the next cell's TextBox (that lives inside the CellTemplate). How do we fix this? We are using Q1 2009.
Anton
Top achievements
Rank 1
 answered on 05 Feb 2018
18 answers
2.8K+ views
I have a gridview item with a red background and a white text.
When i move the mouse above the gridview i get a yellow highlight, that causes the text to be unreadable.

Is there a easy way to set the row background/foreground color for the highlight, and selection?

For example:
Highlight: background = yellow, foreground=black
Selection: background = orange, foreground=black

With regards,
Rob


Pavel
Top achievements
Rank 1
 answered on 03 Feb 2018
0 answers
55 views

Hello!

I have:

1. CandlestickSeries

2. X-Axis (datetime): CategoricalAxis 

3. Y-Axis (double):  LinearAxis 

4. ChartPanAndZoomBehavior DragToZoomThreshold="0" MouseWheelMode="Zoom" DragMode="Pan" ZoomMode="Both" PanMode="Both"

How to make it so that:

1. When scrolling along the X-axis, all data on the Y-axis was displayed (in the visible range of X-axis)

 

Гоша
Top achievements
Rank 1
 asked on 03 Feb 2018
3 answers
239 views

Hello,

I have a project in which I have a radgridview that needs to be styled with different colors based on the values that are in the cell. So each cell can have different colors depending on its value. To do this I have just been programmatically changing the cell color from the cell loaded event. This is working fine for me but coloring the cells is having a weird effect that I would like to remove if possible. It appears that the cell colors are rendered on top of the row color and the selected row highlight when you mouse over a row. Is there a way I can easily reverse this so that the row color overrides the cell color while the row highlight is on top of the row color?

 

Thanks

Dilyan Traykov
Telerik team
 answered on 02 Feb 2018
5 answers
783 views

I want to always disable and, if I can, clear the content of the first cell in the first row of my RadGridView.  I know there is the readonly property to use, but that doesn't really work because then my objects need that field to bind to.  It is static for me that in the first row, the first cell is always disabled.  So no matter how the user moves around the rows or data, that cell remains static.

How can I do this?

Martin Ivanov
Telerik team
 answered on 02 Feb 2018
3 answers
228 views
I am using a RadScheduleView in MonthView only.  How can I disable highlighting the day slots on MouseOver, so that only the selected appointments are highlighted?  I tried editing the TimeRulerItemStyleSelector.MonthViewTickStyle and MonthViewTodayTickStyle so that the MouseOver VisualState in the RadButton and RadToggleButton templates was the same as the Normal VisualState, but that did not work.  I am having trouble finding the style the applies to the portion of the slot surrounding the appointments.  Any suggestions?
Dilyan Traykov
Telerik team
 answered on 02 Feb 2018
2 answers
99 views

Hi,

 

I am trying to make a universal style which would show header tooltip for every column in a gridview. In generic.xml I defined this style:

<Style TargetType="telerik:GridViewHeaderCell">
     <Setter Property="ToolTip" Value="{Binding RelativeSource={RelativeSource Self}, Path=Content}" />
</Style>

This does show the tooltip, however when mouse pointer is hovered over the column header then the actual column header gets cleared. The tooltip stays. I tried to set binding mode to TwoWay but it doesn't change this behavior. How can this be fixed if I'd like to keep styling global?

 

Alex
Top achievements
Rank 1
 answered on 02 Feb 2018
4 answers
88 views

Hi, 

Do you have any example to create an appoiment skipping slots reservations?

Thanks in advance.

Carlos
Top achievements
Rank 1
 answered on 02 Feb 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?