|
<UserControl x:Class="Framework.Silverlight.Client.CxSectionBoxItem"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
LayoutUpdated="UserControl_LayoutUpdated">
<Border Padding="1, 0, 1, 1"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
Background="Black" >
<Border x:Name="itemBack"
MouseEnter="itemBack_MouseEnter"
MouseLeave="itemBack_MouseLeave"
Background="{StaticResource itemBackBrush}" >
<Grid x:Name="LayoutRoot"
Height="31">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="35"/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Image x:Name="itemImg"
Stretch="None"/>
<TextBlock Padding="4, 0, 0, 0"
FontSize="{StaticResource ToolBoxItemFontSize}"
FontWeight="{StaticResource ToolBoxItemFontWeight}"
FontFamily="{StaticResource AppFontFamily}"
Text="{Binding Text}"
Height="auto"
x:Name="itemText"
Grid.Column="1"
HorizontalAlignment="Stretch"
VerticalAlignment="Center"/>
</Grid>
</Border>
</Border>
</UserControl>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.