Пример #1
0
        public EditableComboBox()
        {
#if WINDOWS_PHONE
            ActionIcon        = ResourceHelper.GetBitmap("CustomControls/Toolkit.Content/ApplicationBar.Select.png");
            ActionIconTapped += new EventHandler(EditableComboBox_ActionIconTapped);
            Tap       += new EventHandler <System.Windows.Input.GestureEventArgs>(EditableComboBox_Tap);
            IsReadOnly = true;
            list       = new List <object>();
#else
#endif
            ShowCustom   = false;
            ShowCancel   = false;
            CustomString = "Delete";
            CancelString = "Cancel";

            resourceDictionary = Defines.GetGenericResourceDictionary();
        }