ConfigureCellTextEdit

Top  Previous  Next

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

[Visual Basic .NET]

Public Function ConfigureCellTextEdit(ByVal SectionIndex As Integer,

                                                       ByVal ColumnIndex As Integer,

                                                       ByVal CharCasing As CharacterCasing,

                                                       ByVal RTL As RightToLeft,

                                                       ByVal PasswordChar As Char,

                                                       ByVal TextAlign As HorizontalAlignment,

                                                       ByVal UseSystemPasswordChar As Boolean,

                                                       ByVal Multiline As Boolean) As Boolean

[C#]

public bool ConfigureCellTextEdit(int SectionIndex,

                                                int ColumnIndex,

                                                CharacterCasing CharCasing,

                                                RightToLeft RTL,

                                                char PasswordChar,

                                                HorizontalAlignment TextAlign,

                                                bool UseSystemPasswordChar,

                                                bool Multiline);

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.

CharCasing

Indicates how characters are cased when they are manually keyed in.

RTL

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

PasswordChar

Specifies the character to be displayed in substitute when keying in a password.

TextAlign

Indicates how text is aligned in the control.

UseSystemPasswordChar

Indicates whether the system password should be used as the prompt character, and the recommended value is FALSE.

Multiline

Indicates whether the multiline feature should be turned on or not.

 

Return Value:

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