IncludeMethod Property

Returns or sets a value that specifies how MaskMode is used in deciding whether or not to include the character.
Public Property IncludeMethod As DisplayCharIncludeMethod
public DisplayCharIncludeMethod IncludeMethod {get; set;}

When IncludeMethod is set to Always, the display character will always be included except when it is empty, in which case normal processing takes effect. (The mask is examined to determine whether a prompt character ot a pad character should be used.) If this property is set to Never, it will never be included in the text. The default setting (DisplayCharIncludeMethod.Default) is to look at the MaskMode that's being applied to the text and determine which character to use accordingly.


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