This is a migrated thread and some comments may be shown as answers.

Left toolbar with icons and company logo on right

6 Answers 92 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Prava kafle
Top achievements
Rank 1
Prava kafle asked on 03 Oct 2016, 06:38 PM

Hi,
I am trying to create a toolbar item and if I add an icon it crashes. Can someone guide me on this?. If possible I would like to position this on the left and application logo on right. Is there any sample or documentation on this?
  <ContentPage.ToolbarItems>
    <ToolbarItem Activated="OnToolbarButtonClick"  Text="Open SideDrawer" Icon="hamburgerbuttonicon.png"    >
      <ToolbarItem.Icon>
           <OnPlatform x:TypeArguments="FileImageSource"
                        iOS="hamburgerButtonIcon.png"
                        Android="hamburgerbuttonicon.png"
                        WinPhone="Assets/hamburgerButtonIcon.png" />
      </ToolbarItem.Icon>
    </ToolbarItem>
  </ContentPage.ToolbarItems>

Thanks,
Prava

6 Answers, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 05 Oct 2016, 11:12 AM
Hello Prava,

Please note that you have reached Telerik forums. The XamarinForms ContentPage is not part of our UI for XamarinFomrs suite this is why we cannot give you an answer of your question.

However, you can take a look at the source code of our QSF application. In it we created our own navigation bar that serves our needs. And more importantly it looks identical throughout all platforms.

Regards,
Pavel R. Pavlov
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
N Mackay
Top achievements
Rank 1
answered on 05 Oct 2016, 01:14 PM

This isn't supported at the moment in Forms.

There's enhancements coming in Forms 2.3 & 2.4 which may make this possible. You'd have to explore custom renderers if you want to achieve this with Forms 2.3.2 or earlier.

As Pavel says, this is the forum you want.

https://forums.xamarin.com/categories/xamarin-forms

 

 

0
Glen
Top achievements
Rank 1
answered on 09 Mar 2017, 12:38 AM
I have looked for the QSF application and can't find a link to it. Can you please provide?
0
Pavel R. Pavlov
Telerik team
answered on 10 Mar 2017, 07:25 AM
Hi Glen,

Here is a link to the application in the Google Play store. The application goes with the same name in the Apple's store as well.

However, you may not want to install it on your device. If you want to explore the code on your PC you can take a look at the source of the application. We ship it with our installation. You can navigate to the installation directory on your PC and you will be able to find a folder named QSF. It holds the whole solution of the application. If you have not changed the default installation path you will be able to find the solution here:

C:\Program Files (x86)\Telerik\[release version]\QSF‚Äč

I hope this information is helpful.

Regards,
Pavel R. Pavlov
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
N Mackay
Top achievements
Rank 1
answered on 11 Apr 2017, 02:13 PM
That's hardly a workaround, nesting a grid in every page.
0
N Mackay
Top achievements
Rank 1
answered on 12 Apr 2017, 01:28 PM

Also can't use this pattern if you have to push a modal tabbed page.

Tags
General Discussions
Asked by
Prava kafle
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
N Mackay
Top achievements
Rank 1
Glen
Top achievements
Rank 1
Share this question
or