ContenControl that supports edit mode using a TextBox. ContenControl that supports edit mode.
Object Model
Syntax
'Declaration
<System.Windows.TemplateVisualStateAttribute(Name="MouseOver", GroupName="CommonStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Normal", GroupName="CommonStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Valid", GroupName="ValidationStatesStates")>
<System.Windows.TemplateVisualStateAttribute(Name="InvalidUnfocused", GroupName="ValidationStatesStates")>
<System.Windows.TemplateVisualStateAttribute(Name="InvalidFocused", GroupName="ValidationStatesStates")>
<System.Windows.StyleTypedPropertyAttribute(Property="ValidationDecoratorStyle", StyleTargetType=C1.WPF.C1ValidationDecorator)>
Public MustInherit Class C1EditableContentControl
Inherits System.Windows.Controls.ContentControl
[System.Windows.TemplateVisualState(Name="MouseOver", GroupName="CommonStates")]
[System.Windows.TemplateVisualState(Name="Disabled", GroupName="CommonStates")]
[System.Windows.TemplateVisualState(Name="Normal", GroupName="CommonStates")]
[System.Windows.TemplateVisualState(Name="Valid", GroupName="ValidationStatesStates")]
[System.Windows.TemplateVisualState(Name="InvalidUnfocused", GroupName="ValidationStatesStates")]
[System.Windows.TemplateVisualState(Name="InvalidFocused", GroupName="ValidationStatesStates")]
[System.Windows.StyleTypedProperty(Property="ValidationDecoratorStyle", StyleTargetType=C1.WPF.C1ValidationDecorator)]
public abstract class C1EditableContentControl : System.Windows.Controls.ContentControl
Inheritance Hierarchy
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.ContentControl
C1.WPF.C1EditableContentControl
C1.WPF.C1TextEditableContentControl
See Also