Class TCField
Inherited Members
Namespace: Telerik.WinForms.Documents.Model
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class TCField : CodeBasedField, ISupportInitialize
  Constructors
TCField()
Declaration
public TCField()
  Fields
EntryTextProperty
Declaration
public static readonly FieldPropertyDefinition EntryTextProperty
  Field Value
| 
        FieldPropertyDefinition
         
  | 
    
FieldType
Declaration
public static readonly string FieldType
  Field Value
| 
        System.String
         
  | 
    
TCLevelProperty
Declaration
public static readonly FieldPropertyDefinition TCLevelProperty
  Field Value
| 
        FieldPropertyDefinition
         
  | 
    
TypeIdentifierProperty
Declaration
public static readonly FieldPropertyDefinition TypeIdentifierProperty
  Field Value
| 
        FieldPropertyDefinition
         
  | 
    
Properties
EntryText
Declaration
[XamlSerializable]
public string EntryText { get; set; }
  Property Value
| 
        System.String
         
  | 
    
FieldTypeName
Gets the name of the field type.
Declaration
public override string FieldTypeName { get; }
  Property Value
| 
        System.String
         
  | 
    
Overrides
TCLevel
Declaration
[XamlSerializable]
public string TCLevel { get; set; }
  Property Value
| 
        System.String
         
  | 
    
TypeIdentifier
Declaration
[XamlSerializable]
public string TypeIdentifier { get; set; }
  Property Value
| 
        System.String
         
  | 
    
UseTCLevel
Declaration
[XamlSerializable]
public bool UseTCLevel { get; set; }
  Property Value
| 
        System.Boolean
         
  | 
    
Methods
BuildCodeOverride()
Builds the field-specific parts of the code fragment, using the current CodeBuilder.
Declaration
protected override void BuildCodeOverride()
  Overrides
CopyPropertiesFrom(Field)
Copies all properties from another field of the same type.
Declaration
public override void CopyPropertiesFrom(Field fromField)
  Parameters
| 
        Field
        fromField
         The other field, which has to be of the same type as the current instance.  | 
    
Overrides
CopyPropertiesFromCodeExpression(FieldCodeExpression)
Copies the field-specific properties from a FieldCodeExpression.
Declaration
protected override void CopyPropertiesFromCodeExpression(FieldCodeExpression fieldCodeExpression)
  Parameters
| 
        FieldCodeExpression
        fieldCodeExpression
         The field code expression.  | 
    
Overrides
CreateInstance()
Creates a new instance of the current field class.
Declaration
public override Field CreateInstance()
  Returns
| 
        Field
         The new field instance.  | 
    
Overrides
GetResultFragment()
Builds the result fragment of the field.
Declaration
protected override DocumentFragment GetResultFragment()
  Returns
| 
        DocumentFragment
         The result fragment.  |