The Wayback Machine - https://web.archive.org/web/20200613025656/https://github.com/xamarin/xamarin-forms-samples
Skip to content
Sample apps built using the Xamarin.Forms framework
C# Other
  1. C# 99.3%
  2. Other 0.7%
Branch: master
Clone or download

Latest commit

Latest commit a28d98e May 28, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Advanced/DependencyResolution Replaced deprecated method. May 28, 2020
Behaviors Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
BoxView Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
BugSweeper Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
CatClock Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
ClassHierarchy Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
CocosSharpForms Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
CustomRenderers Replaced deprecated method. May 28, 2020
DataBindingDemos Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
DeepLinking Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
DependencyService Replaced deprecated method. May 28, 2020
Effects Changed CornerRadius to ShadowRadius. May 18, 2020
EmployeeDirectory Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
Forms2Native Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
FormsGallery Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
FormsGridLayout Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
GetStarted Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
LabelledSectionsList Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
LocalNotifications Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
MobileCRM Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
Native2Forms Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
Navigation Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
Pages/DataPagesDemo Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
RpnCalculator Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
ScaleAndRotate Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
Sensors Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
SignInWithApple Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
SkiaSharpForms Replaced deprecated method. May 28, 2020
SolitaireEncryption Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
Templates Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
TipCalc Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
Todo Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
TodoLocalizedRTL Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
UserInterface Replaced deprecated method. May 28, 2020
UsingMessagingCenter Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
UsingResxLocalization Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
UsingUITest Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
Weather Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
WebServices Type clarifications. May 28, 2020
WorkingWithColors Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
WorkingWithDevice Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
WorkingWithFiles Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
WorkingWithFonts Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
WorkingWithGestures Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
WorkingWithImages Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
WorkingWithListview Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
WorkingWithListviewNative Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
WorkingWithMaps Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
WorkingWithStyles Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
WorkingWithTriggers Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
WorkingWithWebview Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
XAML Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
XamFormsImageResize Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
XamlSamples Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
Xuzzle Mass update to Xamarin.Forms 4.6.0.726 (#612) Apr 30, 2020
.gitattributes Introduce end-of-line normalization for packages.config files Aug 11, 2015
.gitignore manually tweak for new portal Jul 18, 2019
ISSUE_TEMPLATE.md Issue template fixed. Mar 8, 2018
LICENSE Readme updated. Mar 22, 2018
PULL_REQUEST_TEMPLATE.md Additional note added. Mar 27, 2018
README.md Add newline to end of each readme. Jan 6, 2020

README.md

Xamarin.Forms code samples

The samples in this repository demonstrate how to use different aspects of Xamarin.Forms to build cross-platform apps for iOS, Android, and the Universal Windows Platform (UWP). Please visit Microsoft code sample browser to download individual samples.

For additional platform support, visit the following forks:

License

See the license file and any additional license information attached to each sample.

Sample submission guidelines

This repository welcomes contributions and suggestions. If you want to create a new sample, you need to work with an employee to help bring the new sample into the repository. Start by raising a GitHub issue in this repository that outlines your proposed sample. Please note that samples in the master branch of this repository shouldn't rely on preview or pre-release NuGet packages.

The Xamarin.Forms samples in the Microsoft samples browser are sourced from this repository. Samples need to comply with the following requirements:

  • Screenshots - a folder called Screenshots that has at least one screen shot of the sample on each platform (preferably a screen shot for every page or every major piece of functionality). For an example of this, see TodoREST.

  • Readme - a README.md file that explains the sample, and contains metadata to help customers find it. For an example of this, see WebServices/TodoREST. The README file should begin with a YAML header (delimited by ---) with the following keys/values:

    • name - must begin with Xamarin.Forms -

      • description - brief description of the sample (< 150 chars) that appears in the sample code browser search

      • page_type - must be the string sample.

      • languages - coding language/s used in the sample, such as: csharp, fsharp, vb, java

      • products: should be xamarin for every sample in this repo

      • urlFragment: although this can be auto-generated, please supply a value that represents the sample's path in this repo, except directory separators are replaced with dashes (-).

      Here is a working example from WebServices/TodoREST README raw view.

      ---
      name: Xamarin.Forms - TodoREST
      description: This sample demonstrates a Todo list application where the data is stored and accessed from a RESTful web service.
      page_type: sample
      languages:
      - csharp
      products:
      - xamarin
      urlFragment: webservices-todorest
      ---
      # Heading 1
      
      rest of README goes here, including screenshot images and requirements/instructions to get it running

      NOTE: This must be valid YAML, so some characters in the name or description will require the entire string to be surrounded by " or ' quotes.

  • Buildable solution and .csproj file - the project must build and have the appropriate project scaffolding (solution + .csproj files).

This approach ensures that all samples integrate with the Microsoft sample code browser.

If you have any questions, create an issue or ask on the Xamarin Forums.

You can’t perform that action at this time.