This documentation is archived and is not being maintained.
Decorator::GetVisualChild Method
Visual Studio 2010
Gets the child Visual element at the specified index position.
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- index
- Type: System::Int32
Index position of the child element.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | index is greater than the number of visual child elements. |
Because Child can equal only 0 or 1, specifying an index position greater than 1 or less than 0 results in an ArgumentOutOfRangeException.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: