PropertyExtensions.Order Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

Order(PropertyInfo)

Gets a value that decides the order in which the property will appear in lists.

Columns are sorted in increasing order based on the order value. Negative values are valid and can be used to position a column before all non-negative columns. If an order is not specified, presentation layers should consider using the value 10000. This value lets explicitly-ordered fields be displayed before and after the fields that do not have a specified order.

public static int? Order(this PropertyInfo prop)

Parameters

prop
System.Reflection.PropertyInfo

Returns

int?