ComponentOne Basic Library for WPF and Silverlight
C1TextEditableContentControl Class
Members 


C1.Silverlight 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="ContentControl", Type=System.Windows.Controls.ContentPresenter)>
<System.Windows.TemplatePartAttribute(Name="EditControl", Type=C1.Silverlight.C1TextBoxBase)>
<System.Windows.TemplateVisualStateAttribute(Name="InvalidFocused", GroupName="ValidationStatesStates")>
<System.Windows.StyleTypedPropertyAttribute(Property="ValidationDecoratorStyle", StyleTargetType=C1.Silverlight.C1ValidationDecorator)>
<System.Windows.TemplateVisualStateAttribute(Name="Valid", GroupName="ValidationStatesStates")>
<System.Windows.TemplateVisualStateAttribute(Name="InvalidUnfocused", GroupName="ValidationStatesStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Watermarked", GroupName="WatermarkStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Unwatermarked", GroupName="WatermarkStates")>
Public Class C1TextEditableContentControl 
   Inherits C1EditableContentControl
'Usage
 
Dim instance As C1TextEditableContentControl
[System.Windows.TemplatePart(Name="ContentControl", Type=System.Windows.Controls.ContentPresenter)]
[System.Windows.TemplatePart(Name="EditControl", Type=C1.Silverlight.C1TextBoxBase)]
[System.Windows.TemplateVisualState(Name="InvalidFocused", GroupName="ValidationStatesStates")]
[System.Windows.StyleTypedProperty(Property="ValidationDecoratorStyle", StyleTargetType=C1.Silverlight.C1ValidationDecorator)]
[System.Windows.TemplateVisualState(Name="Valid", GroupName="ValidationStatesStates")]
[System.Windows.TemplateVisualState(Name="InvalidUnfocused", GroupName="ValidationStatesStates")]
[System.Windows.TemplateVisualState(Name="Watermarked", GroupName="WatermarkStates")]
[System.Windows.TemplateVisualState(Name="Unwatermarked", GroupName="WatermarkStates")]
public class C1TextEditableContentControl : C1EditableContentControl 
Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ContentControl
                  C1.Silverlight.C1EditableContentControl
                     C1.Silverlight.C1TextEditableContentControl

See Also

Reference

C1TextEditableContentControl Members
C1.Silverlight Namespace