Skip to content

1. Installation

Clément Sepulchre edited this page Nov 16, 2023 · 3 revisions

1. Install Nuget Package and reference it

Install CherylUI Nuget Package.

Add CherylUI in your your App.axaml

 <Application.Styles>
        <StyleInclude Source="avares://CherylUI/Index.axaml" />
 </Application.Styles>

2. Add InteractiveContainer

To use Mobile Controls, please add at the root of your app (MainView.axaml, etc ..) an InteractiveContainer control.

   <controls:InteractiveContainer>
         ... your App ...
   </controls:InteractiveContainer>

3. Navigate with MobileNavigation

MobileNavigation is a CherylUI class accessible anywhere in your app. To go to a new page, simple use :

   MobileNavigation.Push(new UserControl());

To come back to the previous page, use :

   MobileNavigation.Pop();
Clone this wiki locally