Partager via


IXRVisualStateGroup::SetTransitions (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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

Parameters

Return Value

Returns an HRESULT that indicates success or failure.

Returns XR_E_INVALID_OBJECT if pTransitions is not a Silverlight 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
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRVisualStateGroup
IXRVisualStateGroup::GetTransitions