bbweiners Posted February 13, 2023 Posted February 13, 2023 Hi, Does anyone know if it's possible to have the wheel show a games name in text rather than using an image, like a clear logo, banner, etc... Thanks! Quote
C-Beats Posted February 13, 2023 Posted February 13, 2023 You can put any WPF control in the FlowTemplate so yes, using a textbox is entirely possible Quote
bbweiners Posted February 14, 2023 Author Posted February 14, 2023 @C-Beats Could you possibly show me an example? For some reason I'm just not getting it. Thanks! Quote
faeran Posted February 14, 2023 Posted February 14, 2023 20 minutes ago, bbweiners said: @C-Beats Could you possibly show me an example? For some reason I'm just not getting it. Thanks! Something like this: <TextBlock Text="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type coverFlow:FlowContext}}, Path=DataContext.Title}" /> Just make sure the FlowImage that contains your main image inside of your wheel has a CreateFallbackImage property set to False. After you set this, you'll have to refresh your cache to remove all previously saved fallback images. Quote
C-Beats Posted February 14, 2023 Posted February 14, 2023 If you're inside the FlowContext can simply do this: <TextBlock Text="{Binding DataContext, Path=Title}"/> Quote
bbweiners Posted February 14, 2023 Author Posted February 14, 2023 Thanks guys! I believe the issue that I'm having is that we can't have more than 1 FlowControl Wheel. Is that correct? Thanks! Quote
C-Beats Posted February 14, 2023 Posted February 14, 2023 Yeah, each view is only made for a single wheel (FlowControl), adding more than one won't work. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.