Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
IeuanWalker committed Apr 6, 2022
1 parent 5081c7e commit be922b9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ BreadcrumbButtonRenderer.Init();

To add to a page the first thing we need to do is tell our XAML page where it can find the Breadcrumb control, which is done by adding the following attribute to our ContentPage:

```xaml
```xml
<ContentPage x:Class="DemoApp.Pages.BasePage"
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
Expand All @@ -48,7 +48,7 @@ To add to a page the first thing we need to do is tell our XAML page where it ca

Next up, just add the breadcrumb control onto that page and you're all set.

```xaml
```xml
<breadcrumb:Breadcrumb Padding="15" VerticalOptions="Start" />
```

Expand All @@ -72,7 +72,7 @@ Next up, just add the breadcrumb control onto that page and you're all set.
You are able to change the first breadcrumb to an Icon, embedded image or url image.
It implements the Xamarin.Forms ImageSource object.

```xaml
```xml
<breadcrumb:Breadcrumb Padding="15" VerticalOptions="Start">
<breadcrumb:Breadcrumb.FirstBreadCrumb>
<FontImageSource FontFamily="{StaticResource FontAwesome}"
Expand All @@ -88,7 +88,7 @@ You are able to change the separators to an Icon, embedded image or url image.
It implements the Xamarin.Forms ImageSource object.

Font - (FontAwesome)
```xaml
```xml
<breadcrumb:Breadcrumb Padding="15" VerticalOptions="Start">
<breadcrumb:Breadcrumb.Separator>
<FontImageSource FontFamily="{StaticResource FontAwesome}"
Expand All @@ -100,7 +100,7 @@ Font - (FontAwesome)
```

Image - URL
```xaml
```xml
<breadcrumb:Breadcrumb Padding="15" VerticalOptions="Start">
<breadcrumb:Breadcrumb.Separator>
<UriImageSource Uri="https://cdn.iconscout.com/icon/free/png-256/xamarin-4-599473.png" />
Expand All @@ -109,7 +109,7 @@ Image - URL
```

Image - Embedded
```xaml
```xml
<breadcrumb:Breadcrumb Padding="15" VerticalOptions="Start">
<breadcrumb:Breadcrumb.Separator>
<FileImageSource File="exampleImage.png" />
Expand Down

0 comments on commit be922b9

Please sign in to comment.