ConfigureCellRichTextBox

Top  Previous  Next

Specifies the attributes of a RichTextBox column for the grid in edit mode.

[Visual Basic .NET]

Public Function ConfigureCellRichTextBox(ByVal SectionIndex As Integer,

                                                             ByVal ColumnIndex As Integer,

                                                             ByVal RTL As RightToLeft,

                                                             ByVal WordWrap As Boolean,

                                                             ByVal ZoomFactor As Double) As Boolean

[C#]

public bool ConfigureCellRichTextBox(int SectionIndex,

                                                      int ColumnIndex,

                                                      RightToLeft RTL,

                                                      bool WordWrap,

                                                      double ZoomFactor);

Parameters

SectionIndex

Specifies the index (0-based) of the section in which configuring occurs. If the AllowSections is set to FALSE, this parameter becomes irrelevant. If it is set to TRUE, your code can set this parameter to -1 to let configuring take effect for all sections.

ColumnIndex

Specifies the index (0-based) of the column.

RTL

Indicates whether control's elements are aligned to support locales using right-to-left fonts, and the recommended value is Inherit.

WordWrap

Indicates whether to break words when the content exceeds the boundaries of its container.

ZoomFactor

Specifies the current zoom level.

 

 

Return Value:

If the operation is successful, it returns TRUE; otherwise it returns FALSE.