Functionality23.xaml.cs 743 Bytes
Newer Older
Mattia's avatar
Mattia committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
using System;
using System.Collections.Generic;
using SampleApp.CustomRenderers;

using Xamarin.Forms;

namespace SampleApp.Views
{
    public partial class Functionality23 : ContentPage
    {
        public static CustomView customEditor = new CustomView { Text = "", HorizontalOptions = LayoutOptions.FillAndExpand, VerticalOptions = LayoutOptions.FillAndExpand};
        public Functionality23()
        {
            InitializeComponent();
            if (Device.RuntimePlatform == Device.Android)
            {
                customEditor.Text = "NOT AVAILABLE ON Android";
            }

            AutomationProperties.SetIsInAccessibleTree(customEditor, true);
            background.Children.Add(customEditor);
        }
    }
}