Click or drag to resize
ElementModelUtilityGetIndex Method
Gets the index of this model on the parent. When parent is null, returns -1

Namespace: FlexRule
Assembly: FlexRule.Core.Element (in FlexRule.Core.Element.dll) Version: (
public static int GetIndex(
	this IElementModel model


Type: FlexRule.Core.ModelIElementModel

Return Value

Type: Int32

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IElementModel. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also