Compartilhar via


IXRBeginStoryboard::SetStoryboard (Compact 2013)

3/28/2014

This method sets the storyboard that this IXRBeginStoryboard object starts in response to an event trigger.

Syntax

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

Parameters

  • pStoryboard
    [in] Pointer to an IXRStoryboard object that represents the storyboard that this IXRBeginStoryboard object starts.

Return Value

Returns an HRESULT that indicates success or failure.

Returns XR_E_INVALID_OBJECT if pStoryboard is not a XAML for Windows Embedded object.

.NET Framework Equivalent

System.Windows.Media.Animation.BeginStoryboard.Storyboard

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRBeginStoryboard