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

Storyboard loading from extrnal file

I've external xaml file witch scene,cameras and storyboard everything is warped witch <Viewport3D>....</Viewport3D>.I'm loading my model.xaml file with try { StreamReader mysr = new...

View Article


ClickOnce is crashing after deployment

Hi all,I'm having a very weird issue today with ClickOnce. After publishing, the application no longer starts from the Start Menu. The same is happening on my workmate's computer. If I search for the...

View Article


Debugging "System.InvalidOperationException: The sum of AccelerationRatio and...

Hi all,I'm seeing crash reports from a small percentage of my users with this exception on startup:System.Windows.Markup.XamlParseException: Set property 'System.Windows.FrameworkElement.Style' threw...

View Article

Decorate editable text in a TextBox control

My planned application is about entering short texts for a series of keys. The texts can contain certain markup the references to other texts or data. It can also contain invisible characters such as...

View Article

How to handle tab navigation when a disabled control get focused.

Hi,In a panel containing a DataGrid and some Buttons, I have problems getting tab navigation to work correct.When focus leaves the DataGrid in a tabbing sequence, the next control in the tab order is a...

View Article


Binding Visible/Collapsed to ContentPresenters within a TabControl.

Hello,I've been struggling with this WPF issue for a few days, and I'm pretty much at the end of my rope. I'm a WPF newbie...- I have two DataTemplates declared as Window.Resources.- I have a...

View Article

.NET 4.5 CRITICAL -- SelectedItem not setting Binding item.

I'll hope this is a known issue, but...I was looking to upgrade from Visual Studio 2010 to 2012, and began testing it out.  Immediately, something went wrong with combo boxes.  ItDOES NOT UPDATE the...

View Article

Using mouse events to drag control

I have a set of items on a canvas that I want to be able to drag around using the mouse.  I have it working with events with one exception.  The events that I am using are MouseMove,...

View Article


How do I apply a trigger to the content of a group header?

I have an simple app I'm using to test things out in, before incorporating what I've learned from there into a larger app. Initially I had a single listbox with a ItemTemplate, and within that I...

View Article


Make ViewModels activation aware in Prism/Composite application

I'm using Unity and Prism EventAggregator in my MVVMC application I have a process which contains multiple steps, basically a wizard. My controller resolves my outer View (call it WizardView) and adds...

View Article

How to send a Window object from an STA thread back to the UI Thread????

Hello,I am creating a WPF Window splash window to display progress for an application startup.  The window calls a Thread class which is set to an STA thread so that the thread can instantiate the main...

View Article

how to focus control to AutoCompleteBox

How to focus the keyboard control to AutoCompleteBox auto_name i used auto_name.focus(),this is not working. any other methods available for that..??

View Article

Wpf remove Constraint from datatable

I have datatable created from MS Access database using DataAdapter. for ex: adapter.Fill(result); Issue is, MS Access datatable has Primary key. But i dont want to have that primary key Constraint to...

View Article


WPF control binding to an observable collection - give me my Prozak

God must have been off work when the binding system came to be. How can it be so very hard to get it to work? In pure frustration i googled "f**k wpf binding" and got well over a million hits.All I...

View Article

combobox - get mouse events to template items

I have a combobox with an itemtemplate. I want to show tooltips for individual elements in the itemtemplate. I want to show them for the selecteditem while the combobox dropdown is not shown. I think...

View Article


"System.Windows" causing Memory Leaks in WPF Application

Hi,We are having custom message box control which is derived from Window. We have observed that after closing the dialog also the particular view is still in memory.We have couple of Views where we...

View Article

How to avoid Out of Memory exception in WPF application?

Hi,We have very complex WPF application. Where user can open 20 tabs at a time with thousand of rows. Each tab contains three grid and all can be contains thousands of rows. We have observed that if...

View Article


Image may be NSFW.
Clik here to view.

Embedded fonts in styles at runtime

This is kind of a re-post, and I apologize for that, but in doing a repro, I realized I hadn't described the problem accurately, and I only got one (well-meant, but irrelevant) response to my original....

View Article

create templates in a customcontrol, which are accessbile from xaml

hey,i temporaly create a CustomControl in which i Need to create Templates like CellTemplates or HeaderTemplates, which i wanna be create accessbile from Xaml, i f a user implement the...

View Article

Is there a WPF equivalent for WindowsFormsApplicationBase?

Is there any class in WPF that would allow me to handle a splashscreen with text changing, as well as the argument acceptation, even in the case of a second launch that result in the same single...

View Article
Browsing all 18858 articles
Browse latest View live


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