Version

Char Property (DisplayCharBase)

Returns the char associated with this character position. If it's an InputPositionBase derivative (character placeholder), it will return the character that the user has input, or 0 if it's empty. For LiteralPosition and derivatives, it will return the associated literal character. Set of this property will only work if IsEditable returns true, otherwise it will throw an exception.
Syntax
'Declaration
 
Public MustOverride Property Char As Char
public abstract char Char {get; set;}
Remarks

Gets or sets the character associated with this display character. When the user enters text into the editor, this property is updated with the entered character. As characters are entered, the caret moves so the next character will capture the next character user enters.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also