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

WPF TabControl's TabItem issue

Greetings,I have a TabControl to which I'm binding headers and TabItem using ObservableCollection<myModelClass> and each TabItem will contain a UserControl, The first tab will have all the other...

View Article


Video WebBrowser WPF

Hello i am using WindowsFormsHostto host webbrowser in my WPF application.i can read successfully Youtube video .but when i am trying to browse this page ,http://www.bbc.com/news/uk-25218989.i have...

View Article


ListBox / GridSplitter resize problem when grid columns have MinWidth

Hi,I have come across some strange behaviour when using a GridSplitter and a ListBox which contains large items (longer than the visible area) and the grid columns have a minimum width defined.The...

View Article

Datagrid Scrollbar Visibility

Hellois it possible to display the scrollbar of the datagrid only if the mouse is over the datagrid?when the mouse leave datagrid area, the scrollbar will disappear.Thanks

View Article

Unable To Navigate To Different Pages

I Have Made A New Page Named Page1.xamlI Am Using This Code NavigationService.Navigate(new Uri("/Page1.xaml", UriKind.Relative));But I Get An Error

View Article


WPF application crashes after setting label font family to a "bad" one

I have a ListView that display system fonts.  One of the fonts is Thorndale AMT.Every time I mouse over a font, I have a preview area that displays the mouse-overed font.I also have an option to select...

View Article

Handling System.ArgumentException in WindowsBase.dll

There is a known bug in a vendor's charting package where they are not freezing their brushes, and when we go to print these controls to XPS it throws an ArgumentException originating in...

View Article

Add drag-able image over image

Hi,In my window, i have an image element and let the users to edit the images. One of the feature i would like to do it, to add a re-size able & drag-able image over the existing image element...

View Article


WPF Application connect to Hardware Device

Hi ,        How to Hardware devices (Pain-drive , Graphics devices  , Web-Cam) connect to WPF Application in MVVM priject  architecture. Please send me best link for interact to hardware .    Thanks...

View Article


The calling thread must be STA, because many UI components require this

Hi   I have come across an error while running the Load test, in which i have added a unit test.  Its a WPF application. Below is the Error that i am getting    System.InvalidOperationException: The...

View Article

TiffBitmapEncoder Frames Memory Leak

 I am trying to generate multi-frame TIFF files.  My code generates an 'Insufficient memory to continue the execution of the program.' error after about 40 frames.        private void...

View Article

Does header files (as we did with C language) exist in WPF?

hi there,I'm trying to avoid put all these lines in some WPF views over and over again.I would like to put all this stuff inside a file and then just call this file.Imports...

View Article

Find Grid.Row and Grid.Column

I have a UserControl with the following pseudo XAML<Grid><TextBox x:Name="EditBox1"/>    <GroupBox><Grid><Grid>...

View Article


Using Global HotKeys In WPF C#

I have been searching High and low for a solution to control my program from anyware in windows with multiple hot Keys.Rogelio Rios

View Article

Add custom tooltips and intellisense to XAML and CS files

Hi,I added a bit of multi-language functionality to my project and everything works fine.Yet it's not very coder-friendly. What I'm trying to do now (in Visual Studio 2010 or later) is to extend or add...

View Article


ClickOnce fails to run on Citrix Access Gateway

Does it possible to had ClickOnce application deployed behind Citrix Access Gateway?We use Default.aspx with IFRAME that puts XBAP inside. We found this problem :- First XBAP request will pass Citrix...

View Article

WPF FlowDirection

Hi,I'm having a problem when changing a flow direction in  a usercontrol by code, it changes all controls flowdirection.How do i avoid some of thouse controls of changing flowdirection, maintaining...

View Article


WPF performence problems with any CPUs?

Hi!I have a small WPF Sample with 23 TextBoxes...On some CPUs comes a hanger (Leak?) if i make a refresh of the fields...here is the XAML Code:<Window x:Class="Win7Hanger.MainWindow"...

View Article

How to load and save an listbox?

Hello everyone, i'm making an sort of trackingprogram with an listbox, but i don't know how to save the listbox in my.settings or as an .TXT file. I also want to reOpen the file when i start the...

View Article

Image may be NSFW.
Clik here to view.

"Unable to cast object of type 'System.Windows.Controls.TextBlock' to type...

Hi,While assigning stackpannel childrens(Controls) in to the Control i am getting this error like "Unable to cast object of type 'System.Windows.Controls.TextBlock' to type...

View Article
Browsing all 18858 articles
Browse latest View live


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