|
|
|
SftMask.TextDisplayWithLiterals Property |
Returns the interpreted control contents, including literal characters.
Syntax
VB.NET |
Text = object.TextDisplayWithLiterals As String |
||
VB |
Text = object.TextDisplayWithLiterals As String |
||
C#.NET |
string Text = object.TextDisplayWithLiterals; |
||
VC++ |
_bstr_t Text = object->TextDisplayWithLiterals;
|
||
C |
HRESULT object->get_TextDisplayWithLiterals(BSTR* Text); |
||
Delphi |
Text := object.TextDisplayWithLiterals : WideString; |
object
A SftMask object.
Text
Returns the interpreted control contents, including literal characters.
Comments
The TextDisplayWithLiterals property returns the interpreted control contents, including literal characters.
When retrieving the TextDisplayWithLiterals property in a Masked Edit control (with Mask), input positions without data are represented by the space character.
Literal characters are always returned.
It is possible to retrieve portions of the control contents using the Contents.Value property.
The properties Text, TextDisplay, TextDisplayNoLiterals, TextPureWithLiterals and TextPureNoLiterals also retrieve the control contents with varying handling of unspecified input positions and literal characters.
Property |
Unspecified Positions |
Literals |
Chr(13) |
||
Space |
||
Space |
No |
|
TextDisplayWithLiterals |
Space |
Yes |
Chr(13) |
No |
|
Chr(13) |
Yes |