void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.comboBox = ((iq007.UI.FilterComboBox)(target)); return; } this._contentLoaded = true; }
private static bool IsItemsEmpty(FilterComboBox comboBox) { return(!comboBox.HasItems || comboBox.Items == null); }
private static String GetText(Object item, FilterComboBox comboBox) { String propertyName = (String)comboBox.GetValue(TextSearch.TextPathProperty); return((String)GetPropertyValue(item, propertyName)); }