private static void OnTextChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) { ItemSelector thisSelector = (sender as ItemSelector); if (null == thisSelector) { return; } thisSelector.UpdateTextDisplay(); }
public DefaultSelectorLink(ItemSelector selector) { if (selector == null) { throw new ArgumentNullException("controller"); //NOXLATE } _selector = selector; InitializeComponent(); mLink.LostFocus += OnLinkLostFocus; mPopUp.KeyUp += OnPopupKeyUp; }
public SelectContext(ItemSelector parent) { Parent = parent; SelectItems = new ObservableCollection <SelectItem>(); }
/// <summary> /// Initializes a new instance of Autodesk.IM.UI.Rule.LiteralSelectContext class /// with specified ItemSelector instance as parent. /// </summary> /// <param name="parent">The specified ItemSelector instance as parent.</param> public LiteralSelectContext(ItemSelector parent) : base(parent) { }