wpftoolkit

What's the insert performance like for the WPF Toolkit DataGrid?

Hi all. Just wondering if anyone knows about what performance is like for the WPF Toolkit DataGrid for inserting rows to the top of the visible area. I know that ListBox and ListView will recreate all new visuals for all of the rows that are pushed down, which is a major impact on performance; I was wondering if the WPF Toolkit DataGri...

WPF toolkit DatePicker change default value 'show calendar'

Hi there! I'm using the latest WPF toolkit, specifically the DatePicker. Everything works fine, but when no value is provided, the default 'SHOW CALENDAR' text appears in the DatePickerTextBox. I want to be able to change this value in WPF. One told me to download the source, add a new Dependency property and recompile to dll. That's c...

How to style a DatePicker ?

I downloaded a WPFToolkit source, because I wanted to override the default generic template of a DatePicker. For example, I wanted to override this TextBox: <primitives:DatePickerTextBox x:Name="PART_TextBox" Grid.Row="0" Grid.Column="0" Foreground="{TemplateBinding Foreground}" Ho...

WPF DataGridTemplateColumn. Am I missing something?

<data:DataGridTemplateColumn Header="Name"> <data:DataGridTemplateColumn.CellTemplate> <DataTemplate> <TextBlock Text="{Binding Name}"> </DataTemplate> </data:DataGridTemplateColumn.CellTemplate> <data:DataGridTemplateColumn.CellEditingTemplate> <DataTempla...

Is the June 2009 WPF Toolkit Safe to Use in Applications that will be Shipped Out to Customers?

Is the June 2009 WPF Toolkit safe to use in applications that will be shipped out to customers? I'm seriously concerned that my application will crash three days prior to release. This concern stems from the fact that that the WPF Toolkit does not seem to be endorsed by Microsoft, even though it appears to be developed by established ...

conditional formatting in wpf toolkit datagrid

hey i wanna change row foreground color according to a boolean in the model, whats the best way of doing it? ...

Using Behaviors to Validate DataGrid values in Blend 3

Maybe it's the 3 hours of sleep (thank you Harry Potter) talking this afternoon but I cannot wrap my head around this. I'm trying to learn to use Expression Blend 3. And by learn, I mean do things in the "Blend way", using Behaviors and DataGrids and the new SampleData and all it's wonderfulness. I think it will be beneficial in the l...

how to show popup menu on click of checkbox column header in datagrid?

I am using the datagrid from WPF toolkit in a WPF windows application. It has a datatemplate in the rowheader which creates a checkbox column used for selecting the rows. If you click on the header row of the checkbox column (the top leftmost cell in the grid), it will check all the checkboxes in the grid thereby selecting all the rows....

MVVM toolkit (templates) and XAML powertoys for wpf mvvm work?

Hi there, I recently downloaded the MVVM toolkit on codeplex from WPF futures which basically has templates (although i can't seem to find many docs for it) for creating standard MVVM apps for WPF. I also came across the Powertoys for XAML which allows you to create ViewModels from classes etc.. Is this the best way to go? There seems...

Best charting tool for silverlight and wpf

I came across the following till now visifire Teechart Silverlight toolkit chart Dundas has anyone worked on a charting project in silverlight/wpf !! which charting tool would you recommend ? I want to make a wrapper around charts for historical/real time data . Want the chart to have a datamodel which can be extended easily . ...

WPF MVVM: Find out on which header context menu has been clicked

I am trying to use the MVVM pattern to write a WPF application. I am using WPF data grid (from the toolkit) which lacks the autofiltering feature. So I want to implement it. I've added a context menu to the column header template, it has MenuItem called "Filter" which should actually call the filtering method. So I've set a MenuItem's ...

How do I Get a WPF DataGrid to Save Changes Back to the DataBase?

How do I get a WPF DataGrid to save changes back to the database? I've data-bound my DataGrid control to a DataTable object, and populated that table with a very simple SELECT query that retrieves some basic information. The data shows up just fine in the control. But when I use the control to edit the data, the changes are not pus...

WPF DataGrid from WPF toolkit vs ListView - any benefits?

I know ListView pretty well, but never looked at DataGrid. My question is simple - if you do not need editing in the list, does DataGid provide any benefits comparing to ListView? Also, are there disadvantages of using DataGrid (more complex, performance, bugs, hard to style, etc...)? ...

How can I make a template column of WPF Toolkit's DataGrid sortable?

Hi! My application uses the DataGrid of WPF Toolkit. Standard column headers are clickable (when I move over them with the mouse, also some effect appears), but the headers of template columns don't have this behaviour. The sorting event is not fired when I'm clicking on the header and there is also no visual effect. <Controls:DataGrid...

How do you create columns programmatically in C# for a WPF toolkit datagrid?

I have seen many examples of creating a WPF Toolkit DataGrid in XAML and it is possible to write certain tags and there will be some columns, rows, etc depending on what you wrote. Lets say I have an empty (it has no columns, no rows, nothing) WPF Toolkit DataGrid that has been created in XAML how do I add columns in C# programmatically...

WPF Toolkit Datagrid - how do you turn selection off?

I have a datagrid in WPF that I am binding to an object. I have a DataGridCheckBoxColumn on there which I want the users to be able to go through and tick the ones they want. Problem is they have to click twice, once for selection then again to check/uncheck. How on earth do you turn this off, I've been searching for way to long to fin...

grouping with order?

In WPF, I can group, but the default is group with ascending. One of my need to to be able to control the sorting of the group (Ascending or descending). For example: group 1 item 1.1 item 1.2 item 1.3 group 2 item 2.1 item 2.2 and also be able to switch to: group 2 item 2.1 item 2.2 group 1 item 1.1 item 1.2 item...

C# WPF toolkit: How can I make a cell from a datagrid be editable?

Take note of the code for this small WPF C# program made with Microsoft Visual Studio 2008: .xaml <Window x:Class="WpfDatagridTest.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:WpfToolkit="http://schemas.microsoft.com/wpf/2008/toolkit"...

C# WPF datagrid: ItemsSource

I want to know how you can modify properties of columns of a WPF toolkit datagrid once the ItemsSource has been set (it is set in XAML)? For example I want to make a specific column have the property IsReadOnly equal to true. So basically there are two things I want to know: -How can I get access to a specific column once the ItemsS...

C# WPF datagrid: Column count always equal to 0

I have created a WPF tooklit datagrid in C# and the ItemsSource is set in the XAML. The columns are automatically generated. I am trying to do a datagrid that uses an ObservableCollection, pretty much like what is on this website. At the bottom you will find a sample that you can download (here is the link) My problem is that I'm try...