Blog

How to create a "Autocomplete in Silverlight Box 3" with MS Expression Blend 3

By Omar L. In this tutorial, I will explain how to easily create an autocomplete with simple steps, with help of Microsoft Expression Blend 3.0 1 – We create a new application type: Silverlight 3 APPLICATION + WEBSITE, WE CLICK THE PATH, where Our solution will stay,  Then we choose the language and press the OK button. 2 – On the project tab, we open the MainPage.xaml archive, where we have the following code.   We now implement a  StackPanel control with the following properties, which will be the container of our Autocomplete control. <Grid x:Name=”LayoutRoot” Background=””>    <StackPanel HorizontalAlignment="Center" Margin="0" Width="400&...

Floating panels with dynamic height in WPF

By Irvin G. When you are working with Windows Presentation Foundation, sooner or later you will find yourself working with floating panels. Once you are there, it will take no time until you need a floating panel that changes its height and/or width according to the area below. This is quite easy to do directly on the XAML, with no need to write a single line of code in C#. Let’s explore how it is done. First, you need to put all the controls you want to cover with your floating panel inside a StackPanel. <StackPanel x:Name="MainContent" Margin="25,50,25,0" VerticalAlignment="Top"> <Grid…> <Grid…> <Grid…> <Grid…> <...