wpftoolkit

I need the Expand / Collapse for RowDetailsTemplate

I have wpfTolkit datagrid. He has DataGrid.RowDetailsTemplate I need to do the button when clicked it will Expand / Collapse. How to do this I could not find the event you want <Custom:DataGrid RowDetailsVisibilityMode="VisibleWhenSelected" SelectionMode="Extended" CanUserAddRows="False" CanUserDeleteRows="False" CanUserResizeRows="Fal...

WPF and Sliverlight toolkit vs .Net 4

I could not get answer to this question anywhere, then thought maybe educated community here can shed some light. Somewhere it was mentioned that WPF and Silverlight toolkit would be implemented as part of .Net4. So we can use their features directly from .Net4, without installing these toolkits. Is it true? Thanks. ...

WPF - Binding StringFormatting Not Working

Hi, I need to append a simple string to my commandparameter but doesnt work. Does StringFormat support this or am I doing anything wrong ? <DataTemplate x:Key="ClickableHeaderTemplate"> <Button x:Name="btn" Content="{Binding}" Background="Transparent" Command="{Binding DrilldownHeaderClicked}" ...

Not Binding WpfToolKit:dataPicker through Converter

ConvertDateTime - return good string "01.10.2010" but datapicker not binding. if we replace datapicker on textbox - all works well help me, code: add: xmlns:loc="clr-namespace:StoreBags" add: <loc:ConvertDateTime x:Key="conkey"/> xaml add: <my:DataGridTemplateColumn Header="Дата" Width="100"> <my:DataGridTemplateColu...

Text highlighting inside a WPF toolkit DataGrid

I wanted to know if it is possible to highlight text inside a WPF toolkit datagrid. My aim is to mimic the ctrl+f find functionality of internet explorer inside a DataGrid. With each click of find, the next instance of the searched keyword should be highlighted. This is the best I have seen on the net. http://blogs.microsoft.co.il/blogs...

How set color for cell (DataGrid WPFtoolKIt)?

i need this set RED color. how to do it? DataTable dtSet = new DataTable(); string sql = @"requevst"; using (MySqlConnection connection = ConnectToDataBase.GetConnection()) { ... int count = adapter.Fill(dtSet); } double totalPrice = 0; foreach (DataRow row in dtSet.Rows) { to...

WPF toolkit charting question

I am trying to make a simple line graph using WPF toolkit and I am running into problems that I can't seem to resolve. The relevant part of my XAML code is: <DockPanel Grid.Column="1" Grid.Row="2"> <charting:Chart Name="orignialDataGraph" VerticalAlignment="Top" Height="474" Title="Original Signal"> <charting:Ch...

WPF DataGrid AutoGenerated columns, change header name

I recall in Silverlight the ability to place an Attribute on a given property in the Model for an alternate display name when auto generating columns on a data grid. Is this possible in WPF? I don't want to use the event handler to change the names. ...

Programmatically create a ColumnSeries WPF Toolkit Charts

Hello, I am trying to programmatically add a column series to a wpf toolkit chart. My xaml is an empty chart. The code results in an unhandled exception, Object reference not set to an instance of an object. Any clues to why this does not work? <charting:Chart Name="MyChart"> my code behind is List<KeyValuePair<int,int>> testList = n...

DataGrid's CellEditingTemplate and focus in edit mode

I am having an issue with WPFToolkit DataGrid when a column is customized supplying both CellTemplate and CellEditingTemplate. If you take a look below, you will see my editing template has a single CheckBox. All is fine in a functional sense but when F2 is hit to edit the cell, one must also hit TAB in order for the CheckBox to receive ...

WPF TabControl rebinding everytime

Hi, I am data templating a tab control. Each time I select a tab, the binding of the contents get applied. So for eg, if I have a tree view expanded in tab1 and going to tab2 and coming back has this collapsed. The property binded to ItemsSource is invoked each time I flip the tabs. learned its all because the visual tree gets recreate...

WPF DataGrid not appear in Toolbox?

I am working with Visual studio 2008. I want to work on WPF DataGrid control. I downloaded WPF toolkit and install it, and then added toolkit reference in my project, but it does not recognize Datagrid control, and does not show it in Toolbox, I even try to add it in toolbox through choose Item.. but when I click WPFToolkit.dll, it giv...

WPF DataGrid columns alternating coloring

How can I make columns coloring in DataGrid if I also want use AlternatingRowBackground property? I have some ideas, but it doesn't work :(. <de:DataGrid Name="dataGrid1" AlternationCount="2" AlternatingRowBackground="Salmon" > <de...

WPF Toolkit DataGrid column resize event

I am using WPF Toolkit Datagrid in one of the applications I am working on. What I want is to store the column width and displayindex as a user preference. I have achived it for column displayindex but for resize I could not find any event on the datagrid which will trigger after column size change. I have tried the "SizeChanged" event ...

WPF toolkit Accordion control appears to not use UI Virtualizing. Is there a way to get it to use UI Virtualizing?

I am using the WPFToolkit Accordion control with the items in the accordion defined to be a TreeView. For context, here is the relevant part of the XAML: <ScrollViewer VerticalScrollBarVisibility="Auto" CanContentScroll="True"> <layoutToolkit:Accordion DockPanel.Dock="Bottom" HorizontalAlignment="Stretch" ...