Skip to content

PreviewTextFont Property

Description

Font used to display the PreviewTextFont of a GridRecord while in PreviewMode.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property PreviewTextFont() As Font

Remarks

This text will only be visible while in PreviewMode.

Example

This sample illustrates how to set the font used to display the preview text of a GridRecord while in PreviewMode.

Dim PreviewTextFont As StdFont  

Set PreviewTextFont = Me.Font  
PreviewTextFont.Size = 8  
PreviewTextFont.Italic = True  

' Applies the newly created font to the GridControl's PreviewTextFont  
Set wndGridControl.PaintManager.PreviewTextFont = PreviewTextFont

See Also


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