Partager via


IXRVisualState::GetStoryboard (Compact 2013)

3/28/2014

This method retrieves an IXRStoryboard that defines the appearance of the control when it is in the state that this IXRVisualState represents.

Syntax

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

Parameters

  • ppStoryboard
    [out] Pointer to an IXRStoryboard pointer that defines the appearance of the control when it is in the state that this IXRVisualState represents.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The animation storyboard in ppStoryboard changes the appearance of the control by changing properties to new values. When the control enters the state specified in the x:Name of the visual state, the storyboard begins. When the control exits the state, it will go to a new state and the storyboard for the new state begins.

.NET Framework Equivalent

System.Windows.VisualState.Storyboard

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRVisualState
IXRVisualState::SetStoryboard