Skip to content

Arc.GetVisualChild(int) method

Defined in

Type: Arc 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

NameTypeDescription
indexintThe 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

TypeCondition
System.ArgumentOutOfRangeExceptionindex - Arc should have only 1 child.