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

WPF Browser Application Splash Screen

Hi,Any sample how to implement splash screen in WPF Browser application until main page controls appear on the page?

View Article


visual state dynamicresource storyboard memory leak on...

Recently, I found that using dynamicresource of storyboard for visualstate's storyboard will cause memory leak. To find the details I used both ANTS Memory Profiler and Telerik JustTrace. The problem...

View Article


How to detect filter completed of CollectionView

Hi,By setting predicate<object> filter to collectionview, we can get the filtered updated collection of a itemsource. But how to detect filter completed event after setting the filter of a...

View Article

How to show a usercontrol as a dialog window in a mainwindow load event in MVVM.

Hi,I have a usercontrol and a Main window. I want to show the usercontrol as a dialog window when the mainwindow loads. How can I achieve this in MVVM.Thanks

View Article

how to use an object in other page wpf

How can I use an object from a WPF page to an other WPF page?ProductBactlog Page public partial class ProductBacklog : Page { ProductLogCollection productLogCollection = new ProductLogCollection();...

View Article


Working with Controls in MVVM

From the tutorials I've read on MVVM, I have learned that I can use a Command as a replacement for the click event that is commonly used with code-behind and also used with WinForms. In my application,...

View Article

How to make an event with value in xaml.cs?

I have some RadioButton with Events, I make in the Code behind xaml.cs file. It works find, but I wish to add som value with the RadioButton Click Event. How can I do that?Code that works foreach...

View Article

WPF MiniGame Project - using two key events in the same time

I have a mini game project to do in WPF c#. The game is about shooting and most of the game is almost done. The problem is that I'm using KeyDown event for move up and down, and need also to fire with...

View Article


How to open a WPF page in a Grid?

How can I open a page into a Grid? I can open the WPF page in a new window, but I need to open it in the a Grid. Hvow do I do that?Code works for open a page in a new window NavigationWindow...

View Article


winfrom MDI 的窗口 在WPF里是如何开发

请问下WPF开发的一个思路问题,我想做一个窗口,窗口上有一个菜单,点击菜单,下边加载不一样的内容。在WINFORM里常用MDI窗口加载子窗口。到了WPF后,我们应该怎么去开发这样的一个效果?初學WPF,很多不懂的,謝謝指教。

View Article

How to use grids "inside" of a button

Hi, I am trying to create a virtual keyboard so I want to create a button where I want certain characters to appear at specific locations.  For example, for the "1" key, I want the character "1" to be...

View Article

performance issue with wpf toolkit datagrid and uiautomation

Hi,I am running into the issue described in the following blog:http://blogs.msdn.com/b/jgoldb/archive/2009/12/18/wpf-performance-on-tablet-touch-enabled-machines.aspxI am using the WPF Toolkit DataGrid...

View Article

DocumentViewer - Screen flashes on update

Hi,The title says it all really. I'm generating a Fixed Document a displaying it in the Document Viewer. On changing the document the screen flashes / the document page jumps. Is there anything I can...

View Article


system.windows.controls.frame suppress javascript error

How to suppress javascript error when loading a webpage given to the source property of the system.windows.controls.frame in wpf.

View Article

WPF event handling?

Does anyone have an idea where to find some kind of overview about how the events in WPF work. I'm not asking "how to", but rather "what the...". ;-)I don't even know if the events are WPF-events,...

View Article


Why it is slow to load a Addin UI in WPF+MAF

why it is slow to create a new WPF Control in this example?Is there any way to speed it up?The related code is under that page. From Line 1 to Line 3 takes about 1-2 second.1. this.wpfAddInHostView =...

View Article

Mediaclock Issues with updation of Current Time.

I am using a Mediaplayer in CLOCK mode to play an audio file. The current time of the mediaclock is updated fine with a single mode audio file. If I run a multi-mode audio file which varies between 3/2...

View Article


XBAP Project how to change the default certification expiration date

hi,  how to change the default certification expiration date ,the default dat is one year ,but now i want to change it to more...

View Article

Is WPF adapted for a gui editor based on pixel based location

Hi,I have started to build a gui editor to display a custom toolkit with a xml description and that uses very basic positioning. I mean that controls are specified using x,y, width and height...

View Article

output to the SelectedDate property of a databound datepicker wpf

I had the datepicker to have its selected date property bound to the dataset as shown in the XAML below:<DatePicker x:Name="date_picker" Margin="0,0,0.2,0" SelectedDate="{Binding Date, Mode=TwoWay,...

View Article
Browsing all 18858 articles
Browse latest View live


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