windowsforms-devexpress-dot-xtratreelist-dot-customdrawnodeprevieweventargs-b8775069.md
Gets or sets the painted preview section’s text.
Namespace : DevExpress.XtraTreeList
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
public string PreviewText { get; set; }
Public Property PreviewText As String
| Type | Description |
|---|---|
| String |
A string value representing the text of the preview section being painted.
|
The PreviewText property can used for the following purposes.
Note : you can also assign custom text to the preview section by handling the TreeList.GetPreviewText event. However, the TreeList.CustomDrawNodePreview event fires later and thus changes performed within its handler are higher priority.
See Also
CustomDrawNodePreviewEventArgs Class