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