public void SetExprHost(ChartLegendCustomItemExprHost exprHost, ObjectModelImpl reportObjectModel) { Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)"); base.SetExprHost(exprHost, reportObjectModel); this.m_exprHost = exprHost; if (this.m_marker != null && this.m_exprHost.ChartMarkerHost != null) { this.m_marker.SetExprHost(this.m_exprHost.ChartMarkerHost, reportObjectModel); } if (this.m_action != null && this.m_exprHost.ActionInfoHost != null) { this.m_action.SetExprHost(this.m_exprHost.ActionInfoHost, reportObjectModel); } IList <ChartLegendCustomItemCellExprHost> chartLegendCustomItemCellsHostsRemotable = this.m_exprHost.ChartLegendCustomItemCellsHostsRemotable; if (this.m_chartLegendCustomItemCells != null && chartLegendCustomItemCellsHostsRemotable != null) { for (int i = 0; i < this.m_chartLegendCustomItemCells.Count; i++) { ChartLegendCustomItemCell chartLegendCustomItemCell = this.m_chartLegendCustomItemCells[i]; if (chartLegendCustomItemCell != null && chartLegendCustomItemCell.ExpressionHostID > -1) { chartLegendCustomItemCell.SetExprHost(chartLegendCustomItemCellsHostsRemotable[chartLegendCustomItemCell.ExpressionHostID], reportObjectModel); } } } }
public ChartLegendCustomItemCell(AspNetCore.ReportingServices.ReportIntermediateFormat.ChartLegendCustomItemCell chartLegendCustomItemCellDef, Chart chart) { this.m_chartLegendCustomItemCellDef = chartLegendCustomItemCellDef; this.m_chart = chart; }
public override object PublishClone(AutomaticSubtotalContext context) { ChartLegendCustomItemCell chartLegendCustomItemCell = (ChartLegendCustomItemCell)base.PublishClone(context); if (this.m_action != null) { chartLegendCustomItemCell.m_action = (Action)this.m_action.PublishClone(context); } if (this.m_cellType != null) { chartLegendCustomItemCell.m_cellType = (ExpressionInfo)this.m_cellType.PublishClone(context); } if (this.m_text != null) { chartLegendCustomItemCell.m_text = (ExpressionInfo)this.m_text.PublishClone(context); } if (this.m_cellSpan != null) { chartLegendCustomItemCell.m_cellSpan = (ExpressionInfo)this.m_cellSpan.PublishClone(context); } if (this.m_toolTip != null) { chartLegendCustomItemCell.m_toolTip = (ExpressionInfo)this.m_toolTip.PublishClone(context); } if (this.m_imageWidth != null) { chartLegendCustomItemCell.m_imageWidth = (ExpressionInfo)this.m_imageWidth.PublishClone(context); } if (this.m_imageHeight != null) { chartLegendCustomItemCell.m_imageHeight = (ExpressionInfo)this.m_imageHeight.PublishClone(context); } if (this.m_symbolHeight != null) { chartLegendCustomItemCell.m_symbolHeight = (ExpressionInfo)this.m_symbolHeight.PublishClone(context); } if (this.m_symbolWidth != null) { chartLegendCustomItemCell.m_symbolWidth = (ExpressionInfo)this.m_symbolWidth.PublishClone(context); } if (this.m_alignment != null) { chartLegendCustomItemCell.m_alignment = (ExpressionInfo)this.m_alignment.PublishClone(context); } if (this.m_topMargin != null) { chartLegendCustomItemCell.m_topMargin = (ExpressionInfo)this.m_topMargin.PublishClone(context); } if (this.m_bottomMargin != null) { chartLegendCustomItemCell.m_bottomMargin = (ExpressionInfo)this.m_bottomMargin.PublishClone(context); } if (this.m_leftMargin != null) { chartLegendCustomItemCell.m_leftMargin = (ExpressionInfo)this.m_leftMargin.PublishClone(context); } if (this.m_rightMargin != null) { chartLegendCustomItemCell.m_rightMargin = (ExpressionInfo)this.m_rightMargin.PublishClone(context); } return(chartLegendCustomItemCell); }