Now select the Brush Transform tool from the tool box to adjust the gradient to look like as follows:-Ħ. Rename the circle as Circle1 in the Objects and Timeline panel. Click on Stroke and then on the No Brush tab to remove the stroke.ĥ. Change the gradient to a Radial gradient and adjust its properties to look like the following image. While the circle is still selected change its Fill to a Gradient brush. Draw out a circle in Window1 while holding the shift key to constrain the shape of the circle.Ĥ. Select the Ellipse tool from the tool box. In the Brushes section ensure that the Background is selected then click on the No brush tab and Change the background of your layout using gradient brush from the properties window according to your choice so that your screen will be like this:ģ. Open a New Project and select WPF Application, then change it's name to AnalogClock.Ģ. The final work should look something like the following image: In this article I am going to create an Analog Clock with a sweeping second hand and rotate the minute and hour hands using Visual C# code, using Microsoft Expression Blend the project type is Windows Presentation Foundation (WPF).