Duration: 17 minutes
Summary: Slider and TreeView are two standard controls that we are going to discuss today. We start first with the slider. We know that the slider orientation can be horizontal or vertical. We set two sliders to cover both orientations. Then we create an ellipse. That way one slider will cover the ellipse’s stroke thickness, and the other one will cover the ellipse’s fill color using a radial gradient brush. In the second part of this video, we will briefly discuss the TreeView. This control is very handy when we have hierarchy of items (likes files and folders). We will see how to create a TreeView with items. We will also use the DockPanel to place the tree view on the left and the TextBox in the center. Now when the user selects an item from the tree, the corresponding text will be displayed in the TextBox.
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: Silverlight 5 and Visual Studio 2010
Keyword: Silverlight 5, Visual Studio 2010, XAML, Border, RadialGradientBrush, FromArgb, Color, NewValue, LinearGradientBrush, Grid, Ellipse, Slider, Orientation, DockPanel, ScrollViewer, TreeView, TreeViewItem, TextBox, Header.