Partager via


IXRVisualState::SetStoryboard (Windows Embedded CE 6.0)

1/6/2010

This method sets an IXRStoryboard that defines the appearance of the control when it is in the state that is represented by this IXRVisualState.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetStoryboard(
    IXRStoryboard* pStoryboard
) = 0;

Parameters

  • pStoryboard
    [in] Pointer to an IXRStoryboard object that defines the appearance of the control when it is in the state represented by this IXRVisualState.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The animation storyboard you provide in pStoryboard changes the appearance of the control. When the control enters the state specified in the x:Name of the visual state, the storyboard begins. When the control exits the state, the storyboard ends.

.NET Framework Equivalent

System.Windows.VisualState.Storyboard

Requirements

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

See Also

Reference

IXRVisualState
IXRVisualState::GetStoryboard