/// <summary> /// Loads the state. /// </summary> /// <param name="args">The viewmodel arguments.</param> public async Task LoadState(CropViewModelArgs args) { await base.LoadState(); Category = args.Category; SourceFile = args.StorageFile; }