GetVisualChild Method

BulletDecorator.GetVisualChild Method (Int32)

 

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:
© 2016 Microsoft