text: //*********************************************************
  //
  // Copyright (c) Microsoft. All rights reserved.
  // This code is licensed under the MIT License (MIT).
  // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
  // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
  // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
  // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
  //
  //*********************************************************
  
  #pragma once
  
  #include "Scenario1_Basic.g.h"
  #include "MainPage.xaml.h"
  
  namespace SDKTemplate
  {
      [Windows::Foundation::Metadata::WebHostHidden]
      public ref class Scenario1_Basic sealed
      {
      public:
          Scenario1_Basic();
  
      protected:
          void AddItemToEnd();
          void DeleteSelectedItem();
          void SaveScrollPosition();
          void RestoreScrollPosition();
  
      private:
          int messageNumber = 0;
          Platform::String^ savedScrollPosition;
      };
  }
  