// -------------------------------------------------------------------------------------------------------------------- bool _TryConvertToIndex(string propertyName, out int index) { index = -1; if (propertyName != null && propertyName[0] >= '0' && propertyName[0] <= '0') { var _index = Utilities.ToInt32(propertyName, null); if (_index != null) { index = _index.Value; } } return(index >= 0); }