Browse by Tags
All Tags »
XAML (
RSS)
I've received the following question (in various forms) three times in the past two weeks, so I'm going to take the opportunity to post it and my response (such as it is) here. "... I read that if Microsoft had supported SVG , this there...
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...
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...
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...
In today's Tip of the Day I wrote that Canvas's Height and Width properties default to zero. A reader wrote to me in email saying, Actually, unless it was implemented differently in Silverlight than in WPF (which I cannot exclude), the default...
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...