New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class FieldProperty

Inheritance: objectFieldProperty

Constructors

C#
public FieldProperty(Field owner, FieldPropertyDefinition propertyDefinition)
Parameters:ownerFieldpropertyDefinitionFieldPropertyDefinition

Properties

Represents a field property in a document model.

C#
public Field Field { get; }

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

C#
public bool IsNestedField { get; }

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

C#
public FieldPropertyDefinition PropertyDefinition { get; }

Methods

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

C#
public void CopyPropertiesFrom(FieldProperty other)
Parameters:otherFieldProperty

The FieldProperty instance from which to copy properties.

Retrieves the value of the specified field property.

C#
public string GetValue()
Returns:

string

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

Sets the value of the specified field property.

C#
public void SetValue(Field fieldValue)
Parameters:fieldValueField

The field object that contains the value to set.

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

C#
public void SetValue(IFieldArgumentNode node)
Parameters:nodeIFieldArgumentNode

The field argument node that contains the value to set.

Sets the value of the specified field property.

C#
public void SetValue(string value)
Parameters:valuestring

The string value to set for the field property.