Xamarin Forms - Hide Burger Menu





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







1















Since the release of XF 3.2, it provided the ability to create your own custom TitleBar. This feature works well but I have a couple of problems that I am hoping someone can help me with.



I am trying to hide the Burger Menu icon, but so far I have not been able to.



I can hide the Back Button by doing the following:



NavigationPage.HasBackButton="False"



This does however still leave a slight vertical bar on the left side of the TitleBar, so if someone knows how to also remove that then great.



I was expecting the same code to also hide the Burger Menu icon but this is still present so I'm hoping someone can help me to remove this.



Alternatively, if anyone knows of a way I can either change the icon (to use my own) or to change the colour of it (as it is always white and I want it to be black), then that would be great.



Cheers...










share|improve this question























  • Not sure if that's what you mean, but IsPresented property can easily be changed! I have the following on the MD Page: IsPresented="{Binding IsMenuOpen, Mode=TwoWay}" So I can open/close that menu from anywhere.

    – Amir No-Family
    Nov 16 '18 at 17:18













  • That isn't quite what I want - ideally I want to be able to remove the icon altogether (like you can with the back button) as I plan to use my own icon to open the menu. If this can't be done then I would accept just being able to change the colour of the icon. The problem with this is all other icons on my Toolbar are black and the default Burger Menu icon is white. So basically I want to either change the colour of the default icon or remove it completely so that I can use my own.

    – plingingo
    Nov 21 '18 at 9:39




















1















Since the release of XF 3.2, it provided the ability to create your own custom TitleBar. This feature works well but I have a couple of problems that I am hoping someone can help me with.



I am trying to hide the Burger Menu icon, but so far I have not been able to.



I can hide the Back Button by doing the following:



NavigationPage.HasBackButton="False"



This does however still leave a slight vertical bar on the left side of the TitleBar, so if someone knows how to also remove that then great.



I was expecting the same code to also hide the Burger Menu icon but this is still present so I'm hoping someone can help me to remove this.



Alternatively, if anyone knows of a way I can either change the icon (to use my own) or to change the colour of it (as it is always white and I want it to be black), then that would be great.



Cheers...










share|improve this question























  • Not sure if that's what you mean, but IsPresented property can easily be changed! I have the following on the MD Page: IsPresented="{Binding IsMenuOpen, Mode=TwoWay}" So I can open/close that menu from anywhere.

    – Amir No-Family
    Nov 16 '18 at 17:18













  • That isn't quite what I want - ideally I want to be able to remove the icon altogether (like you can with the back button) as I plan to use my own icon to open the menu. If this can't be done then I would accept just being able to change the colour of the icon. The problem with this is all other icons on my Toolbar are black and the default Burger Menu icon is white. So basically I want to either change the colour of the default icon or remove it completely so that I can use my own.

    – plingingo
    Nov 21 '18 at 9:39
















1












1








1








Since the release of XF 3.2, it provided the ability to create your own custom TitleBar. This feature works well but I have a couple of problems that I am hoping someone can help me with.



I am trying to hide the Burger Menu icon, but so far I have not been able to.



I can hide the Back Button by doing the following:



NavigationPage.HasBackButton="False"



This does however still leave a slight vertical bar on the left side of the TitleBar, so if someone knows how to also remove that then great.



I was expecting the same code to also hide the Burger Menu icon but this is still present so I'm hoping someone can help me to remove this.



Alternatively, if anyone knows of a way I can either change the icon (to use my own) or to change the colour of it (as it is always white and I want it to be black), then that would be great.



Cheers...










share|improve this question














Since the release of XF 3.2, it provided the ability to create your own custom TitleBar. This feature works well but I have a couple of problems that I am hoping someone can help me with.



I am trying to hide the Burger Menu icon, but so far I have not been able to.



I can hide the Back Button by doing the following:



NavigationPage.HasBackButton="False"



This does however still leave a slight vertical bar on the left side of the TitleBar, so if someone knows how to also remove that then great.



I was expecting the same code to also hide the Burger Menu icon but this is still present so I'm hoping someone can help me to remove this.



Alternatively, if anyone knows of a way I can either change the icon (to use my own) or to change the colour of it (as it is always white and I want it to be black), then that would be great.



Cheers...







c# xamarin.forms titlebar






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 16 '18 at 15:09









plingingoplingingo

286




286













  • Not sure if that's what you mean, but IsPresented property can easily be changed! I have the following on the MD Page: IsPresented="{Binding IsMenuOpen, Mode=TwoWay}" So I can open/close that menu from anywhere.

    – Amir No-Family
    Nov 16 '18 at 17:18













  • That isn't quite what I want - ideally I want to be able to remove the icon altogether (like you can with the back button) as I plan to use my own icon to open the menu. If this can't be done then I would accept just being able to change the colour of the icon. The problem with this is all other icons on my Toolbar are black and the default Burger Menu icon is white. So basically I want to either change the colour of the default icon or remove it completely so that I can use my own.

    – plingingo
    Nov 21 '18 at 9:39





















  • Not sure if that's what you mean, but IsPresented property can easily be changed! I have the following on the MD Page: IsPresented="{Binding IsMenuOpen, Mode=TwoWay}" So I can open/close that menu from anywhere.

    – Amir No-Family
    Nov 16 '18 at 17:18













  • That isn't quite what I want - ideally I want to be able to remove the icon altogether (like you can with the back button) as I plan to use my own icon to open the menu. If this can't be done then I would accept just being able to change the colour of the icon. The problem with this is all other icons on my Toolbar are black and the default Burger Menu icon is white. So basically I want to either change the colour of the default icon or remove it completely so that I can use my own.

    – plingingo
    Nov 21 '18 at 9:39



















Not sure if that's what you mean, but IsPresented property can easily be changed! I have the following on the MD Page: IsPresented="{Binding IsMenuOpen, Mode=TwoWay}" So I can open/close that menu from anywhere.

– Amir No-Family
Nov 16 '18 at 17:18







Not sure if that's what you mean, but IsPresented property can easily be changed! I have the following on the MD Page: IsPresented="{Binding IsMenuOpen, Mode=TwoWay}" So I can open/close that menu from anywhere.

– Amir No-Family
Nov 16 '18 at 17:18















That isn't quite what I want - ideally I want to be able to remove the icon altogether (like you can with the back button) as I plan to use my own icon to open the menu. If this can't be done then I would accept just being able to change the colour of the icon. The problem with this is all other icons on my Toolbar are black and the default Burger Menu icon is white. So basically I want to either change the colour of the default icon or remove it completely so that I can use my own.

– plingingo
Nov 21 '18 at 9:39







That isn't quite what I want - ideally I want to be able to remove the icon altogether (like you can with the back button) as I plan to use my own icon to open the menu. If this can't be done then I would accept just being able to change the colour of the icon. The problem with this is all other icons on my Toolbar are black and the default Burger Menu icon is white. So basically I want to either change the colour of the default icon or remove it completely so that I can use my own.

– plingingo
Nov 21 '18 at 9:39














0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53340478%2fxamarin-forms-hide-burger-menu%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53340478%2fxamarin-forms-hide-burger-menu%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

List item for chat from Array inside array React Native

Thiostrepton

Caerphilly