Win 8 Metroコントロールのカスタムコントロールテンプレート(XAML)を書き込むときは、VisualStateManagerを使用してVisualStateの遷移に従ってコントロールを更新する必要があります。私は以下のサンプルをMSDNで見るのですが、 "PointerOver"と "Normal"以外のVisualStateGroup "CommonStates"がどこに文書化されていて、他のVisualStatesが定義されているのかわかりません。ボタンのデフォルトのControlTemplateを見つけるためにSDKを掘り下げなければなりませんか?もしそうなら、どこ?可能なVisualStates for Windows 8 Metroコントロールは文書化されていますか?
<ControlTemplate TargetType="Button">
<Grid >
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualStateGroup.Transitions>
<!--Take one half second to transition to the PointerOver state.-->
<VisualTransition To="PointerOver"
GeneratedDuration="0:0:0.5"/>
</VisualStateGroup.Transitions>
<VisualState x:Name="Normal" />
<!--Change the SolidColorBrush, ButtonBrush, to red when the
Pointer is over the button.-->
<VisualState x:Name="PointerOver">
<Storyboard>
<ColorAnimation Storyboard.TargetName="ButtonBrush"
Storyboard.TargetProperty="Color" To="Red" />
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid.Background>
<SolidColorBrush x:Name="ButtonBrush" Color="Green"/>
</Grid.Background>
</Grid>
</ControlTemplate>
も参照してください。http://stackoverflow.com/questions/10861160/control-styles-and-templates-for-windows-8-metro-ui –