public RadCheckedListDataItemCollection(
   RadCheckedDropDownListElement owner,
   ListDataLayer dataLayer,
   RadListElement ownerListElement)
   : base(dataLayer, ownerListElement)
 {
   this.owner = owner;
 }
Beispiel #2
0
 protected override void OnNotifyPropertyChanged(string propertyName)
 {
     if (propertyName == "Checked")
     {
         if (this.ownerElement == null || !this.ownerElement.IsInValidState(false) || this.ownerElement.ElementTree == null)
         {
             return;
         }
         RadCheckedDropDownListElement dropDownListElement = (RadCheckedDropDownListElement)((DropDownPopupForm)this.ownerElement.ElementTree.Control).OwnerDropDownListElement;
         dropDownListElement.ProcessItem(this);
         dropDownListElement.OnItemCheckedChanged(new RadCheckedListDataItemEventArgs(this));
     }
     base.OnNotifyPropertyChanged(propertyName);
 }
Beispiel #3
0
 protected virtual bool OnNotifyPropertyChanging(PropertyChangingEventArgsEx args)
 {
     if (args.PropertyName == "Checked")
     {
         if (this.ownerElement == null || !this.ownerElement.IsInValidState(false) || this.ownerElement.ElementTree == null)
         {
             return(false);
         }
         RadCheckedDropDownListElement dropDownListElement = (RadCheckedDropDownListElement)((DropDownPopupForm)this.ownerElement.ElementTree.Control).OwnerDropDownListElement;
         args.Cancel = dropDownListElement.OnItemCheckedChanging(new RadCheckedListDataItemCancelEventArgs(this));
     }
     if (this.PropertyChanging == null)
     {
         return(args.Cancel);
     }
     this.PropertyChanging((object)this, args);
     return(args.Cancel);
 }
Beispiel #4
0
 protected override RadDropDownListElement CreateDropDownListElement()
 {
     this.dropDownListElement = new RadCheckedDropDownListElement();
     return((RadDropDownListElement)this.dropDownListElement);
 }
 public DropDownCheckedItemsCollection(RadCheckedDropDownListElement owner)
     : base((IList <RadCheckedListDataItem>) new List <RadCheckedListDataItem>())
 {
     this.dropDownElement = owner;
 }
 public RadCheckedDropDownListEditableAreaElement(RadCheckedDropDownListElement owner)
     : base((RadDropDownListElement)owner)
 {
     this.autoCompleteTextBox.OwnerElement = owner;
 }
Beispiel #7
0
 public CheckAllDataItem(string text, RadCheckedDropDownListElement checkedElement)
     : base(text)
 {
     this.checkedElement = checkedElement;
 }