Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
This method sets the collection of mutually exclusive IXRVisualState objects for this visual-state group.
Syntax
virtual HRESULT STDMETHODCALLTYPE SetStates(
IXRVisualStateCollection* pStates
) = 0;
Parameters
- pStates
[in] Pointer to an IXRVisualStateCollection that contains the mutually exclusive IXRVisualState objects.
Return Value
Returns an HRESULT that indicates success or failure.
Returns XR_E_INVALID_OBJECT if pVisualStates is not a Silverlight object.
.NET Framework Equivalent
System.Windows.VisualStateGroups.States
Requirements
| Header | XamlRuntime.h |
| sysgen | SYSGEN_XAML_RUNTIME |
| Windows Embedded CE | Windows Embedded CE 6.0 R3 |