Share via

The title bar will be some light color in front it when use custom view?

mc 6,861 Reputation points
2023-04-23T00:51:07.65+00:00

I use SetTitleBar to set myview. SetTitleBar(myview) and in Myview there is Image

<Grid HeightRequest ="50">
<Image Source="back.png" />
</Grid>

but it seems overlapped some color like rgba(0,0,0,0.3) not that bright. I want to remove the color make it high brightness.

Developer technologies | Universal Windows Platform (UWP)
Windows development | Windows App SDK
0 comments No comments

Answer accepted by question author
  1. Castorix31 91,866 Reputation points
    2023-04-23T14:50:33.8+00:00

    I think it is because of Opacity. You can change it in App.xaml, in <ResourceDictionary>, like :

     <SolidColorBrush x:Key="WindowCaptionBackground" Color="White" Opacity="0"/>
    
    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.