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

mc 5,406 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.

Universal Windows Platform (UWP)
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
888 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 90,191 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 Answers by the question author, which helps users to know the answer solved the author's problem.