Dear Telerik-Team!
Basically I came to your site because I want to create an enhanced Class Diagram Designer for my application - and I was amazed by your Diagram editor's capabilities. I saw that you have a basic screenshot for designing entities at http://www.telerik.com/products/wpf/diagrams.aspx.
But unfortunately none of your forum posts, tutorials or examples mentioned that use case.
So I try to lay out what I would like to achive. I'm aiming to create a class designer similar to - but richer than - the Microsoft Visual Studio Class Designer.
The following constraints I have
- Layout/looks should be adaptable (this works with your control from what I have seen)
- workflow as described should be possible to achieve
The workflows are the following:
Scenario one
01CreateClass.png - I would like to create a class
02CreateProperty.png - Add a property to it. Notice that it should be grouped to a region called "Properties"
03NameProperty.png - Specify the name of the property
04NamePropertyEnd.png - Picture shows how it should look like in the end.
Scenario two
05PropertyForEnum.png - Let's add another property called "BookStat"
06EnumCreate.png - Now we create an Enum for that - this should have a different look/shape than a class shape
07AddEnumValue.png - Let's add a value to the Enum
08MakePropertyTypeEnum.png - Now drag a connector from the "BookStat" property to the enum to make it of that type
09PropertyTypeIsEnum.png - A connector should be close to the "BookStat" property connecting to the shape "BookStatus"
Scenario three
10PropertyNoBackReference.png - Create two entities
11PropertyNoBackReferenceAction.png - Drag a connection from the property "Library" of class "Book" to just the class Library.
12PropertyNoBackEnd.png - That means there is no back reference from Library to book. So the connection is put on the shape of "Library" itself
Scenario four
13ReferenceReaderBookStart.png - Create two entities
14ReferenceReaderBookAction.png - Draw the connection from property "Books" of entity "Reader" to property "Reader" of entitiy "Book"
15ReferenceReaderBookEnd.png - This time we have a back reference, so the two properties are converted to a relationship and moved to another region called "Relationships"
Hi,
I am using RadPropertyGrid in one of my projects. I have a set of dynamic values coming to the RadPropertyGrid. And I am using "PropertyGridDataTemplateSelector" to define datatemplate for each fields of the propertygrid based on the incoming data.
I am able to use Togglebutton and AutoBindBehavior.UpdateBindingOnElementLoaded="IsChecked" on the DataTemplate for boolean Types.
Similarly I want to use a customized usercontrol for a user-defined datatype. So I created a dependency property in the usercontrol and tried to do AutoBindBehavior.UpdateBindingOnElementLoaded="<dependencyProperty>". But it is not working.
The Datatemplate is working but AutoBindBehavior.UpdateBindingOnElementLoaded="<dependencyProperty>" is not setting anything to the dependencyProperty of the usercontrol.
Thanks in advance.
Hello!
I have a grid, one column is for edit different data:
<telerik:GridViewDataColumn
Width="*"
CellTemplateSelector="{StaticResource TypeCellTemplateSelector}"
DataMemberBinding="{Binding Value}"
Header="Value" />
TypeCellTemplateSelector chooses DataTemplate:
<templateSelect:SettingCellTemplateSelector.ComboBoxTemplate>
<DataTemplate>
<telerik:RadComboBox
DisplayMemberPath="Description"
ItemsSource="{Binding Value.EnumValue, Converter={StaticResource ValueToEnumConverter}}"
SelectedItem="{Binding Value.Value, Mode=TwoWay}"
SelectedValuePath="Value" />
</DataTemplate>
</templateSelect:SettingCellTemplateSelector.ComboBoxTemplate>
ValueToEnumConverter reterns collection,
BUT when it shows RadComboBox is empty
please can You help me?


In the program code, I create a Radpane and add it to a RadPaneGroup. The user can close the RadPane and open it in the RadRibbon Menu.
How can I realize that a RadPane is only opened once?
Assuming the following view model. How do I bind the VisibleItems collection to the RadGridView? One-Way binding would be sufficient, as I would deactivate any filtering from the UI side. Performance is important.
public class ViewModel{ public ObservableCollection<Item> AllItems { get; set; } public ObservableCollection<Item> VisibleItems { get; set; } } public class Item{ public string Name { get; set; }}​Cheers,
Jan

Hello,
I've written a custom selection behavior in order to support un-selecting points when clicking on an empty (non-Data Point) area of the chart. This behavior works pretty nicely. However, as soon as the chart is zoomed or panned in any direction, the click ends up selecting a point to the upper-left of where I actually clicked. The main algorithm of the click selection is below. Is there a specific pan/zoom offset that I'm supposed to take into account?
var rect = new Rect((myMouseButtonEventArgs.GetPosition(this.Chart as IInputElement), new Size(myHitTestMargin));
if(this.Chart is RadCartesianChart)
{
var chart = this.Chart as RadCartesianChart;
var points = chart.Series.SelectMany(s => s.HitTestDataPoints(rect)); //-- this returns the wrong set of points when zoomed or panned
//-- Create a new arguments object with these points and invoke a custom event with those args
}
I have a couple questions regarding the use of RadPivotFieldList with a LocalDataSourceProvider:
1) When I try to add a CalculatedField to the LocalDataSourceProvider at runtime, RadPivotFieldList does not refresh unless I change the ItemsSource (by setting it to null and back to the previous items source). Is there any other way to refresh the list?
2) Is there a way to automatically expand Container Nodes in RadPivotFieldList? I tried using an implicit style targeting TreeGridRowGroupHeader but it is not working.
Thanks,
Gian Paolo

Hello ,
I am new to telerik tool and upgrading the old asp.net application to WPF browser application which extensively uses the grid view control.
I am trying to replicate following functionality from old application to new application and not sure what is the best approach and how to do it .
1.Grid view is binded to database object and based on the certain value present in particular field I need to show the edit button in each row, If that value is not present then I need to hide the button.
2. On click of this edit button, I need to show the update and cancel button in place of edit button as well as show the combo box with selections in different column (only this column need to be editable).
Thanks
Andy
