I configure the DataGrid
<DataGrid SelectionMode="Single"
SelectionUnit="FullRow"
CanUserAddRows="False"
CanUserDeleteRows="False"
CanUserResizeRows="False"
IsReadOnly="True"
>
When it's shown, full row does get highlighted and has a cell with selection border. User can press...
I am trying to use charts from the WPF Toolkit (with LineSeries) and I don't want a legend at all. I need this since I have 10 such charts each with data from a different source and I would like to draw one legend for all 10, to save screen real estate.
By default the legend appears the moment you add a second LineSeries. Is there any...
I am using the Chart control of WPF Toolkit February 2010 release. The chart takes up lots of space relative to the plot area.
How do I control the margin around the plot area and title of the chart. This way, I can arrange the 10 charts I need in a grid without having to use so much space on the screen.
Thanks,
sprite.
...
Hi guys:
I have this View:
<Grid Margin="10,0,10,10">
<StackPanel>
<wpftoolkit:Accordion
Margin="4"
HorizontalAlignment="Stretch"
Name="accordionCB"
ItemsSource="{Binding Path=ContentBlockCategories}"
SelectionMode="ZeroOrMore">
<wpftoolkit:Accordion.ItemTemplate>
<DataTemplate>
...
Hi,
I want to set the border for a DataGrid Row which is currently having the focus. But not the seleced row because when the Multi selection is enabled for the datagrid then there is a chance that multiple rows can be selected.
I need a solution in XAML
Thanks in advance!
...
I want to do the following with the WPF toolkit charts:
I have two line series that should use the same y axis (i.e I want them both to be on the same scale). I could give each of them the same axis definition so they would overlap (and then have one of them with collapsed visibility), but that is not my best choice.
This is the solut...
I was wondering if anyone had an easy way to get the text in a WPF data grid to be center aligned. I got the data grid to work just fine, but the right text alignment bothered me. I goggled some, and downloaded the wpftoolkit, but the examples either do not work, or give me a compile error. I did add the reference to the wpftoolkit to my...
I am trying to create a WPF Chart in c# code and saving it to file without displaying it on screen. This will be in a WCF Service where data is sent to the service, an image is created and and path to the image is returned.
So far I have got the image to save to file and the data on the X & Y axis is displayed but the columns on the gra...
When a new Chart is created and a Series (ColumnSeries for example) is added along with data the columns are rendered as a type of FadeIn animation and appear a split second after the Chart is drawn on screen.
Is there anyway to stop this animation happening? Alternatively, is there anyway of forcing the chart to complete the animations...
Hi,
How could I make the Datagrid display the headers in case there's no row to display?
My Datagrid is "completely" read-only with:
"AutoGenerateColumns ="True"
"CanUserAddRows="False"
"CanUserDeleteRows="False"
"CanUserResizeRows="False"
"IsReadOnly"="True"
If there's no row, then the headers aren't displayed, if I add even an empt...
Hi,
When I translated the Tester.WPF.resources.dll, I get an error. It's like the baml file have modified VisualStateGroup to an collection. I don't understand. The poject starts up without any problem in the default language, but if I change the culture, it crashes. I Rebuild it, still that error, even when a start from scratch. With th...
Any advice how to fault find to work out why the Grid.Resources styles in this XAML is not making any difference it seems to the end result?
Note I'm using Charting from the WPFToolkit so to adjust how a chart looks it seems one has to apply the style areas (suggested by someone on the forum).
So my question is generically, noting...
Hi,
I can't quite see how to remove the markers in a WPFToolkit graph. I can see they are the ellipses in the XAML below, but I can't seem to successfully change any of the parameters to get the size of them to change, OR to remove them. Any ideas?
Here is the XAML (which stills need the WPFToolkit) I've been using as a test.
<Windo...
I hope to find an answer on customizing Datagrid from WPF toolkit 2010. I'd like to add a TITLE area to be above DataGridColumnHeaderPresenter of the datagrid. The problem is that I want it to be as a user control or data template where I can populate the title from XML. I want to have unique titles for multiple datagrids on one page get...
Hi Experts,
I have a custom datepicker with me and i am trying to set focus to this using attached property. I have the toolkit version 3.5.50211.1 which was released on Feb 2010. The focus is working fine when i do DatePicker.Focus(); in my code. My custom datepicker code is as follows:
-- My DatePicker
using System.Collections.Gene...
I am trying to create a DataGrid by datatemplates. The reason is I want the columns to be dynamically created but all in xaml and not in code behind. I get a List
based on which I want to create my grid columns in xaml.
class GridColumnElement
{
public string HeaderCaption { get; set; }
public string PropertyName { ...
I've got a WPF toolkit datagrid with virtualization turned on. Each row has a check box bound to a bool in the underlying model.
The check boxes (in addition to the data binding) also have Checked and Unchecked handlers (!) to allow checking multiple items at once if you've click one with multiple lines selected.
Here's the xaml:
<Con...
I'm using the WPF Toolkit's DatePicker to select a date. We would like to set DateTime that we get after selecting a date to be at the end of the selected date. Since we are converting the to UTC time we need to be able to specify the user's time zone. Since the tool is running on our machine's we cannot use the current machine's loca...
Hello,
I try to create a DetailRow in a WPF Toolkit DataGrid. In this DetailRow I would like to show a ColumnChart. For the DataBinding, I created a ObservableCollection with the
following members:
int counter;
string text;
double dvalue1;
double dvalue2;
double dvalue3;
string imagePath;
bool loadImage;
ObservableCollection<Chart3Deta...
I need to change the string format of the DatePickerTextBox in the WPF Toolkit DatePicker, to use hyphens instead of slashes for the seperators.
Is there a way to override this default culture or the display string format?
01-01-2010
...