Decorator::GetVisualChild Method (Int32)
.NET Framework (current version)
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.
.NET Framework
Available since 3.0
Available since 3.0
Show: