Telerik Forums
UI for WPF Forum
3 answers
287 views

Hi Guys,

I am using the 2016 UI for WPF. I am using the DragDropManager.AllowDrag, DragDropManager.AllowCapturedDrag properties. They are bound to one of my attached property.

Checkbox.IsChecked <=> two way binding to my attachd property IsAvailable 

DragDropManager.AllowDrag & AllowCapturedDrag => bound to IsAvailable.

On doing the following steps, the bug is reproduced.

1. Click on check box to "Check" the checkbox

{EXPECTED} IsAvailable = true, AllowDrop = true, AllowCapturedDrop = true

{ACTUAL} IsAvailable = true, AllowDrop = true (value source = local) , AllowCapturedDrop = true (value source = Parent Template)

2. Click on check box to "Uncheck" the checkbox. 

{EXPECTED} IsAvailable = false, AllowDrop = false, AllowCapturedDrop = false

{ACTUAL}  IsAvailable = false, AllowDrop = ***true*** , AllowCapturedDrop =false

Note that I have looked in my code to make sure that none of my code is setting the AllowDrag directly or indirectly.

However, when I use the now obsolete RadDragDropManager.AllowDrag instead of the DragDropManager.AllowDrag/AllowCapturedDrag, everything works as expected.

I would like to know if you know of this bug and have fixed it. It is replicating with latest version which I have downloaded as a trial.

Thanks

Nasko
Telerik team
 answered on 19 Apr 2017
1 answer
71 views
we are currently using the following to initialize grouping:
 
<tk:GridViewColumn.AggregateFunctions>
    <tk:CountFunction ResultFormatString="{}{0} Items" />
</tk:GridViewColumn.AggregateFunctions>

 

Several items that we group by just return numbers, it does not make a lot of since as to what exactly is being grouped we get headers like 234 236 Items

 

We would like to be able to do something like this: 

<tk:GridViewColumn.AggregateFunctions>
    <tk:CountFunction ResultFormatString="{}{1}:{2} - {0} Items" />
</tk:GridViewColumn.AggregateFunctions>

Where we get something like this  Product Code: 234 - 236 Items

1 ==  Header == Product Code
2 ==  Value    == 234
3==   Count   ==236

Is this possible?

Anthony
Top achievements
Rank 1
 answered on 18 Apr 2017
0 answers
201 views

I am using a FlagEnumEditor in GridViewDataColumn. I want to change the Background color to transparent but nothing happens. Is this a bug ?

The column Statistiken should have the same color as the column Datentyp.

I am using Visual Studio 2013 Theme. 

My source code is here on StackOverflow: How to change FlagEnumEditor Color in Telerik WPF?

 

01.<telerik:GridViewDataColumn x:Name="CheckComboBoxColumn"
02.                            Header="Statistiken"
03.                            IsReadOnly="True">
04.   <telerik:GridViewDataColumn.CellTemplate>
05.        <DataTemplate>
06.              <telerik:FlagEnumEditor BorderBrush="Transparent"
07.                                      Background="Transparent"
08.                                      Margin="-4,0,-2,0"
09.                                      Value="{Binding Aggregates, Mode=TwoWay}"
10.                                      EnumType="viewModels:Aggregates" />
11.        </DataTemplate>
12.   </telerik:GridViewDataColumn.CellTemplate>
13.</telerik:GridViewDataColumn>
Dont
Top achievements
Rank 1
 asked on 18 Apr 2017
7 answers
425 views
Hey,

I'm using the Diagrams Framework in a project. I thought it would be nice to have a way of panning without the need of zoom. In your demos the IsPanEnabled is set but there is no way to pan around. I known that if you zoom the position of your cursor is used to pan but having some kind of hand-cursor to move the whole diagram around would be a pleasure. Have I missed a possibility to achieve this in the current version or are there any plans to include such a thing in a future version?

Best Regards,
Peter Schmidt
Petar Mladenov
Telerik team
 answered on 18 Apr 2017
2 answers
271 views

Hello,

I'd like to be able to expand/collapse the TreeviewItems by simply mousing over.  I see that this was resolved in a web setting using javascript (http://www.telerik.com/forums/treeview-expand-on-hover), but is there a way to do this in WPF?

Thanks,

Emilio

Petar Mladenov
Telerik team
 answered on 18 Apr 2017
1 answer
177 views
I add a GridViewSelectColumn to my RadGridView with follwing grid configs: 
SelectionUnit="FullRow"
SelectionMode="Extended"

the Header CheckBox is checked if all rows are selected and it is unchecked if there is any unselected row.
but; what I wanna is:
Header Checkbox is checked if all rows are selected.
it is unchecked if all rows are unselected.
it is null if some rows are selected.
there is any way to do that?
Thanks.
Stefan Nenchev
Telerik team
 answered on 18 Apr 2017
3 answers
241 views

Hi,

I have a RadGridView showing up data using a GridViewDataColumn.CellTemplate with just one column and I want the Windows Narrator to narrate the correct info of the DataRows. Using Inspect.exe I realised that the GridViewCell's LocalizedControlType property is Custom. I tried to create an AutomationPeer for all the RadGridView child hierarchy elements to override the GridViewCellAutomationPeer's properties like LocalizedControlType, Name etc, but Narrator narrates nothing and the Inspect.exe does not focus on the GridViewCell as expected.

So, how can I modify the AutomationPeer elements of a RadGridView or just configure it for customising the Windows Narrator and other accessibility issues?

thanks,,

josemiguel

Ivan Ivanov
Telerik team
 answered on 14 Apr 2017
1 answer
123 views

If setting PropertySetMode=Intersection it shows the common properties, in that for example there is a property "Name" of 2 different objects.

Object1{ Name = "object1" }

Object2{ Name = "object2" }

Now if I'll select both of them, Propertygrid will show nothing in the Name textbox, because it returns null at that time, but now if I enter some text in that Name's textbox then it won't set that entered value to Name property of any of these objects, no setter of these objects will be called.

Kindly can you suggest me a solution for setting value to the objects' properties if their current value isn't same.

Stefan Nenchev
Telerik team
 answered on 14 Apr 2017
2 answers
288 views

I'm trying to theme my app using implicit styles and the Office2016Touch theme.

Most controls look correct, but for some reason, the RadComboBox is only "half" themed - the dropdown looks correct, the mouseover effect looks correct, but the basic look still appears to be default/glass-like.

I've no idea what I'm doing wrong, even the most basic sample app seems to exhibit the problem.

Any help gratefully received!

David
Top achievements
Rank 1
 answered on 13 Apr 2017
1 answer
104 views

Anyone knows how i can add the selected items of the autocompletenbox to a variable ?

this tutorial video is not the same as the description:

http://www.telerik.com/videos/wpf/autocompletebox-for-wpf-themes

 

 

 

Stefan Nenchev
Telerik team
 answered on 13 Apr 2017
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?