// MainWindowViewModel.cspublic void ShareItem(){ var vm = new ShareItemViewModel(List.SelectedItem);}// ShareItemViewModel.cspublic class ShareItemViewModel : ViewModelBase{ public ShareItemViewModel(DiaryModel selectedItem) { }}
// MainWindowViewModel.cspublic void ShareItem(){ var vm = new ShareItemViewModel(List.SelectedItem);}// ShareItemViewModel.cspublic class ShareItemViewModel : ViewModelBase{ public ShareItemViewModel(DiaryModel selectedItem) { }}
I'm wanting to use the ShareItemViewModel to prompt the user via their file explorer on where to save their entry that they want to share. When they select a location, I would like for the code to generate a Microsoft Word Document with the information saved within in the manor of
Date: <- date of entryTime: <- time of entryTitle: <- title of entryEntry: <- the entry itself
Date: <- date of entryTime: <- time of entryTitle: <- title of entryEntry: <- the entry itself
and then display a success label across the bottom of the home screen that their action has been successful. The application I'm working with is located here https://github.com/mekasu0124/Diary. Thanks in advance.