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

Represents the metadata for a document property in a Telerik Windows document model.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class DocumentPropertyMetadata : PropertyMetadata

Inheritance: objectDocumentPropertyMetadata

Constructors

C#
public DocumentPropertyMetadata(object defaultValue, DocumentPropertyMetadataOptions options)
Parameters:defaultValueobjectoptionsDocumentPropertyMetadataOptions
C#
public DocumentPropertyMetadata(object defaultValue, PropertyChangedCallback propertyChangedCallback, DocumentPropertyMetadataOptions options)
Parameters:defaultValueobjectpropertyChangedCallbackPropertyChangedCallbackoptionsDocumentPropertyMetadataOptions
C#
public DocumentPropertyMetadata(object defaultValue, PropertyChangedCallback propertyChangedCallback)
Parameters:defaultValueobjectpropertyChangedCallbackPropertyChangedCallback
C#
public DocumentPropertyMetadata(object defaultValue)
Parameters:defaultValueobject

Properties

Gets a value indicating whether the document property metadata affects the arrangement of elements within a document when changes are made to the associated property.

C#
public bool AffectsArrange { get; set; }
Property Value:

True if the property affects the arrangement; otherwise, false.

Gets a value indicating whether the property affects the measurement of the document element.

C#
public bool AffectsMeasure { get; set; }

Gets a value that indicates whether changes to the associated document property will affect rendering.

C#
public bool AffectsRender { get; set; }