SectionsList Class

UI element that displays sections of masked editor.
Public Class SectionsList 
   Inherits System.Windows.Controls.ItemsControl
public class SectionsList : System.Windows.Controls.ItemsControl 

This element is used only when the masked editor is in edit mode. When not in edit mode, the XamMaskedEditor uses a TextBlock to display the value. Note: Whether XamMaskedEditor remains in edit mode at all times or not can be controlled using its ValueEditor.IsAlwaysInEditMode property.

SectionsList element is an ItemsControl in the visual tree of the XamMaskedEditor that is responsible for displaying all the sections of the parsed mask. XamMaskedEditor exposes section collection via its XamMaskedEditor.Sections property.

Note: Typically there is no need to deal with the elements in the visual tree directly as they are managed by the XamMaskedEditor itself.


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