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

'EditItem' is not allowed for this view. WPF .NET 4 / EF 4.1 - Master - Detail.

Ok, in order to try to find an answer for this question I have made an even simpler project, using the AdventureWorks database.I created a Model from the Vendor and PurchaseOrderHeader tables - added...

View Article


wpf StaticResource to c# behind code

This is my XAML Code<Window.Resources><ResourceDictionary><Style x:Key="LastRowHighlighted" BasedOn="{StaticResource {dxgt:GridRowThemeKey ResourceKey=RowStyle}}" TargetType="{x:Type...

View Article


Asynch Anyting Windows WPF Application

// The Caller public async void StartShutdown(string wmiServer, string wmiNamespace, int action, UInt32 timeout, string comment, UInt32 reason, int delayBetweenAttempts) { var shutdownProgress = new...

View Article

Quaternions and WPF rotation

Hello awesome people, long story short. I have an 9-axis IMU that output quaternions and I would like to display that rotation on a 3D cube in WPF(C#). Any good websites for that?

View Article

why does a rotation animation pause a second?

Hi All,I need to rotate a picture forever and change rotation ratio sometimes. My code is:<Image x:Name="image" Source="cpuspin-icons.ico" MaxWidth="250" MaxHeight="250"...

View Article


Does the Adorner of WPF is enough to implement great app?

Hi,Does the Adorner of WPF is enough to implement great app?I am going to implement mini photoshop and need some features similar the Expression Blend. But seems like the Adorner, Adorner Layer aren't...

View Article

display html page in Windows surface without WebElement

HI,I am working on a Surface app, and it requires the user to open a web address in IE. THe user click the web address and a separate IE window opens instead of the WebElement. I found this code:...

View Article

WPF BitmapSource DPI change

I'm not used to working with images particularly with WPF, so this is pretty new to me.  I'm reading a 1200x1800 JPG file from disk with a resolution of 180 dpi.  I need to resize it down to, say,...

View Article


Image may be NSFW.
Clik here to view.

WPF Menu Placement Issue

How would I create menu placement mode like this:I tried this but didnt give me this exact mode        #region Menu Placement        // Using a DependencyProperty for menu popup direction......

View Article


Listview rows & columns resize when windows resize

Hello,I am new to WPF and I am having trouble re-sizing my Listview columns and rows to fit the window when the window re-sizes. I am planning to have paging on the Listview so I would only show 10...

View Article

Duplication when using INotifyPropertyChanged and IDataErrorInfo

Hi all, This is related to an earlier post, but this provides much more information, so I changed that do a discussion.I have some sample code I downloaded from...

View Article

WPF application an NFC interaction

Dear all,I am in a disucssion with a customer project where there is a need to transfert photos or documents from a WPF application to a slate or phone with NFC technology.As far as I understod, the...

View Article

datetimepicker remove time

Hi All.I add to reference xceed.WPF.Toolkit and inserted to form DateTimePicker control. In my case I formatted that control for short date and TimePicker part not need. How to remove time when...

View Article


Is WPF dead or going to be

I read this article and not sure if its worth learning WPF in case its not used in future - anyone got any thoughts?http://www.theregister.co.uk/2010/09/09/microsoft_html_5/ 

View Article

Changing DatePicker Style of Blackout Dates

I'm looking for a way to Change the 'X' for BlackoutDates on DatePicker to something more pronounced, color it red (instead of the light grey it currently is),I've played with the Calendar style...

View Article


Image may be NSFW.
Clik here to view.

PropertyMetadata is already registered

Hi all of you,I've got a class with one property but it is not visible from my view and have not idea why...main problem here I got a couple of errors:"Instance coud not created BotoEspecial"And...

View Article

Image may be NSFW.
Clik here to view.

WrapPanel does not fit my images

Hi all of you,I am trying to allocate images in one Wrappanel control but when the row is finish and I hope it does begin just below the first icon.. and it goes further down..my view:<WrapPanel...

View Article


Trying to figure out why public virtual string this[string propertyName] is...

Hi all,I am trying to implement INotifyPropertyChanged, IDataErrorInfo in a class and having some minor issues.  I borrowed some code from the web and in the process of testing it (the authors source)...

View Article

How to convert PDF file into Images in wpf C#

Hi all,I wants to convert PDF file pages  into a series of  images in wpf application . Please help me.Thanks & RegardsAnupam mishra

View Article

Using a StoryBoard to "slowely" scroll from one item to another in an...

Hi, as the title suggests, I wanted to slowley scroll from one item to the next in an items control (and then at the end I will star over again - for ever)I almost have this working, after finding a...

View Article
Browsing all 18858 articles
Browse latest View live


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