When you right-click on a folder and ' add a new item', is there a way to find out the current folder? I am trying to show the default name for my custom item template in the add new item dialog.
Want it to be dynamic, based on the current folder.
I am currently using a property DefaultNamethat gives me a static default name.
source
share