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

            return((String)GetPropertyValue(item, propertyName));
        }