FAQ Database Discussion Community


WPF: after add WPF Toolkit DLL

wpf,charts,wpftoolkit
After add rrr DLL i am looking at this tutorial. Do i need to add some reference in my XAML in order to find chartingToolkit:Chart ?

How to get foreground and background colors of textbox for further usage in Color Picker?

c#,wpf,wpftoolkit
Foreground and Background properties are of Brush type. How to get Color for further usage in Color Picker? I pass Foreground and Background to c-tor of a properties window like this: private void Menu_Properties_OnClick(object sender, RoutedEventArgs e) { PropertiesDialog propDialog = new PropertiesDialog(TbTimer.Foreground, TimerPanel.Background); if (propDialog.ShowDialog() == true) { //set...

Add two lists as x and y coordinates in WPF Toolkit graph

c#,wpf,graph,wpftoolkit
I have two lists: Temperature = new List<string>(reader.GetTemperature()); Time = new List<string>(reader.GetTime()); The Time list is the x-coordinates and the Temperature list is the y-coordinates. I have tried the following without any luck: private void LoadDataChart() { List<KeyValuePair<string, string>> data = new List<KeyValuePair<string, string>>(); foreach (string s in Temperature) {...

Changing the Toolbox style in Windows re-hosted workflow designer

c#,wpf,workflow-foundation-4,wpftoolkit,avalondock
Using AvalonDock I created the ToolBoxControl and now I am planning to disable certain top level activities (want it visible just greyed out). I wanted to know the ways I can do it. The image below, the activities circled in red, I want either to grey them out or change...

Wpf Extended toolkit BusyIndicator not showing during operation

c#,wpf,wpftoolkit
I have a fairly long operation that occurs in a background worker. I have the busy indicator set to true before the operation and false when the operation ends, but the indicator never shows. It shows in other parts of my program, but not this one. heres the code: <xctk:BusyIndicator...

Dynamically create charts with wpf toolkit

c#,wpf,charts,wpftoolkit
I want to dynamically create a chart woth wpf toolkit without using xmal for binding dependant and independant values; this code is not working Chart myChart = new Chart(); BarSeries colser = new BarSeries(); myChart.Width = 250; myChart.Height = 250; myChart.Title = "chart"; List<KeyValuePair<string, int>> valueList = new List<KeyValuePair<string, int>>();...