Пример #1
0
        /// <summary>
        /// Class constructor. Instantiates a new <c>NetworksLogPage</c> object.
        /// </summary>
        public NetworksLogPage()
        {
            InitializeComponent();

            networksList.ItemsSource = AppPreferences.GetNetworkIds();

            var template = new DataTemplate(typeof(TextCell));

            template.SetValue(TextCell.TextColorProperty, Color.Black);
            template.SetBinding(TextCell.TextProperty, ".");
            networksList.ItemTemplate = template;
        }