Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Blend » Code   (RSS)
I was playing around with Blend today, and decided that I wanted to write a function to allow my user to drag the shapes around on my artboard. Granted, this could use a bit of polish, since there are some tweaks that would make it a bit better, but the Read More...
3 Comments
Filed under: ,
Ok, see this is what happens when I have some time to 'play' with Blend. My previous post showed how to modify the stylus tip to get something akin to a calligraphy pen. But, the pen that I got most recently got is called a scroll point. The tip itself Read More...
1 Comments
Filed under: ,
Ok, this is something I think is kinda cool... one of my side hobbies is calligraphy. I've been doing it since I was in early high school, and there's something graceful in the old style of writing. Well, as far as I knew, an InkCanvas only allows either Read More...
1 Comments
Filed under: ,
Ok, this was really bugging me... I needed to figure out how to create a Window application, and parse in the command line arguments. I know how to do it with a Console application, but not a Window app. So, how do you do it? Well, it's a little tricky, Read More...
1 Comments
Filed under: ,
Ok, this is neat. This is the first time I've worked with layout panels and actually creating one of my own. Here's the code: class OverlapStackPanel : StackPanel { protected override Size ArrangeOverride( Size arrangeSize) { UIElementCollection children Read More...
0 Comments
Filed under: ,
I'm sure everyone else runs into these issues all the time, but every time I have to do this, I end up pulling up MSDN and looking all of this up. It's not too efficient, so I'm going to drop a few points here for reference. First: Binding a basic type Read More...
I had a coworker as me how to update an Image control in code. Specifically, he wanted to create a quick file browser that had a Next and Previous button to scroll through a preset list of Images. Creating the list and iterating through directories is Read More...
2 Comments
Filed under: ,
Well, we had another Application Bash for Expression Interactive Designer this week, and my application did something I hadn't messed with before. I wanted to work with ink in Expression, and specifically, I wanted to be able to mark up a picture, and Read More...
1 Comments
Filed under: ,
Databinding uses Value Converters to bind a value in one component's "Language" to another. For instance, there's a converter that converts a boolean to a "Visibility" in WPF. So, True is mapped to Visible, False is mapped to Hidden, etc... By using it, Read More...
1 Comments
Filed under: , ,
 
Page view tracker