Telerik UI for Windows Phone by Progress

Gets the index of the button in the button's parent Children collection.

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Primitives (in Telerik.Windows.Controls.Primitives.dll) Version: 2013.1.422.2040 (2013.1.0422.2040)

Syntax

C#
public int ButtonIndex { get; }
Visual Basic
Public ReadOnly Property ButtonIndex As Integer
	Get
Visual C++
public:
property int ButtonIndex {
	int get ();
}

Remarks

If the parent is not a panel or if ClickedButton is null, -1 is returned.

See Also