Version

Sections Property (XamMaskedInput)

A collection of the sections used in the control. Returns a valid collection only if the mask has been parsed yet.
Syntax
'Declaration
 
Public ReadOnly Property Sections As SectionsCollection
public SectionsCollection Sections {get;}
Remarks

When mask is parsed the result is a collection of SectionBase derived objects. This property returns that collection. Each SectionBase object has a collection of its display characters return via its DisplayChars property. XamMaskedInput also exposes a collection that contains aggregate display characters of all sections via its DisplayChars property.

This property is useful for example if you want to query and find out the structure of the parsed mask or to query and/or manipulate the current user input on a per section or per display character basis.

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