Master-detail GridView, Does anyone have one sample?
Hi, my goal is just connect two Sql tables in my couple of Gridview.I'm using third-vendor stuff but concepts here will be welcomed anyway for any kind of control.So, does anyone have any Master-detail...
View ArticleBatch printing of Visuals to Xps leads to OutOfMemoryException
Hi,I am printing to xps in this way:PrintQueue queue = printQueueObject as PrintQueue; if (queue != null) { queue.Refresh(); collator =...
View Articlehow to navigate from one WPF form to another?????
hi,i created a project in c# and added the wpf windows in the expression blend 4. After adding these windows what all that i can see in the solution explorer are the Window_name.xaml files. now i have...
View ArticleFiltering through multiple ListView WPF
I am creating an application that consists of multiple patterns and frameworks which include, MVVM, Singleton pattern and entity framework within one WPF application. My application consists of two...
View ArticleGlow effect on Tab Item
I am working on custon tabs in wpf. So far I am able to do<Grid Background="#2B3C59"><TabControl Margin="10" BorderThickness="0, 3, 0, 0" BorderBrush="#FFE8A6"...
View ArticleTextTrimming not working on WPF TextBlock
Hi,TextTrimming is not working as expected and I am not getting ... following my text. Please note, I don't want to give fix width of TextBLock<ColumnDefinition x:Uid="ColumnDefinition_2"...
View ArticleHow to bind two DataGrid DataGridBoundColumn to the same source
In Visual Studio 2010 / .NET Framework 4.0 I would like to bind two DataGridBoundColumn in a single DataGrid to the same data source (DataSet).The frist column should be used for editing the value, the...
View ArticlePopup Child window content not rendering
I need to display some message to user untill it is refreshes content from database. i decided to open one modalwindow which will display Refreshing... message to user.i am putting following code in a...
View ArticleClipboard No data with FileDrop from Local -> Remote
I havewritten a programthatretrievesdatafrom the clipboard. But I have a problem when I copy a (or multiple) Image-file(s) on my local system and use my application to catch the data from the clipboard...
View ArticleDataGrid's ItemsSource as DataTable causes memory leaks?
Hello:please review the project at https://github.com/jiripik/WpfDataTableMemoryLeaks and check out the memory before the DataTable's ItemsSource was assigned to a DataTable and after it was reset to...
View ArticleCombobox in datagrid question - displaying a property of the combo in a textbox
I'd like to put a property of a combobox in a textbox on a datagrid.Combo in a datagrid defined like so: Xaml:<DataGridTemplateColumn x:Name="cboPartBCPT" Header="CPT Code" Width="100"...
View ArticleQuestion about sorting Detail table
Someone posted almost the exact same question here. I attempted to use that answer in my situation but am not sure how to form the syntax. I'm using WPF and EF.I, too, have a master/detail situation...
View Articlethe calling thread must be sta because many ui components require
I want to show the animated progressbar while saving view the above code is the one I'm experimenting on but it gives me an error saying:" The calling thread must be STA, because many UI components...
View ArticleXML serialization List problem
Hey there,I want to save custom classes to file, so I need to pass a serialization. Those classes are mostly of Canvas, Line stuff, so I need an XML Serialization.I have a custom class:class Kanvas {...
View ArticleVector class explanation
Hey all, I need an explanation of Vectors in WPF. I just don't understand how is a vector defined here. In math, vectors have a direction (can be determined by angle) and value. In picture, here it...
View Articleprint chart to xps
hello,i created a chart in a fixeddocument. i used clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkiti have a problem when i...
View ArticleRichTextBox serialization added "{}" when the first char in paragraph is "{"
namespace TestRichTextBox{ /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { public MainWindow()...
View ArticleCrystal Report failed after creating Setup of My Window Project
I have created a Windows Project Setup .It runs properly.But When I want to open Crystal Reports."Report Load Failed" Error is coming
View ArticleSurfaceKeyboard doesn't open in Win7
Hey there,i'm trying to integrate the SurfaceKeyboard into an existing program but this causes some problems.. When I try to open the Keyboard with setting the IsVisible property to 'True' nothing...
View ArticleIf i call Task.Dispose will the Task be canceled too???
Hey,is it it enought to call Dispose on a Task to cancel it?? Or maybe the Task will finish before eleminated??
View Article