Version

TemplateEditorValueBinding Class

Custom markup extension for binding to the ValueEditor.Value property of a TemplateEditor from within its DisplayDataTemplate or its EditDataTemplate
Syntax
'Declaration
 
Public Class TemplateEditorValueBinding 
   Inherits System.Windows.Markup.MarkupExtension
public class TemplateEditorValueBinding : System.Windows.Markup.MarkupExtension 
Remarks

The following 2 xaml snippets are equivalent:

  • <TextBox Text="{Binding Path=(igWPF:TemplateEditor.Editor).Value, RelativeSource={RelativeSource Self}, UpdateSourceTrigger=PropertyChanged}"/>
  • <TextBox Text="{igWPF:TemplateEditorValueBinding}"/>

Note: this markup extension should only be used inside a DataTemplate that is set as the DisplayDataTemplate or EditDataTemplate of a TemplateEditor.

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