IconElement.GetVisualChild(int) method¶
Defined in
Type: IconElement
Namespace: CrissCross.WPF.UI.Controls
Assembly: CrissCross.WPF.UI.dll
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
protected override Visual GetVisualChild(int index)
Summary: Overrides GetVisualChild, and returns a child at the specified index from a collection of child elements.
Parameters
| Name | Type | Description |
|---|---|---|
index | int | The zero-based index of the requested child element in the collection. |
Returns: Visual --
The requested child element. This should not return null; if the provided index is out of range, an exception is thrown.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentOutOfRangeException | index - IconElement should have only 1 child. |