ComponentOne Basic Library for WPF and Silverlight
C1TextEditableContentControl Class
Members 


C1.WPF Namespace : C1TextEditableContentControl Class
Dual control that provides a System.Windows.Controls.TextBox on edit mode, and a System.Windows.Controls.ContentControl on readonly mode.
Object Model
C1TextEditableContentControl Class
Syntax
'Declaration
 
<System.Windows.TemplatePartAttribute(Name="EditControl", Type=C1.WPF.C1TextBoxBase)>
<System.Windows.TemplatePartAttribute(Name="ContentControl", Type=System.Windows.Controls.ContentPresenter)>
<System.Windows.TemplateVisualStateAttribute(Name="Unwatermarked", GroupName="WatermarkStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Watermarked", GroupName="WatermarkStates")>
<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 Class C1TextEditableContentControl 
   Inherits C1EditableContentControl
'Usage
 
Dim instance As C1TextEditableContentControl
[System.Windows.TemplatePart(Name="EditControl", Type=C1.WPF.C1TextBoxBase)]
[System.Windows.TemplatePart(Name="ContentControl", Type=System.Windows.Controls.ContentPresenter)]
[System.Windows.TemplateVisualState(Name="Unwatermarked", GroupName="WatermarkStates")]
[System.Windows.TemplateVisualState(Name="Watermarked", GroupName="WatermarkStates")]
[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 class C1TextEditableContentControl : C1EditableContentControl 
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

Reference

C1TextEditableContentControl Members
C1.WPF Namespace