Page view counter

Browse by Tags

Tip Of The Day... Did You Know How To Format Your XAML?
Monday, January 28, 2008 10:00 AM
A reader wrote and asked: " A quick question: how did you set your VS to format the XAML in the way that it does? " Here's how to do it: In Visual Studio click on Tools -> Options When the Options window opens, make sure Show All Settings is clicked, and then click on the triangle next to Text Editor to expand that section Scroll down to XAML... Read More...
Did You Know That... You can create vertical or horizontal linear gradients?
Friday, January 18, 2008 10:00 AM
By default, linear gradients are on a diagonal.  Understanding this begins with the implicit assumption of a coordinate system superimposed on every shape in which the upper-left hand corner is set to 0,0, with the x axis extending to 1 at the right edge of the shape, and the y axis set to 1 at the bottom of the shape. An implicit diagonal is then superimposed... Read More...
Did You Know That... You can put events into your XAML or into the code behind?
Tuesday, January 15, 2008 10:00 AM
There are two common idioms for creating events (and wiring up their handlers) for XAML objects. One is to place the name of the event and the name of its handler in the XAML itself <Canvas Canvas.Top= "180" Canvas.Left= "200" MouseLeftButtonDown= "onMouseDown" MouseLeftButtonUp= "onMouseUp" MouseMove= "onMouseMove"... Read More...
Did You Know... That Canvas has a default width and height of 0?
Saturday, January 12, 2008 10:00 AM
If you don't specify otherwise, the Canvas object has a height of 0, a width of 0 and a background of null. It turns out that this has some very profound effects that I will explore in this and the next couple Tips of the Day. A canvas with a height of 0 and a width of 0: isn't very good at displaying its background color isn't very good at responding... Read More...

This Blog

Syndication