skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Use Reports in Applications
    • System Requirements
    • Forums
    • Videos
    • Blogs
    • Submit a Ticket
    • FAQs
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now
Search all

Class TextBlock

Label text properties

Inheritance
System.Object
StateManagedObject
RenderedObject
LayoutElement
TextBlock
TextBlockAxisItem
TextBlockEmptySeriesMessage
TextBlockHidden
TextBlockLabelItem
TextBlockMarkedZone
TextBlockSeriesItem
TextBlockTitle
TextBlockXAxisLabel
TextBlockYAxisLabel
Inherited Members
LayoutElement.GetOffsetLeft(Object)
LayoutElement.GetOffsetTop(Object)
LayoutElement.GetOffsetRight(Object)
LayoutElement.GetOffsetBottom(Object)
LayoutElement.TrackViewState()
LayoutElement.LoadViewState(Object)
LayoutElement.SaveViewState()
LayoutElement.Dispose(Boolean)
RenderedObject.objectContainer
RenderedObject.GetOrder()
RenderedObject.SetOrder(Int32)
RenderedObject.Remove()
RenderedObject.BringForward()
RenderedObject.BringToFront()
RenderedObject.SendBackward()
RenderedObject.SendToBack()
RenderedObject.Container
StateManagedObject.IChartingStateManager.LoadViewState(Object)
StateManagedObject.IChartingStateManager.SaveViewState()
StateManagedObject.IChartingStateManager.TrackViewState()
StateManagedObject.CloneState()
StateManagedObject.SetDirty()
StateManagedObject.ToString()
StateManagedObject.Dispose()
StateManagedObject.ViewStateIgnoresCase
StateManagedObject.IChartingStateManager.IsTrackingViewState
Namespace: Telerik.Reporting.Charting
Assembly: Telerik.Reporting.dll

Syntax

public class TextBlock : LayoutElement, IChartingStateManagedItem, IChartingStateManager, IOrdering, IDisposable

Constructors

TextBlock()

Create new instance of TextBlock class.

Declaration
public TextBlock()

TextBlock(String)

Create new instance of TextBlock class.

Declaration
public TextBlock(string text)
Parameters
System.String text

Text

TextBlock(ChartBaseLabel, IContainer)

Create new instance of TextBlock class.

Declaration
public TextBlock(ChartBaseLabel parent, IContainer container)
Parameters
ChartBaseLabel parent

Parent element

IContainer container

Container element

TextBlock(ChartBaseLabel, IContainer, String)

Create new instance of TextBlock class.

Declaration
public TextBlock(ChartBaseLabel parent, IContainer container, string text)
Parameters
ChartBaseLabel parent

Parent element

IContainer container

Container element

System.String text

Text

TextBlock(ChartBaseLabel, IContainer, StyleTextBlock)

Create new instance of TextBlock class.

Declaration
public TextBlock(ChartBaseLabel parent, IContainer container, StyleTextBlock appearance)
Parameters
ChartBaseLabel parent

Parent element

IContainer container

Container element

StyleTextBlock appearance

Style of TextBlock

TextBlock(ChartBaseLabel, IContainer, StyleTextBlock, String)

Create new instance of TextBlock class.

Declaration
public TextBlock(ChartBaseLabel parent, IContainer container, StyleTextBlock appearance, string text)
Parameters
ChartBaseLabel parent

Parent element

IContainer container

Container element

StyleTextBlock appearance

Style of textblock

System.String text

Text

TextBlock(StyleTextBlock)

Create new instance of TextBlock class.

Declaration
public TextBlock(StyleTextBlock appearance)
Parameters
StyleTextBlock appearance

Style of TextBlock

TextBlock(StyleTextBlock, String)

Create new instance of TextBlock class.

Declaration
public TextBlock(StyleTextBlock appearance, string text)
Parameters
StyleTextBlock appearance

Style of TextBlock

System.String text

Text

Fields

DEFAULT_TEXT

Default text of text block

Declaration
protected string DEFAULT_TEXT
Field Value
System.String

textBlockCalculatedMaxLength

Max length of text

Declaration
protected int textBlockCalculatedMaxLength
Field Value
System.Int32

textBlockParent

Parent element

Declaration
protected ChartBaseLabel textBlockParent
Field Value
ChartBaseLabel

Properties

Appearance

Text field style

Declaration
[SkinnableProperty]
public StyleTextBlock Appearance { get; }
Property Value
StyleTextBlock

Style of TextBlock

Parent

Parent chart element

Declaration
public ChartBaseLabel Parent { get; set; }
Property Value
ChartBaseLabel

Parent element

Text

Contained text data

Declaration
public virtual string Text { get; set; }
Property Value
System.String

Text

Visible

get a and sets visibility of TextBlock

Declaration
public virtual bool Visible { get; set; }
Property Value
System.Boolean

Visibility of TextBlock

Methods

CopyFrom(TextBlock)

Declaration
public void CopyFrom(TextBlock textBlock)
Parameters
TextBlock textBlock

Getting Started
  • Install Now
  • Online Demos
Support Resources
  • Documentation
  • Knowledge Base
  • Videos
  • Reporting Samples Repository
  • Reporting Release History
Community
  • Forums
  • Blogs
  • Reporting Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.