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

PresentationCFFRasterizer could not be load (Upgrade from .Net 3.5 to 4.5 )

Severity Code Description Project File Line Suppression State Error Could not load file or assembly 'PresentationCFFRasterizer, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one...

View Article


Using System Colors for themes

Currently, i have created Resource files for Blue, Black, Gray Themes and respective brush resource files for each theme.These themes can be selected using combobox. I am trying to explore using the...

View Article


Compare the 2 passwords, MVVM Entity Framework.

Hey Andy, how can I cause a validation error if the re-entered password doesn't match the first password? Within my User Model in my database I don't have a property for the re-entered password, so I...

View Article

[WPF] How to trigger Storyboard of UserControl from MainWindow.xaml in Blend...

Tree:MainWindow.xaml:UserControl1ButtonUserControl1.xaml:Storyboard1Question: How to trigger Storyboard of UserControl1 by Click event on Button in MainWindow.xaml?Notes:Unable to find Storyboard1 in...

View Article

IDataErrorInfo

Hi to all, I found the following little neat sample and am trying to figure out how it works.  In particular, I'm having problems with understanding these few lines:<Border Background="Red"...

View Article


MenuItem.Icon won't stretch in Windows 8 as it did in previous OS versions

I have an application that sets MenuItem.Icon as follows:<MenuItem.Icon>                    <Image Source="/WpfApplication3;component/Images/doc_import%20.png" Width="31" Height="31"...

View Article

VirtualizingStackPanel change in behavior in .NET 4.6.1

We have an application which could potentially load millions of rows into a ListView.  Or at least, it gives that perception to the user.  In reality, most of the data is not loaded and only gets...

View Article

NullReferenceException in HwndHost.BuildWindow() since .NET 4.6

We're getting the following NullReferenceException when running our application with .NET 4.6 or 4.6.1 installed (works fine in 4.0) when a certain action is performed: Stack:    bei...

View Article


WPF Entity Framework Relationship Errors!

Hello, I have created my database within SQL Server Managment and added Relationships to Tables, for example:- Images (Table) UserID (The ID for the User who uploaded the Image)So the UserID Column is...

View Article


Clip BitmapSource using geometry and saving to the disk (Without using an...

Hi, I have a geometry and I want to clip a BitmapSource without using an Image control to achieve that.The clipped pixels should be transparent so I can merge with another image.How can I proceed?

View Article

C# WPF InkCanvas - Cursor jump

I'm writing drawing application using C# WPF InkCanvas. Problem is, When I set UseCustomCursor = "True", and Cursor = "Hand", the cursor on InkCanvas jumps to the first point of a stroke. Not all times...

View Article

WPF state animation call to code...

i have a problem ... how can i call the animation in state in WPF to code...

View Article

ClockController.Seek(TimeSpan offset, TimeSeekOrigin origin) not working at...

I am trying to control MediaElementusing MediaTimeLine. For this I am using MediaTimeLine's MediaClock'sController.This won't workcontroller.Seek(TimeSpan.FromMilliseconds(5000),...

View Article


Seeking feedback/beta testers for a xaml to html translation project.

Hi. I've built a service  that can translate xaml to html + css, and am currently struggling to get some feedback from xaml-developers. If you're interested in testing it, you're welcome to contact me...

View Article

Image may be NSFW.
Clik here to view.

WPF VisualBrush Canvas as Mask not positioned correctly

I have got an issue with using a Canvas as a OpacityMask. As you can see in the image below. I have got some Rectangles which should have a blurred background, however the blur is offset to the...

View Article


Matrix transformation or RenderTransform are wrong.

Dear Sir:Background:I have attached (SimpleWatch2.svg) working example. There is no issue with that file. Just double click the clock will show in your browser. I can write this application in...

View Article

XBAP appcrash PresentationHost.exe with Fault Module Name: clr.dll...

Hi, I have an xbap app and when I try to run the deployed version on my laptop it crashes every time. I am able to run this xbap from other systems without issue, so I know that the application is...

View Article


TreeView bound to object graph

I want to render an object graph using a TreeView and databinding as specified below.Assume the rendered and expanded output should like like:Mother (Betty)   Sons      Son (Son1)         GrandSons...

View Article

Why aren't we getting the same instance of the CustomerViewModel?

We're using MVVM Light. We have to make multiple instances of the same small collection of classes: CustomerViewModel, ProductViewModel and OrdersViewModel. In an effort to make sure that we're...

View Article

Binding Prism InteractionRequest

I created a custom confirmation window in an app with Prism Unity, WPF & Mvvm. I need help with the InteractionRequest notifications that need to be sent back to MyDetailViewModel. I have this in...

View Article
Browsing all 18858 articles
Browse latest View live


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