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