IXRVisualState::SetStoryboard (Compact 2013)
3/28/2014
This method sets an IXRStoryboard that defines the appearance of the control when it is in the state that this IXRVisualState represents.
Syntax
virtual HRESULT STDMETHODCALLTYPE SetStoryboard(
__in IXRStoryboard* pStoryboard
) = 0;
Parameters
- pStoryboard
[in] Pointer to an IXRStoryboard object 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 you provide in pStoryboard 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 |