|
-
Oct 10th, 2009, 06:01 PM
#1
-
Oct 11th, 2009, 12:52 PM
#2
Re: Imitate design of controls in attached image
You could just use a Border control with a Grid insider it to create the effect of the label being attached to the textbox/combobox controls. As for the groupbox, that is pretty easy as you can use whatever you like as the Header of the groupbox. So to get something like what is pictured there you could do this for example:
Code:
<GroupBox Margin="10" BorderBrush="DarkBlue">
<GroupBox.Header>
<Border CornerRadius="15" Background="#FF16458A">
<TextBlock Foreground="White" Padding="14,5,14,5" Text="Language" />
</Border>
</GroupBox.Header>
</GroupBox>
I'll put together an example of the other controls in a minute
-
Oct 11th, 2009, 01:01 PM
#3
-
Oct 11th, 2009, 01:05 PM
#4
Re: Imitate design of controls in attached image
-
Oct 11th, 2009, 01:13 PM
#5
Re: Imitate design of controls in attached image
No worries oh and as for that little strip across the bottom with the horizontal gradient (that says something like "Name Of Contact Required") you could do something like this:
Code:
<Border Height="30">
<Border.Background>
<LinearGradientBrush EndPoint="0,0" StartPoint="1,0">
<GradientStop Color="#FF06356E" Offset="0"/>
<GradientStop Color="#FF629EE8" Offset="1"/>
</LinearGradientBrush>
</Border.Background>
<StackPanel Margin="6,0,6,0" Orientation="Horizontal">
<Image Source="Images\info_24.png" Height="22"/>
<TextBlock Foreground="White" VerticalAlignment="Center" Margin="6,0,0,0" Text="Name of Contact (Required)" />
</StackPanel>
</Border>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|