Version 4.5 of the Windows Presentation Foundation.

learn more… | top users | synonyms

0
votes
0answers
28 views

Caliburn.Micro + MEF + Modern UI: IContent events

I've started a project using Caliburn.Micro and Modern UI (https://mui.codeplex.com) and am having some difficulty getting the navigation events of IContent to fire on my view model. I've already got ...
0
votes
0answers
60 views

WPF DataGrid and ITypedList

I tried to implement ITypedList in my ItemsSourcebut PropertyDescriptor.GetValue/SetValue are never invoked. What is wrong about it? XAML looks like this: <Window ...
0
votes
1answer
79 views

How to improve performance of WPF Grid control (.NET 4.0/4.5)?

Definition: Having 2D-array of string (about 10 columns, 1,600 rows, fixed length of 7-char) serving as a data source for WPF .NET 4.0 Grid control, the following code snippet has been used in order ...
0
votes
2answers
120 views

WPF 4.5 Microsoft's Ribbon: which control of RibbonApplicationMenu

I am using Microsoft's Ribbon of WPF 4.5 and developing application using VS2012 (C#) on Win 8 machine. I want to make my application show RibbonApplicationMenu like the "File"-menu of Office Word ...
0
votes
1answer
34 views

Displaying a disabled reason when selecting a disabled ListBox item

I have a ListBox that has items that should not be selectable because they are disabled. I accomplished this by binding the IsEnabled property which disabled the item. However, I need to be able to ...
0
votes
0answers
15 views

Issue with TouchDevice captured in a Viewport2dVisual3d

I have a button in the Visual property of a Viewport2dVisual3d object. say i have a touchdevice captured in that Visual and i tried to transfer that capture to a UIElement with IsManipulationEnabled ...
0
votes
1answer
51 views

Setting a treeview items text colour in realtime based on a ViewModel property

In my WPF application I am using the MVVM pattern. My view has a treeview which I bind an observableCollection of objects as defined below. What I want to do is to change the colour of a tree item ...
1
vote
1answer
54 views

How to bind to static BitmapSource?

I'd like to create my custom error/exception dialog with the standard Windows "Error icon". I followed the advice from this question and it works. However I'm currently creating an instance property ...
0
votes
1answer
43 views

ListBox Deceleration

In WPF 4.0, I used a property on the ScrollViewer to change the deceleration like this: <ListBox ScrollViewer.PanningDeceleration="0.001" /> It seems in WPF 4.5, I no longer have access to ...
1
vote
2answers
334 views

Prevent selection while scrolling listbox

I have an application that converts mouse events into touch ones so I can use inertia scrolling and other touch features. That code is in the selected answer here: WPF: Is there a possibility to ...
0
votes
1answer
1k views

Change Theme of .NET 4.5 WPF Ribbon

I am trying to change the theme of the new WPF Ribbon Control from .NET Framework 4.5 and I am stuck. I only managed to change some brushes (Background, Foreground, Border ...) but I seem to be ...
11
votes
1answer
3k views

Window style with WPF Ribbon from Microsoft doesn't match Windows 8 style

I'm using the release Version of Windows 8 and Visual Studio 2012 to create a WPF application with a Ribbon control. I choose the ribbon control that comes with WPF in .Net Framework 4.5. My code to ...