Here is what I would like to do:
public partial class PhrasesFrame : Frame
{
    public PhrasesFrameViewModel vm = new PhrasesFrameViewModel(this);
    public PhrasesFrame()
    {
        InitializeComponent();
    }
public class PhrasesFrameViewModel : ObservableProperty
{
    PhrasesFrame phrasesFrame;
    PhrasesFrameViewModel(PhrasesFrame phrasesFrame) {
        this.phrasesFrame = phrasesFrame;
    }
I want to give the new PhrasesFrameViewModel a reference to the class that created it.
However I get the message:
Keyword "this" is not available in the current context
 
    