BulletDecorator.GetVisualChild(Int32) Method

Definition

Gets the child element that is at the specified index.

protected:
 override System::Windows::Media::Visual ^ GetVisualChild(int index);
protected override System.Windows.Media.Visual GetVisualChild (int index);
override this.GetVisualChild : int -> System.Windows.Media.Visual
Protected Overrides Function GetVisualChild (index As Integer) As Visual

Parameters

index
Int32

The specified index for the child element.

Returns

The Visual child element that is at the specified index.

Exceptions

index is less than 0.

-or-

index is greater than or equal to VisualChildrenCount.

Remarks

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

Applies to