Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

I've been puzzling how to do this for a little while, as I had some common shortcuts I wanted to add to the desktop for everyone on my team to use. The way to do this in Windows XP has been to use the "All Users" account and add to the desktop folder. Read More...
Mark shows off some of the new and exciting features in Cider Beta 2 , including: DataSources window now works in Silverlight (as well as WPF) - you can now drag and drop from this window to your design surface to automatically hook up to data. Property Read More...
As larger displays are becoming more popular, they're increasingly being used in places like the livingroom. And if you've ever tried to read text across the room with the default DPI setting, you'll find you may need a pair of opera glasses. In Windows Read More...
bugviewer Read More...
bugviewer Read More...
One of my favorite books of all time is The Pragmatic Programmer . A piece of advice I've always taken to heart is to take the time to make tools that will make you more productive. Today's tool I can share with you - I didn't want to flip back and forth Read More...
OnRenderVersusOnPaint Read More...
I recently showed how to use the "Define a Dependency Property" snippet in VS to save time/frustration creating a new property on your control. I often need a property changed event as well, and it's a bit of a pain to go back and add it. I just figured Read More...
If you want to make a property that can be styled from XAML - you need to create a dependency property on your control. This can be a tricky syntax, but fortunately the C#/VB editor have "snippets" that allow you to really quickly create one. Let’s assume Read More...
Here's the quick way to create a custom control in Cider. Right click on project in Solution Explorer Choose “Add > New Item” Choose “Custom Control (WPF)” Two files will be generated – CustomControl1.cs and Themes\Generic.xaml In the Themes\Generic.xaml Read More...
If you’re an old windows forms or GDI/Win32 person, you may be tempted to override OnRender for more complex UIs . A long long time ago I wrote how to create a custom control in Windows Forms . I showed the technique for calling Invalidate() to call OnPaint Read More...
snippet editor Read More...
<?xml version="1.0" encoding="utf-8" ?> <CodeSnippets xmlns=" http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet "> <CodeSnippet Format="1.0.0"> <Header> <Title>Define a DependencyProperty with PropertyChanged</Title> Read More...
I’m not normally a Hungarian fanatic or anything, but it is quite easy to create “write once” layout/painting code. If there’s ever a problem with the math the code needs to be tossed out because it’s too confusing or too difficult to update. I think Read More...
margin Read More...
More Posts Next page »
 
Page view tracker