Share via


IXRVisualStateGroup::SetTransitions (Compact 2013)

3/28/2014

This method sets the collection of IXRVisualTransition objects for this visual-state group.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetTransitions(
    __in IXRVisualTransitionCollection* pTransitions
) = 0;

Parameters

Return Value

Returns an HRESULT that indicates success or failure.

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

Remarks

The IXRVisualTransition objects that are stored in the collection in pTransitions are applied when the control transitions between states in this visual-state group.

.NET Framework Equivalent

System.Windows.VisualStateGroup.Transitions

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRVisualStateGroup
IXRVisualStateGroup::GetTransitions