public override void Initialize() { base.Initialize(); this.StartColor = new ReportExpression <ReportColor>("Green", CultureInfo.InvariantCulture); this.MiddleColor = new ReportExpression <ReportColor>("Yellow", CultureInfo.InvariantCulture); this.EndColor = new ReportExpression <ReportColor>("Red", CultureInfo.InvariantCulture); }
public void Validate(object component, ReportExpression <T> value) { if (!value.IsExpression) { this.Validate(component, value.Value); } }
private bool CommandTextEquivalent(ReportExpression first, ReportExpression second) { string a = this.FixCommandText(first.ToString()); string b = this.FixCommandText(second.ToString()); return(a == b); }
public override void Initialize() { base.Initialize(); this.Layout = MapLegendLayouts.AutoTable; this.MinFontSize = new ReportExpression <ReportSize>("7pt", CultureInfo.InvariantCulture); this.InterlacedRowsColor = new ReportExpression <ReportColor>("LightGray", CultureInfo.InvariantCulture); this.TextWrapThreshold = 25; }
public override void Initialize() { base.Initialize(); this.VisibilityMode = MapVisibilityModes.Visible; this.MinimumZoom = 50.0; this.MaximumZoom = 200.0; this.Transparency = 0.0; }
public override void Initialize() { base.Initialize(); this.GaugePointers = new RdlCollection <GaugePointer>(); this.ScaleRanges = new RdlCollection <ScaleRange>(); this.CustomLabels = new RdlCollection <CustomLabel>(); this.LogarithmicBase = 10.0; this.Multiplier = 1.0; this.Width = 5.0; }
public override void Initialize() { base.Initialize(); this.ChartLegendColumns = new RdlCollection <ChartLegendColumn>(); this.Position = ChartPositions.RightTop; this.Layout = ChartLegendLayouts.AutoTable; this.ColumnSpacing = 50; this.MaxAutoSize = 50; this.TextWrapThreshold = 25; }
void IXmlSerializable.ReadXml(XmlReader reader) { string attribute = reader.GetAttribute("DataType"); if (attribute != null) { this.DataType = (DataTypes)ReportExpression.ParseEnum(typeof(DataTypes), attribute); } string attribute2 = reader.GetAttribute("EvaluationMode"); if (attribute2 != null) { this.EvaluationMode = (EvaluationMode)ReportExpression.ParseEnum(typeof(EvaluationMode), attribute2); } this.m_value = reader.ReadString(); reader.Skip(); }
public override bool Equals(object value) { if (value is ReportExpression) { ReportExpression reportExpression = (ReportExpression)value; if (this.Value == reportExpression.Value && this.IsExpression == reportExpression.IsExpression) { return(this.DataType == reportExpression.DataType); } return(false); } if (value is string) { return(this.Equals(new ReportExpression(((string)value) ?? ""))); } if (value == null) { return(this.Value == ""); } return(false); }
public override void Initialize() { base.Initialize(); this.SeriesSymbolWidth = 200; this.SeriesSymbolHeight = 70; }
public override void Initialize() { base.Initialize(); this.Color = Constants.DefaultEmptyColor; this.Style = BorderStyles.Solid; }
public override void Initialize() { base.Initialize(); this.Width = new ReportExpression <ReportSize>("3.75pt", CultureInfo.InvariantCulture); this.LabelPlacement = MapLineLabelPlacements.Above; }
public override void Initialize() { base.Initialize(); this.Color = Constants.DefaultEmptyColor; }
public override void Initialize() { base.Initialize(); this.ScaleColor = new ReportExpression <ReportColor>("White", CultureInfo.InvariantCulture); this.ScaleBorderColor = new ReportExpression <ReportColor>("DarkGray", CultureInfo.InvariantCulture); }
public override void Initialize() { base.Initialize(); this.TitleSeparator = MapLegendTitleSeparators.None; this.TitleSeparatorColor = new ReportExpression <ReportColor>("Gray", CultureInfo.InvariantCulture); }
public override void Initialize() { base.Initialize(); this.Size = new ReportExpression <ReportSize>("5.25pt", CultureInfo.InvariantCulture); this.LabelPlacement = MapPointLabelPlacements.Bottom; }
public static void GetEmbeddedImgDependencies(Report report, ICollection <ReportObject> dependencies, SourceType imageSource, ReportExpression imageValue) { if (report != null && dependencies != null && !string.IsNullOrEmpty(imageValue.Expression) && imageSource == SourceType.Embedded && !imageValue.IsExpression) { EmbeddedImage embeddedImageByName = report.GetEmbeddedImageByName(imageValue.Expression); if (embeddedImageByName != null && !dependencies.Contains(embeddedImageByName)) { dependencies.Add(embeddedImageByName); } } }
public override void Initialize() { base.Initialize(); this.ResizeMode = MapResizeModes.AutoFit; }