public object CreateCollectionItem(string propertyName, XtraItemEventArgs e) { ObjectInfo info = new ObjectInfo(); Collection.Add(info); return(info); }
protected object XtraCreateHistoryItem(XtraItemEventArgs e) { ArbitrageStatisticsItem item = new ArbitrageStatisticsItem(); History.Add(item); return(item); }
internal GridFitlerItem XtraCreateGridFiltersItem(XtraItemEventArgs e) { GridFitlerItem fItem = new GridFitlerItem(); GridFilters.Add(fItem); return(fItem); }
internal object XtraCreateFilterConditionsItem(XtraItemEventArgs e) { ColumnFilterCondition filterCondition = new ColumnFilterCondition(); filterCollection.Add(filterCondition); return(filterCondition); }
protected override object CreateCollectionItem(string propertyName, XtraItemEventArgs e) { if (propertyName == FieldHeaderName) { return(CreateHeader()); } return(base.CreateCollectionItem(propertyName, e)); }
protected override object XtraCreatePanelsItem(XtraItemEventArgs e) { DockingStyle dock = DockLayoutUtils.ConvertToDockingStyle(e.Item.ChildProperties["Dock"].Value.ToString()); TsDockPanel result = new TsDockPanel(e.Item.ChildProperties["Count"].Value.ToString() == "0", dock, this, e.Item.ChildProperties["AlwaysTop"].Value.ToString() == "true"); //CreateDockPanel(dock, e.Item.ChildProperties["Count"].Value.ToString() == "0", e.Item.ChildProperties["AlwaysTop"]); if (IsDesignMode && Site != null && Site.Container != null) { Site.Container.Add(result); } return(result); }
FileRenameValueReference XtraCreateFileRenameValuesItem(XtraItemEventArgs e) { XtraPropertyInfo item = e.Item.ChildProperties["FileRenameValueName"]; if (item == null || item.Value == null) { return(null); } string name = item.Value.ToString(); FileRenameValueBase value = FileRenameManager.Default.GetFileRenameValue(name); return(value.CreateReference()); }
protected AccountInfo XtraCreateAccountsItem(XtraItemEventArgs e) { return(new AccountInfo()); }
object XtraCreateFilesItem(XtraItemEventArgs e) { return(new PathData()); }
object XtraCreateAlbumsItem(XtraItemEventArgs e) { return(new AlbumData()); }
internal void XtraClearFilterConditions(XtraItemEventArgs e) { filterCollection.Clear(); }
PinnedTickerInfo XtraCreatePinnedTickersItem(XtraItemEventArgs e) { return(new PinnedTickerInfo()); }
private object XtraCreateConditionsItem(XtraItemEventArgs e) { return(Conditions.Add()); }
object IXtraSupportDeserializeCollectionItem.CreateCollectionItem(string propertyName, XtraItemEventArgs e) { if (propertyName == "Objects") { Class1 class1 = new Class1(); Objects.Add(class1); return(class1); } else { return(null); } }
TrailingSettings XtraCreateTrailingsItem(XtraItemEventArgs e) { return(new TrailingSettings(this)); }
protected TickerEvent XtraCreateEventsItem(XtraItemEventArgs e) { return(new TickerEvent()); }
internal object XtraCreateDiagramRelationsItem(XtraItemEventArgs e) { DiagramRelation item = new DiagramRelation(); XtraPropertyInfo infoType = e.Item.ChildProperties["Item1"]; XtraPropertyInfo locationInfo = infoType.ChildProperties["Location"]; PointF point1 = (PointF)locationInfo.ValueToObject(typeof(PointF)); item.Item1 = DiagramItems.First(di => di.Location == point1); infoType = e.Item.ChildProperties["Item2"]; locationInfo = infoType.ChildProperties["Location"]; PointF point2 = (PointF)locationInfo.ValueToObject(typeof(PointF)); item.Item2 = DiagramItems.First(di => di.Location == point2); DiagramRelations.Add(item); return item; }
internal object XtraCreateDiagramItemsItem(XtraItemEventArgs e) { DiagramItem item = new DiagramItem(this); DiagramItems.Add(item); return item; }
internal void XtraClearColumnFilterConditions(XtraItemEventArgs e) { ColumnFilterConditions.Clear(); }
ExchangeCollectionInfo XtraCreateExchangesItem(XtraItemEventArgs e) { return(new ExchangeCollectionInfo()); }