Category "wpf"

How do you code a throbber ("loading" or "waiting" graphic) in WPF?

How do you code that "loading" or "waiting" graphic in WPF? If someone had a page that requires loading a lot information, typically on a flash web site, you s

Does .NET have icon collections?

Does .NET framework have a collection of icons for use in Windows Forms or WPF application somewhere? How does one use it? For example, how do I use it as an ap

Setting mouse position?

Well I'm working on a small program and I'm trying to set the position of the window's mouse to it's center every time it moves. Thing is I have no idea how to

Update button in datagrid, entity framework WPF Application

I'm attempting to create an update button, that you can press to automatically update a record within a DB. the update button opens a new dialog, which then all

How to change Oxy Plot tracker vertical line thickness?

We are using Oxy Plot plugin in wpf project, it is great tool but I have one small issue. If I change application window size and reset plot axis zoom, vertical

Where can i find the default WPF Control templates?

As per this MSDN link, There is no way to replace only part of the visual tree of a control; to change the visual tree of a control you must set the

Display image in content presenter in button

I have a button with a style that displays an image inside it. I would like to be able to specify the image it uses using the Content property on the button (or

WPF Popup steals focus from owner

We have a WPF popup that is working perfectly except that when it opens it takes the focus from the window that triggered it which has a jarring effect as the c

What's the best way to cancel an asynchronous WCF request?

(Assuming a WCF method called "MyFunction") Currently, to support canceling a WCF request, I'm using the BeginMyFunction/EndMyFunction methods generated by svc

Hyperlink in WPF Richtextbox

I load WPF Richtextbox contents from Xaml string in which there are some Hyperlinks. When it is loaded into control, Hyperlinks are not clickable! I want to cli

Keep window centered after SizeToContent smoothly

I have a WPF window that changes it's size over time due to SizeToContent="WidthAndHeight". Initially the WindowStartupLocation="CenterScreen" shows the window

Keep window centered after SizeToContent smoothly

I have a WPF window that changes it's size over time due to SizeToContent="WidthAndHeight". Initially the WindowStartupLocation="CenterScreen" shows the window