internal SpreadChartElement(SpreadChartBase chart) { this._isAutomaticFill = true; this._isAutomaticStroke = true; this._suspendState = new WorkingState(); this._chart = chart; }
/// <summary> /// Suspends the specified key. /// </summary> /// <param name="key">Key to suspend.</param> public void AddRef(string key) { if (this.states == null) { this.states = (IDictionary <string, WorkingState>) new Dictionary <string, WorkingState>(); } if (this.states.ContainsKey(key)) { this.states[key].AddRef(); } else { WorkingState state2 = new WorkingState(); state2.AddRef(); this.states.Add(key, state2); } }
public FloatingObjectStyleInfo(FloatingObjectStyleInfo format) { this._suspendState = new WorkingState(); this._lineJoinType = PenLineJoin.Round; this.CopyFromInternal(format, true); }
public FloatingObjectStyleInfo() { this._suspendState = new WorkingState(); this._lineJoinType = PenLineJoin.Round; this.Init(); }
/// <summary> /// Initializes a new instance of the <see cref="T:Dt.Cells.Data.SpreadChartElement" /> class. /// </summary> public SpreadChartElement() { this._isAutomaticFill = true; this._isAutomaticStroke = true; this._suspendState = new WorkingState(); }
/// <summary> /// Initializes a new instance of the <see cref="T:Dt.Cells.Data.FloatingObject" /> class. /// </summary> /// <param name="name">The name of the floating object.</param> /// <param name="x">The x location of the floating object.</param> /// <param name="y">The y location of the floating object.</param> /// <param name="width">The width of the floating object.</param> /// <param name="height">The height of the floating object.</param> public FloatingObject(string name, double x, double y, double width, double height) { this._suspendState = new WorkingState(); this.Init(name, x, y, width, height); }
/// <summary> /// Initializes a new instance of the <see cref="T:Dt.Cells.Data.FloatingObject" /> class. /// </summary> /// <param name="name">The name of the floating object.</param> /// <param name="x">The x location of the floating object.</param> /// <param name="y">The y location of the floating object.</param> public FloatingObject(string name, double x, double y) { this._suspendState = new WorkingState(); this.Init(name, x, y, 300.0, 300.0); }
/// <summary> /// Creates a new notify collection. /// </summary> protected NotifyCollectionBase() { this.items = new List <T>(); this.suspendState = new WorkingState(); }