Class
FieldProperty

Represents a property of a field within the Telerik document model.

Definition

Namespace:Telerik.Windows.Documents.Model.Fields

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class FieldProperty

Inheritance: objectFieldProperty

Constructors

FieldProperty(Field, FieldPropertyDefinition)

Declaration

cs-api-definition
public FieldProperty(Field owner, FieldPropertyDefinition propertyDefinition)

Parameters

owner

Field

propertyDefinition

FieldPropertyDefinition

Properties

Field

Represents a field property in a document model.

Declaration

cs-api-definition
public Field Field { get; }

Property Value

Field

IsNestedField

Gets a value indicating whether the field property is a nested field.

Declaration

cs-api-definition
public bool IsNestedField { get; }

Property Value

bool

PropertyDefinition

Represents the definition of a property for a field in the Telerik document model.

Declaration

cs-api-definition
public FieldPropertyDefinition PropertyDefinition { get; }

Property Value

FieldPropertyDefinition

Methods

CopyPropertiesFrom(FieldProperty)

Copies properties from the specified FieldProperty instance to the current instance.

Declaration

cs-api-definition
public void CopyPropertiesFrom(FieldProperty other)

Parameters

other

FieldProperty

The FieldProperty instance from which to copy properties.

GetValue()

Retrieves the value of the specified field property.

Declaration

cs-api-definition
public string GetValue()

Returns

string

The value of the field property as a generic type T.

SetValue(Field)

Sets the value of the specified field property.

Declaration

cs-api-definition
public void SetValue(Field fieldValue)

Parameters

fieldValue

Field

The field object that contains the value to set.

SetValue(IFieldArgumentNode)

Sets the value of the field property using the specified field argument node.

Declaration

cs-api-definition
public void SetValue(IFieldArgumentNode node)

Parameters

node

IFieldArgumentNode

The field argument node that contains the value to set.

SetValue(string)

Sets the value of the specified field property.

Declaration

cs-api-definition
public void SetValue(string value)

Parameters

value

string

The string value to set for the field property.