Infragistics(R) NetAdvantage(R) : Silverlight 2011.2
Sections Property
See Also  E-mail your feedback on this topic.
Infragistics.Controls.Editors Namespace > XamMaskedInput Class : Sections Property

A collection of the sections used in the control. Returns a valid collection only if the mask has been parsed yet.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Sections As SectionsCollection
C# 
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 SectionBase.DisplayChars property. XamMaskedInput also exposes a collection that contains aggregate display characters of all sections via its XamMaskedInput.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.

See Also