I am using Telerik Silverlight RadGridView to display instrument prices. There is a column called Price which shows the price of an instrument. Now, I want to display a red arrow or a green arrow whenever the price goes up or down.
I can do this easily in asp.net Telerik. But, not sure how to acheive this functionality using Telerik Silverlight controls.
Please help.
Thanks,
Mahesh
You can use the approach from this blog post:
http://blogs.telerik.com/pavelpavlov/posts/10-05-20/displaying_live_streaming_data_with_radgridview_for_silverlight_and_wpf.aspx
Related
Is there any control available for Pagination in WPF as that of Bootstrap in Web???
If not than what is the way to do Pagination in WPF Grid-Control??
Not only Grid ,if there any other option apart from this then please suggest.
Thankyou.
There are no controls in WPF with built in Pagination. The thing that comes close is a DataGrid.
This is a good example of pagination using DataGrid. You can modify as per your requirements.
I've seen a blog on CodeFluent Entities's site about auto-generating a WPF UI using CodeFluent Entities and Syncfusion but I have Telerik WPF controls and wanted to know whether anyone has already done this and can point me in the right direction?
The Syncfusion producer is based on a template, so you can get a copy of the code and replace the Syncfusion controls by the Telerik controls in the template files. For instance you can replace the Syncfusion DataGrid by a Telerik DataGrid in the file EntityView.xaml.tpl.
I have some custom controls that I would like to make more 'user friendly' in Cider (VS wpf designer). I have red all the documentation in MSDN and some sites that I found through google , but I did not find answers to some simple questions :
How to set default values for the items that are created from a collection editor (like columns in datagrid, not drag-drop from toolbox)
How to generate XAML (like the datagrid dose when you click generate columns)
Please let me know if you know of any doc that goes into details such as those mentioned above.
Also if you know/have any custom controls with visible source code that have designer support (like Xceed or DevExpress) please share a link.
Recommended books:
1- www.amazon.com/Pro-WPF-2012-Presentation-Professionals
2- any book about Design Pattern like www.amazon.com/3-0-Design-Patterns-Judith-Bishop
3- MVVM
to add a column to data grid you don't need to generate xaml, there is a column collection you can add one by code behind
dataGrid1.Columns.Add(new DataGridTextColumn{ Header = "column1"});
read the first book well and you will be good
This an excellent and rare book that goes deep into custom controls development:
WPF Control Development Unleashed: Building Advanced User Experiences
I'd like to build an own control, but therefore I need to know if its possible to combine a Textbox event with a Popup more or less like the Datepicker Control.
Or is there a better way to do this than with a Popup?
Greets
Patrick
Sure you could do this. In fact look at the DatePicker as an example of how you might do that. I'd imagine your control would be a composite of TextBox, Button and Popup controls.
You can download the complete source to the Silverlight Toolkit from the CodePlex Silverlight Toolkit project site.
And you can get the source and unit tests for the Beta 2 Release 1 controls at Shawn Burke's blog.
Neither of these may be exactly what you're looking for, but they might get you on the right track.
Q1. Which would be the best resource or tutorial to setup a simple WPF Organization Chart or Tree for an organization object (self referencing).I would like to have a button when clicked which would show an organization chart (hierarchical) tree of the various departments and sub-department.I'm looking for a base to start code + control.
Q2.Are there any report software like Crystal Report or WPF that could render something like that?
Q1: 1 link from a blog Archived Version of above from Wayback
Another one from code project
Q2: Commercial printing control
You could take a look at Family.Show which has a very nice genealogical diagram. It's not an out of the box solution for making an organizational chart, but it's a good example how to do it. The source code is available on CodePlex.
A few years late but, Infragistics has an org chart WPF control as well.
Infragistics Org Chart