public void Dispose() { if (label != null) { label.Dispose(); } }
protected override void OnDispose() { if (titleLine != null) { titleLine.Dispose(); } }
public void Dispose() { if (textLine != null) { textLine.Dispose(); } }
protected override void OnDispose() { if (label != null) { label.Dispose(); } }
protected override void OnDispose() { lblAmount.Dispose(); if (dragOffset.HasValue) { Host.ReleaseMouse(); } }
void MakeNewText() { if (fmt == null) { fmt = TextFormatterFactory.Create(this, provider); } if (line != null) { line.Dispose(); } src.UpdateParent(this); line = fmt.FormatLine(src.Source, 0, 0, new ParaProps(this), null); }
// Token: 0x060068A0 RID: 26784 RVA: 0x001D8230 File Offset: 0x001D6430 internal void FormatAndDrawVisual(DrawingContext ctx, LineProperties lineProps, int ur, int vrBaseline) { bool flag = lineProps.FlowDirection == FlowDirection.RightToLeft; this._host.Context = this; try { TextLine textLine = this._host.TextFormatter.FormatLine(this._host, 0, 0.0, lineProps.FirstLineProps, null, new TextRunCache()); Point origin = new Point(TextDpi.FromTextDpi(ur), TextDpi.FromTextDpi(vrBaseline) - textLine.Baseline); textLine.Draw(ctx, origin, flag ? InvertAxes.Horizontal : InvertAxes.None); textLine.Dispose(); } finally { this._host.Context = null; } }
protected override void OnDispose() { textLine.Dispose(); }
public void Dispose() { drawingVisual = null; textLine.Dispose(); }
public void Remove() { line.Dispose(); parent.texts.Remove(this); }
protected override void OnDispose() { text.Dispose(); numText.Dispose(); }
public void Dispose() { text.Dispose(); }