wpftoolkit

Column aligment in WPF datagrid

Hi all, I'm using WPF datagrid which is bundled in WPF toolkit... the problem is I'm not able to align some column data to center Please help me guys ...

WPFtoolkit and its DatagridColumnHeader

Hello guys! I need to have different context menus in my datagrid - one for its header and one for rows of a grid. So I'm handling MouseClick event and than I need to evaluate if the underlying object for mouse cursor is Datagrid's header. Can you explain me how can I make this? The thing that I can't understand is that neither of DataGr...

Underlining the WPF datagrid headers

Hi all, I have very silly question to ask you.. :P how can I underline the DataGrid headers ?? ...

The Columns property on my WPF Toolkit DataGrid isn't set despite the DataContext being set.

I've created a DataTable using reflection to get the properties from my class and set this as the DataContext for my Microsoft.Windows.Controls.DataGrid: // Create the columns based on the data in the album info - get by reflection var ai = new AlbumInfo(); Type t = ai.GetType(); dataTable.TableName = t.Name; foreach (PropertyInfo p i...

Is there a way in the WPF Toolkit datagrid to have a header below the column headers but above the first row

Hi, I looking for a way to create an area that indicates a user is at the top row of the WPF Toolkit datagrid. (Showing the scrollbar scrolled down is not enough for the user). I need something that sticks out and says "this is the top row" basically. Messing with the entities that that the grid is bound to will not work for me becaus...

Animate row disappearance in WPFToolKit DataGrid

I have downloaded WPFToolkit, and I am using the DataGrid provided in this package. I am trying to animate a row disappearance when the row is removed, but I don't know how to do it. Does anyone know how it can be done? ...

Column Header Styling Issue in Data Grid in WPF

I have formated the Wcf Toolkit Datagrid and below in the is the ColumnHeader Style for it But, there are still some area in Column Header, which are not styled as shown in the image http://www.freeimagehosting.net/uploads/9aba4fbd93.jpg <Style x:Key="ColumnHeaderStyle" TargetType="{x:Type dg:DataGridColumnHeader}"> <Setter Pr...

WPF Toolkit Datagrid - Custom Tabbing

I have a WPF Toolkit Datagrid with 3 columns. Only the third column allows data entry - the first two are static (Text descriptions). Is it possible to control tabbing and navigation such that the tab and up-down-left-right buttons will ignore the first two columns and operate within the confines of the third? Thank you Jason ...

Nested WPF DataGrids

I have a DataGrid (from the toolkit) and I want to nest another DataGrid in the DataGrid.RowDetailsTemplate. The trick is I want to bring back the data from one table in the main grid and then based on row selection go and get additonal detail from a different table and show it in the DataGrid in the detail template. This is easy enough...

Combine data of 2 or more columns into single Datagrid field

Hi, I am trying to combine 2 fields from a data source into a single DataGridTextColumn field in WPF. dgTicketDisplay.Columns.Clear(); dgTicketDisplay.Columns.Add(new DataGridTextColumn { Header = "Name", Binding = new Binding("Pax.LastName,Pax.FirstName") }); dgTicketDisplay.Columns.Add(new DataGridTextColumn { Header...

wpf datepicker

Ok i'm trying to style the datepicker from microsoft from their wpftoolkit.dll. I have it in a grid that is disabled, unfortunately it's background color stays white(despite it being disabled) unlike the other controls that gray out. Ok I did do this: <Style TargetType="{x:Type tk:DatePicker}"> <Style.Triggers> ...

wpf toolkit data grid

hello i'm building a wpf app with data grids, the pattern is model view view model. all og my screens contains a contentcontrol, and i just assign him the view model, that have a suitable data template, anyway, my problem is with combo box column, the data context is the presented entity, and i need it to be the view model. whats the ...

Designing the WPFToolkit DatePicker control

I am trying to implement styling and templating for the WPFToolkit DatePicker control but I can't figure out how to do it. For example I would like to style the textbox and change the icon of the button. I found some information on how to design the Calendar control but no information on the DatePicker. I have tried using the Snoop appl...

Inserting a new entry to Datagrid (WPFToolkit) with Linq-Query doesn't work

I am filtering the list of entries from my DataContext with a Linq-statement. After that I assign them to the the ItemsSource-property of the DataGrid available in the WPFToolkit. The available entries are being shown, but for some reason I am not able to insert a new row into the Datagrid. Surprisingly it all works fine if do not use t...

Show selected item in a DataGrid within a ComboBox

I have a WPF toolkit DataGrid as the dropdown in a ComboBox template. <toolkit:DataGrid x:Name="InnerGrid" ItemsSource="{TemplateBinding ItemsSource}" CanUserReorderColumns="False" CanUserResizeColumns="True" CanUserSortColumns="False" CanUserResizeRows="False" A...

How to define PasswordBox type column in DataGrid?

How to make a column in WPFToolkit:DataGrid PasswordBox like? ...

WPF and VSM - List of States?

I'm using VSM (Visual State Manager, from the WPF Toolkit) in WPF and I'm trying to find a list of States. Basically, I understand that there are certain "magic" states - like the MouseOver state is automatically applied when the control is moused over, or the Focused state that is applied when ... focused. Is there a list of these so...

Replace ResourceDictionary while Storyboard is running in WPF?

I'm using multiple ResourceDictionarys to enable skinning in my WPF application. I have a button that's using WPF Toolkit's VisualStateManager to animate state changes. Great! Now, when the button is pressed, the style changes by loading a different ResourceDictionary. Now the problem comes when the button's Storyboard for transitioning...

How can I implement a commandable ColumnSeries in the WPF Toolkit's Chart Control

I need to be able to specify a command to run when the SelectionChanged event fires. I already know how to implement the ICommandSource interface; what I need to know is how I can just add a command to the column series to handle the SelectionChanged event. When I inherit from the ColumnBarBaseSeries<...> base class I have to override ...

Column with DateTime value in WPFToolkit DataGrid

I am trying to make a simple DateTime column, for setting Time values. Playing around like that: <toolkit:DataGridTextColumn Header="Start" Binding="{Binding Path=StartAt, StringFormat=0:hh:mm:ss tt}"/> it appears normal but changing the value doesn't work out. I dunno why. And is there any possibility to make some kind of "mask", wh...