So I have my
<MasterDetailPage>
<MasterDetailPage.Master>
</MasterDetailPage.Master>
<MasterDetailPage.Detail>
</MasterDetailPage.Detail>
</MasterDetailPage>
and a property in my ViewModel (That is hooked up) But I am Unsure where to put the IsPresented property to bind to it
private bool _isFlyoutOpen;
public bool IsFlyoutOpen
{
get { return _isFlyoutOpen; }
set
{
_isFlyoutOpen = value;
RaisePropertyChanged();
}
}
I have tried putting IsPresented="{Binding IsFlyoutOpen}"
in all three different bits of Xaml on that page but none of them worked. Where am I supposed to put this property to bind to it in Xaml?