private void ResetPositions() { currentItemPosition = null; foreach (var item in items) { item.UpdatePosition(); } previousMode = Mode; }
protected override void OnInitialized() { base.OnInitialized(); previousMode = Mode; }