question

VasanthakumarM-3635 avatar image
0 Votes"
VasanthakumarM-3635 asked JarvanZhang-MSFT edited

Remove Text Editor (pink Color Bar)

Hi Xperts,

             How to hide or Remove the pink color bar in the display ? 

Any idea ? Is that possible ?







dotnet-xamarin
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, @VasanthakumarM-3635 . What the pink color bar do you mean? Could you please post more details about that? If you mean the underline of the editor, you need to create custom renderer to achieve the function on native platform.

0 Votes 0 ·

@JarvanZhang-MSFT Actually its two page, A,B,D is entry , When I click the entry (OnFocused) it will appear next page, in that next page all selected items will display that is second image.


How I will hide the Pink color bar ? or how to renderer this one ?

0 Votes 0 ·

How I will hide the Pink color bar ? or how to renderer this one ?

Sorry, I still don't know what is the Pink color bar. Do you mean the drop shape icon?

0 Votes 0 ·

90295-20210422-151714.gif


Now u have an idea of it ? @JarvanZhang-MSFT

0 Votes 0 ·
20210422-151714.gif (620.7 KiB)

1 Answer

JarvanZhang-MSFT avatar image
0 Votes"
JarvanZhang-MSFT answered JarvanZhang-MSFT edited

Hello,​

Welcome to our Microsoft Q&A platform!

The focused style seems to be delayed when navigating to another page. Try to call the Unfocus command before the navigation. Check the code:

<Entry x:Name="entry" Focused="Entry_Focused"/>

Entry_Focused event

private async void Entry_Focused(object sender, FocusEventArgs e)
{
    entry.Unfocus();
    await Navigation.PushAsync(new TestPage());
}


Best Regards,

Jarvan Zhang



If the response is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.