You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The FlipView control in MahApps.Metro is ignoring the BannerText property of the FlipViewItem. Regardless of whether BannerText is set to an empty string, a non-empty string, or bound to a property, the text "Banner" is always displayed.
Steps to reproduce
Create a new WPF project.
Install the MahApps.Metro NuGet package.
Add a FlipView control to the main window.
Set the ItemTemplate of the FlipView to include a FlipViewItem with BannerText="", BannerText="SomeText", or BannerText="{Binding SomeProperty}".
Run the project and observe that the "Banner" text is displayed, regardless of the BannerText setting.
Describe the bug
The
FlipView
control in MahApps.Metro is ignoring theBannerText
property of theFlipViewItem
. Regardless of whetherBannerText
is set to an empty string, a non-empty string, or bound to a property, the text "Banner" is always displayed.Steps to reproduce
FlipView
control to the main window.ItemTemplate
of theFlipView
to include aFlipViewItem
withBannerText=""
,BannerText="SomeText"
, orBannerText="{Binding SomeProperty}"
.BannerText
setting.The code in the
ItemTemplate
is as follows:Expected behavior
The
FlipView
control should respect theBannerText
property of theFlipViewItem
. The text displayed should match the value ofBannerText
.Actual behavior
Regardless of the
BannerText
setting, the text "Banner" is always displayed.Mitigation
Set IsBannerEnabled to false in FlipView and do it myself if i need it
Environment
Screenshots
The text was updated successfully, but these errors were encountered: