Convert DataGrid To DataTable
Hello to everyone :):) I have a little problem..........I am writting in WPF C# and I need to convert DataGrid to DataTable.I have really spend A LOT of time on it and came up with nothing!!!!!!From...
View ArticleC#: How do you keep... Form Window Aspect Ratio When Resizing Form?
Hi,I have searched and read top related threads on this and most are from 2009 and 2008. I can't seem to find a solution to keep the aspect ratio of all form controls when the form window is resized...
View Articlewpf canvas drawing kinect depth data
Hello im porting an app i made using kinect + openframeworks to c#,so i took the kinect Shape Game wich comes with the developer toolkit ,the app basically takes a line of pixels from the depthData and...
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 ArticleStylus AirMove event sluggish.
Hi~ I am currently developing a WPF application on a tablet PC (Windows 8.1) with digitizer screen. I noticed that the AirMove events can be a little big sluggish sometimes. In effect, you can...
View Articlehow to hide border of chart area?
I need to hide these borders of chart area, is there any way?It would be helpful in code behind. Thanks.
View ArticleListView GridViewColumn cell image is not dispplaying
In my listView, I'm loading images and it's name; it works. Then I decided to add a GridViewColumn to make it more proper & let the user to delete(delete from Listbox & from source) &...
View ArticleHow to assign one style in runtime?
Hi ya there,This thread is PreviousThread related to.That's my general styles file: <Style x:Key="EnglishDatePicker" TargetType="{x:Type DatePicker}"> <Setter Property="Text"...
View ArticleWPF Cook Book 2012
Hi there.In the book, "Windows Presentation Foundation 4.5 Cookbook 2012", the very first exercise produces a window that changes colour when the cursor hover on it, I was wondering how this came to...
View ArticleContent Button does not fit at all!
hi,XAML: <Button Content="+" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Grid.Column="3" FontWeight="Light"...
View ArticleXml Parser Exception
Hi: Can anyone suggest a solution? Everything else works and this code should work but I am having another parser problem with the following XML code:public static XElement DrawingTextXml(string...
View ArticleTextbox currency format.
I have TextBox witch accepting user input as price.i want when user put price it should be display this format 10000.00XAML:<TextBox Height="23" HorizontalAlignment="Left" Margin="109,284,0,0"...
View ArticleWFP Search - private void SearchTextBox_TextChanged
Hello! Hope you can help me. I have a code that works, but only when I use a button for ONE spesific searchword. I need to go into the code to change it every time. This is why I need a search box...I...
View ArticleWhy RichTextBox Cursor jumps when using TextPointer.GetOffsetToPosition and...
Hi, In a WPF test app, I tried to uppercase all text in the RichTextBox in its TextChanged event handler, using the code below. In the TextChanged event handler, I first save the cursor position, and...
View Articlebend Texture Fill, Please help!
Hi there is am looking to apply a texture fill based on a path geometry.i can do this with straight shapes, but i am looking to take the bitmap texture and bend it round the shape of an arc.Can not see...
View ArticleHow to convert winforms treeview,TreeNodeCollection,treenode controls to...
Hi All,I am using Telerik controls for treeview.How can i convert winforms controls(treeview,TreeNodeCollection,treenode) in my WPF Application,here i am using telerik treeview controles.EX: private...
View ArticleLocalization of resource strings into satellite assemblies fails
Hi, I'm struggling to get our application show the localized strings from a satellite assembly. In short what I did: -we have a WPF desktop application which consists out of a large number of dlls....
View ArticleWhy does the design time get confused with doubly derived UserControls? It...
I have a WPF application that makes use of the MVC pattern with generics. The three legs of the MVC pattern are implemented in common base classes. This MVC pattern proved to be so useful that I moved...
View ArticleWPF FormattedText randomly disappears in high resolution images
I have the requirement to create 600 DPI "trifold" images, which have the dimensions of 25.5"x11" (three times the size of a Letter page). To do so, I’m using WPF Imaging through the DrawingVisual,...
View ArticleWPF Connection String Help Needed
OK, so here is the deal. My applications login screen is giving me an issue at run time. I have been stuck for about a week now hopefully someone can help me out.When I run the application in the...
View Article