public virtual void UiBtnCommandDownAction(Object param) { if ((PrimaryKeyPropertiesIndex > -1) && (PrimaryKeyPropertiesIndex < PrimaryKeyProperties.Count - 1)) { PrimaryKeyProperties.Move(PrimaryKeyPropertiesIndex, PrimaryKeyPropertiesIndex + 1); //PrimaryKeyPropertiesIndex = PrimaryKeyPropertiesIndex + 1; } }
public virtual void UiBtnCommandUpAction(Object param) { if ((PrimaryKeyPropertiesIndex > 0) && (PrimaryKeyPropertiesIndex < PrimaryKeyProperties.Count)) { PrimaryKeyProperties.Move(PrimaryKeyPropertiesIndex, PrimaryKeyPropertiesIndex - 1); //PrimaryKeyPropertiesIndex = PrimaryKeyPropertiesIndex - 1; } }