public async void CreateNewStyle() { #region How to create a new style //Full path for the new style file (.stylx) to be created string styleToCreate = @"C:\Temp\NewStyle.stylx"; await QueuedTask.Run(() => StyleHelper.CreateStyle(Project.Current, styleToCreate)); #endregion }