BulletDecorator.GetVisualChild Method (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the child element that is at the specified index.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override Visual GetVisualChild(
	int index
)

Parameters

index
Type: System.Int32

The specified index for the child element.

Return Value

Type: System.Windows.Media.Visual

The Visual child element that is at the specified index.

Exception Condition
ArgumentOutOfRangeException

index is less than 0.

-or-

index is greater than or equal to VisualChildrenCount.

The visual child elements of a BulletDecorator are the Bullet and the Child properties.

.NET Framework
Available since 3.0
Return to top
Show: