Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Browsing all 18858 articles
Browse latest View live

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 Article


C#: 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 Article


wpf 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 Article

DataGrid'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 Article

Stylus 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 Article


Image may be NSFW.
Clik here to view.

how 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 Article

Image may be NSFW.
Clik here to view.

ListView 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 Article

How 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 Article


WPF 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 Article


Image may be NSFW.
Clik here to view.

Content Button does not fit at all!

hi,XAML:    <Button Content="+"                             HorizontalContentAlignment="Center"                            VerticalContentAlignment="Center" Grid.Column="3" FontWeight="Light"...

View Article

Image may be NSFW.
Clik here to view.

Xml 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 Article

Textbox 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 Article

WFP 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 Article


Why 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 Article

Image may be NSFW.
Clik here to view.

bend 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 Article


How 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 Article

Localization 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 Article


Why 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 Article

WPF 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 Article

WPF 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
Browsing all 18858 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>