Hello,
I have created a custom control in which i have attachedflyout like below
<local:BinFeatureButton FlyoutBase.AttachedFlyout="{StaticResource BinTypeMenu}" x:Name="BinMakeFeatureControl" Background="Black" Tapped="BinFeatureButton_Tapped_1"
HorizontalAlignment="Left" ButtonKey="BinMake" ButtonCaption="{Binding BinMake}" Margin="5,0,0,0" VerticalAlignment="Top" ButtonImage="">
</local:BinFeatureButton>
when i tap on this control it shows flyout menu as expected like below.
private void BinFeatureButton_Tapped_1(object sender, TappedRoutedEventArgs e)
{
FlyoutBase.ShowAttachedFlyout(sender as FrameworkElement);
}
that also works fine.
but my question is how can i change background color of particular menuflyoutItem
This should happen as soon as i tap on control before/after showAttachFlyout method fires.
Hoping for best.
Regards