Version

SectionPresenter Class

Represents each section in the masked editor when it's in edit mode.
Syntax
'Declaration
 
Public Class SectionPresenter 
   Inherits System.Windows.Controls.ContentControl
public class SectionPresenter : System.Windows.Controls.ContentControl 
Remarks

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.

Each section in the parsed mask has a SectionPresenter in the visual tree of the XamMaskedEditor when it's in edit mode. XamMaskedEditor.Sections property returns all sections of a XamMaskedEditor.

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

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