Provides a default value, optional change callback, and layout/rendering effect flags for a document property.
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class DocumentPropertyMetadata : RadPropertyMetadata
Inheritance: objectRadPropertyMetadataDocumentPropertyMetadata
Inherited Members
Constructors
Initializes metadata with a default value and the specified layout or rendering effect flags.
public DocumentPropertyMetadata(object defaultValue, DocumentPropertyMetadataOptions options)
The default value supplied to the property metadata.
optionsDocumentPropertyMetadataOptionsThe operations affected by changes to the property.
Initializes metadata with a default value, change callback, and layout or rendering effect flags.
public DocumentPropertyMetadata(object defaultValue, PropertyChangedCallback propertyChangedCallback, DocumentPropertyMetadataOptions options)
The default value supplied to the property metadata.
propertyChangedCallbackPropertyChangedCallbackThe callback supplied to the base property metadata.
optionsDocumentPropertyMetadataOptionsThe operations affected by changes to the property.
Initializes metadata with a default value and change callback, without layout or rendering effect flags.
public DocumentPropertyMetadata(object defaultValue, PropertyChangedCallback propertyChangedCallback)
The default value supplied to the property metadata.
propertyChangedCallbackPropertyChangedCallbackThe callback supplied to the base property metadata.
Initializes metadata with a default value and no layout or rendering effect flags.
public DocumentPropertyMetadata(object defaultValue)
The default value supplied to the property metadata.
Properties
Gets or sets whether changes to the property affect arrangement of its document element.
public bool AffectsArrange { get; set; }
Gets or sets whether changes to the property affect measurement of its document element.
public bool AffectsMeasure { get; set; }
Gets or sets whether changes to the property affect rendering of its document element.
public bool AffectsRender { get; set; }