| Visual Basic (Declaration) | |
|---|---|
Public MustInherit Class DisplayCharBase Inherits Infragistics.PropertyChangeNotifier | |
| C# | |
|---|---|
public abstract class DisplayCharBase : Infragistics.PropertyChangeNotifier | |
When XamMaskedInput parses a mask (specified via XamMaskedInput's XamMaskedInput.Mask property), the result is a collection of SectionBase derived classes. Each Section in turn is a collection of display characters. Section's SectionBase.DisplayChars property returns the display characters of a section. XamMaskedInput returns the collection of sections via its XamMaskedInput.Sections property. It also exposes XamMaskedInput.DisplayChars property that returns a collection of display characters that contains the aggregate display characters from all sections.
Note: Typically there is no need for you to directly create or use display characters. XamMaskedInput will automatically create and manage these objects based on the supplied mask.