/// <summary>
 ///   Constructor.
 /// </summary>
 public ContextPropertyContext()
 {
     this.items.Add(new ContextPropertyItemContext { Text = "This" });
     this.items.Add(new ContextPropertyItemContext { Text = "Is" });
     var itemContext = new ContextPropertyItemContext { Text = "Data Bind" };
     this.items.Add(itemContext);
     this.SelectedItem = itemContext;
 }
Beispiel #2
0
        /// <summary>
        ///   Constructor.
        /// </summary>
        public ContextPropertyContext()
        {
            this.items.Add(new ContextPropertyItemContext {
                Text = "This"
            });
            this.items.Add(new ContextPropertyItemContext {
                Text = "Is"
            });
            var itemContext = new ContextPropertyItemContext {
                Text = "Data Bind"
            };

            this.items.Add(itemContext);
            this.SelectedItem = itemContext;
        }
Beispiel #3
0
 /// <summary>
 ///   Selects the specified item.
 /// </summary>
 /// <param name="item">Item to select.</param>
 public void OnItemSelected(Context item)
 {
     Debug.Log("Item selected: " + item);
     this.SelectedItem = (ContextPropertyItemContext)item;
 }
 /// <summary>
 ///   Selects the specified item.
 /// </summary>
 /// <param name="item">Item to select.</param>
 public void OnItemSelected(Context item)
 {
     Debug.Log("Item selected: " + item);
     this.SelectedItem = (ContextPropertyItemContext)item;
 }