New to Telerik UI for WinForms? Start a free 30-day trial

An event arguments of CreateTextBlockEventHandler

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class CreateTextBlockEventArgs : EventArgs

Inheritance: objectEventArgsCreateTextBlockEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes event data with the text and the proposed block that a handler may replace.

C#
public CreateTextBlockEventArgs(string text, ITextBlock textBlock)
Parameters:textstring

The text for which the block is being created.

textBlockITextBlock

The proposed block, which is exposed through TextBlock.

Properties

Gets the text for which the block is created.

C#
public string Text { get; }

Gets or sets the text block.

C#
public ITextBlock TextBlock { get; set; }
Property Value:

The text block.