0
Ich verwende das Mah.MetroApps-Paket für meine WPF-Anwendung. In der XAML-Datei definiere ich das FlyoutControl, das aktiviert wird, wenn auf eine Schaltfläche geklickt wird. Das Problem ist, dass es das Flyout ohne den Inhalt z. ein Textblock.Flyout zeigt keinen Inhalt an
Also mache ich hier etwas falsch?
<Controls:MetroWindow.Flyouts>
<Controls:FlyoutsControl>
<Controls:Flyout x:Name="ActiveUserFlyout" Header="Active Users" Position="Right" Width="300" IsOpen="{Binding FlyoutIsOpen}"/>
<TextBlock FontSize="30">Stackoverflow</TextBlock>
</Controls:FlyoutsControl>
</Controls:MetroWindow.Flyouts>
Welches Bit funktioniert nicht? 'TextBlock' oder' Controls: Flyout' sollte auch 'TextBlock' nicht in' Controls: Flyout' sein? – dkozl
Der TextBlock, aber wie du erwähntest war das Problem, dass es nicht in 'Controls: Flyout' war –