Share via


IXRVisualTransition::GetStoryboard (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the storyboard that begins to play when the transition occurs.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetStoryboard(
    IXRStoryboard** ppStoryboard
) = 0;

Parameters

  • ppStoryboard
    [out] Pointer to an IXRStoryboard pointer that references the storyboard animation that begins to play when the transition occurs.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

When an IXRVisualTransition object contains a storyboard, that storyboard runs whenever the IXRVisualTransition is applied during a state change.

For example, if you want the border of an IXRButton control to change colors when the user moves the mouse away from it, you can create an IXRVisualTransition that has a storyboard that animates its inherited method IXRControl::SetBorderBrush.

.NET Framework Equivalent

System.Windows.VisualTransition.Storyboard

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRVisualTransition
IXRVisualTransition::SetStoryboard