This section is the eighth part of WP7 learning notes, because the previous WPF/Silverlight concepts are not described in detail.
Windows Phone topic: You can select your own topic based on your preferences. The Silverlight control can automatically detect the topic.
Windows Phone style:
<Textblock X: Name = "pagetitle" text = "Homepage" margin = "9,-7,0, 0" style = "{staticresource phonetexttitle1style}"/>
The resource Dictionary of Silverlight for Windows Phone contains standard styles.
The themetesources. XAML file contains the following content styles:
<Style x:Key="PhoneTextGroupHeaderStyle" TargetType="TextBlock" BasedOn="{StaticResource PhoneTextBlockBase}">
<Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiLight}"/>
<Setter Property="FontSize" Value="{StaticResource PhoneFontSizeLarge}"/>
<Setter Property="Foreground" Value="{StaticResource PhoneSubtleBrush}"/>
</Style>
System. Windows. XAML contains the following content styles:
<ControlTemplate x:Key="PhoneSimpleRepeatButton" TargetType="RepeatButton">
<Rectangle Fill="Transparent" />
</ControlTemplate>
OK. Please note that the introduction is complete. Below is data binding, because of the WPF/Silverlight basics, not to mention ~
OK. The topic style and data binding are complete ~ Hope to help you ~