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 StyleTextBlock

Text block appearance

Inheritance
System.Object
StateManagedObject
Style
LayoutStyle
StyleTextBlock
StyleAxisItemText
StyleSeriesItemTextBlock
StyleTextBlockAxisLabel
StyleTextBlockError
StyleTextBlockHidden
StyleTextBlockTitle
Inherited Members
LayoutStyle.Position
LayoutStyle.Dimensions
Style.Border
Style.Shadow
Style.Visible
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.Styles
Assembly: Telerik.Reporting.dll

Syntax

public class StyleTextBlock : LayoutStyle, IChartingStateManagedItem, IChartingStateManager, IDisposable, ICloneable, IPosition

Constructors

StyleTextBlock()

Creates a new class instance

Declaration
public StyleTextBlock()

StyleTextBlock(Dimensions, FillStyle, Position, Single, TextProperties, Corners, StyleBorder, ShadowStyle, Boolean)

Creates a new class instance

Declaration
public StyleTextBlock(Dimensions dimensions, FillStyle fillStyle, Position position, float rotationAngle, TextProperties textProperties, Corners corners, StyleBorder border, ShadowStyle shadowStyle, bool visible)
Parameters
Dimensions dimensions

Dimensions

FillStyle fillStyle

Fill style settings

Position position

Position settings

System.Single rotationAngle

Rotation angle

TextProperties textProperties

Text appearance settings

Corners corners

Corners appearance

StyleBorder border

Border settings

ShadowStyle shadowStyle

Shadow settings

System.Boolean visible

Visibility settings

StyleTextBlock(FillStyle)

Creates a new class instance

Declaration
public StyleTextBlock(FillStyle fillStyle)
Parameters
FillStyle fillStyle

Fill style settings

StyleTextBlock(FillStyle, Position)

Creates a new class instance

Declaration
public StyleTextBlock(FillStyle fillStyle, Position position)
Parameters
FillStyle fillStyle

Fill style settings

Position position

Position settings

StyleTextBlock(FillStyle, Position, TextProperties)

Creates a new class instance

Declaration
public StyleTextBlock(FillStyle fillStyle, Position position, TextProperties textProperties)
Parameters
FillStyle fillStyle

Fill style settings

Position position

Position settings

TextProperties textProperties

Text appearance settings

StyleTextBlock(FillStyle, Position, TextProperties, Dimensions)

Creates a new class instance

Declaration
public StyleTextBlock(FillStyle fillStyle, Position position, TextProperties textProperties, Dimensions dimensions)
Parameters
FillStyle fillStyle

Fill style settings

Position position

Position settings

TextProperties textProperties

Text appearance settings

Dimensions dimensions

Dimensions

StyleTextBlock(FillStyle, TextProperties)

Creates a new class instance

Declaration
public StyleTextBlock(FillStyle fillStyle, TextProperties textProperties)
Parameters
FillStyle fillStyle

Fill style settings

TextProperties textProperties

Text appearance settings

StyleTextBlock(TextProperties)

Creates a new class instance

Declaration
public StyleTextBlock(TextProperties textProperties)
Parameters
TextProperties textProperties

Text appearance settings

Fields

styleTextBlockCorners

Specifies the corners of background rectangle

Declaration
protected Corners styleTextBlockCorners
Field Value
Corners

styleTextBlockOverflow

Specifiers the overflow behavior

Declaration
protected Overflow styleTextBlockOverflow
Field Value
Overflow

styleTextBlockRotationAngle

Specifies the Rotation angle

Declaration
protected float styleTextBlockRotationAngle
Field Value
System.Single

Properties

AutoTextWrap

Gets or sets the automatic text wrapping functionality switch

Declaration
public virtual AutoTextWrap AutoTextWrap { get; set; }
Property Value
AutoTextWrap

Corners

Specifies the corners of background rectangle

Declaration
[SkinnableProperty]
public Corners Corners { get; set; }
Property Value
Corners

Figure

Specifies the Figure property

Declaration
public string Figure { get; }
Property Value
System.String

FillStyle

Specifies the FillStyle property

Declaration
[SkinnableProperty]
public virtual FillStyle FillStyle { get; }
Property Value
FillStyle

MaxLength

Max number of visible characters. Rest will be truncated Full string will be added to parent label's ActiveRegion.Tooltip

Declaration
public int MaxLength { get; set; }
Property Value
System.Int32

TextProperties

Specifies the Text properties

Declaration
[SkinnableProperty]
public virtual TextProperties TextProperties { get; }
Property Value
TextProperties

Methods

Clone()

Creates the object's clone

Declaration
public override object Clone()
Returns
System.Object

Clone

Overrides
Style.Clone()

Dispose(Boolean)

Releases unmanaged and - optionally - managed resources

Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean disposing

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Overrides
LayoutStyle.Dispose(Boolean)

LoadViewState(Object)

Loads class settings from a view state

Declaration
protected override void LoadViewState(object savedState)
Parameters
System.Object savedState

ViewState to load from

Overrides
LayoutStyle.LoadViewState(Object)

ResetMaxLength()

Sets the default value for a MaxLength property

Declaration
protected virtual void ResetMaxLength()

SaveViewState()

Saves class data to a view state

Declaration
protected override object SaveViewState()
Returns
System.Object

Saved view state

Overrides
LayoutStyle.SaveViewState()

ShouldSerializeMaxLength()

Should the MaxLength property be serialized or not

Declaration
protected virtual bool ShouldSerializeMaxLength()
Returns
System.Boolean

True if should be serialized

TrackViewState()

Tracks view state changes

Declaration
protected override void TrackViewState()
Overrides
LayoutStyle.TrackViewState()
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.