Skip to content

MarkupTextBlock Object

Description

Provides a lightweight control for displaying small amounts of flow content.

For a list of all members defined in this module, see MarkupTextBlock Members.

Object Model

MarkupTextBlock Object Model
Render Transform
Margin
Padding
Background
Foreground
Mouse Leave Event
Mouse Enter Event
Mouse Left Button Up Event
Mouse Left Button Down Event
Mouse Right Button Up Event
Mouse Right Button Down Event
Mouse Move Event
Lost Mouse Capture Event
Find Name
Visual Parent
Inlines
Markup Inline

Remarks

The TextBlock control will probably be the most used control when using XAML with Codejock controls. The TextBlock control provides flexible text support for Codejock controls. You would use the TextBlock primarily for basic UI scenarios that do not require more than one paragraph of text. You have already seen the TextBlock many times in the Captions, Text, and Tooltips section.

TextBlock supports the hosting and display of inline flow content elements. Supported TextBlock elements are:

  • Bold
  • Hyperlink
  • InlineUIContainer
  • Italic
  • LineBreak
  • Run
  • Span
  • Underline

With the supported elements, the TextBlock is excellent for displaying customized single-line text.

See Also

MarkupTextBlock Members


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.