Back to Devexpress

FastTextBlock Class

wpf-devexpress-dot-xpf-dot-scheduling-dot-visual-b301789a.md

latest3.5 KB
Original Source

FastTextBlock Class

Displays short text strings. Provides better display performance achieved by rendering text at the glyph level.

Namespace : DevExpress.Xpf.Scheduling.Visual

Assembly : DevExpress.Xpf.Scheduling.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public class FastTextBlock :
    FrameworkElement
vb
Public Class FastTextBlock
    Inherits FrameworkElement

Remarks

The FastTextBlock element is a base class for various text presenters used to visualize the appointment, cell and header text content. You are advised to use the FastTextBlock elements to gain visual performance. Use them instead of simple TextBlocks in templates which are rendered multiple times, such as appointment and cell templates.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FastTextBlock class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-scheduler-customize-appointment-appearance/CS/CustomizeAppointmentExample/MainWindow.xaml#L39

xml
<StackPanel>
    <dxschv:FastTextBlock Text="{Binding Appointment.CustomFields[Note]}" FontWeight="Normal" Foreground="Red"/>
    <dxschv:AppointmentDescriptionPresenter FontWeight="Normal" Margin="0,1,0,0" WordWrap="True"/>

Inheritance

Show 14 items

Object DispatcherObject DependencyObject Visual UIElement FrameworkElement FastTextBlock AppointmentDescriptionPresenter

AppointmentIntervalSubjectPresenter

AppointmentLocationPresenter

MonthCellDatePresenter

ResourceHeaderPresenter

TimeRulerCellHourPresenter

TimeRulerCellMinutePresenter

See Also

FastTextBlock Members

DevExpress.Xpf.Scheduling.Visual Namespace