Example #1
0
        public DataSourceGroup(RadListSource owner, object value) : base(owner, value)
        {
            this.childItems = new List <IDataSourceItem>();
            this.dataGroup  = value as DataGroup;

            // group is expanded by default
            this.isExpanded = true;
        }
 public IDataSourceItem CreateItem(RadListSource owner, object value)
 {
     return(new DataSourceItem(owner, value));
 }
 public IDataSourceGroup CreateGroup(RadListSource owner, DataGroup group)
 {
     return(new DataSourceGroup(owner, group));
 }
Example #4
0
 public DataSourceItem(RadListSource owner, object value)
 {
     this.owner = owner;
     this.value = value;
     this.HookPropertyChanged();
 }