Click or drag to resize
RadDocument Methods

The RadDocument type exposes the following members.

Public methodAddCustomListStyle
Protected methodAddStylePropertySetting
Registers a style setting for this instance.
(Inherited from RadObject.)
Public methodArrange
Arranges the document.
Public methodBeginStylesUpdate
Public methodBeginUpdate
This method supports control infrastructure and is not intended for use directly from your code.
Public methodBindProperty
Binds the specified property to a property of the provided binding source object.
(Inherited from RadObject.)
Protected methodCallOnDocumentContentChanged
Protected methodCanRaisePropertyChangeNotifications
Determines whether the object can raise PropertyChanging and PropertyChanged notifications. Current implementation checks whether the object is disposing or is already disposed of.
(Inherited from RadObject.)
Public methodCanUnprotectDocument
Public methodChangeAllFieldsDisplayMode Obsolete.
Public methodChangeBibliographicStyle Obsolete.
Public methodChangeFieldDisplayMode Obsolete.
Protected methodClearPropertyStore
Removes all references to external property modifiers such as property bindings, style settings and animations.
(Inherited from RadObject.)
Public methodClearValue (Inherited from DocumentElement.)
Protected methodCoerceValue
Allows inheritors to force a coersion of the current calculated value for the given property.
(Inherited from RadObject.)
Public methodContainsAnnotationMarkersOfTypeT
Determines whether the document contains annotation markers of type T.
Public methodCopyPropertiesFrom (Inherited from DocumentElement.)
Protected methodCopyPropertiesFromOverride (Overrides DocumentElementCopyPropertiesFromOverride(DocumentElement).)
Public methodCopyPropertiesFromStyle (Inherited from DocumentElement.)
Public methodCreateDeepCopy (Overrides DocumentElementCreateDeepCopy.)
Protected methodCreateLayoutBox (Inherited from DocumentElement.)
Public methodCreateLayoutBox(DocumentStructureCollection) (Overrides DocumentElementCreateLayoutBox(DocumentStructureCollection).)
Protected methodCreateNewElementInstance (Overrides DocumentElementCreateNewElementInstance.)
Public methodCreateShallowCopy (Inherited from DocumentElement.)
Public methodDelete(Boolean) Obsolete.
Public methodDelete(Boolean, DocumentPosition) Obsolete.
Public methodDeleteAtDocumentPosition Obsolete.
Public methodDeleteBookmark(String) Obsolete.
Public methodDeleteBookmark(BookmarkRangeStart) Obsolete.
Public methodDeleteComment Obsolete.
Public methodDeleteCustomAnnotationRange Obsolete.
Public methodDeletePermissionRange Obsolete.
Public methodDeleteRange Obsolete.
Public methodDeleteReadOnlyRange Obsolete.
Public methodDispose
Releases all resources associated with this object.
(Inherited from DisposableObject.)
Protected methodDispose(Boolean)
Performs the actual Dispose logic.
(Inherited from DisposableObject.)
Protected methodDisposeManagedResources
(Inherited from RadObject.)
Protected methodDisposeUnmanagedResources
Releases any UNMANAGED resources used by this object. NOTE: If you declare some unmanaged resources in your class, you should override its finalizer and put disposing logic there also.
(Inherited from DisposableObject.)
Public methodEndStylesUpdate
Public methodEndUpdate
This method supports control infrastructure and is not intended for use directly from your code.
Public methodEnsureDocumentMeasuredAndArranged
Ensures document layout is performed and layout-boxes have been created.
Public methodEnumerateChildrenOfTypeT (Inherited from DocumentElement.)
Public methodExtractStyleFromLocalProperties (Inherited from DocumentElement.)
Public methodExtractStyleFromProperties (Inherited from DocumentElement.)
Public methodGetAllBookmarks
Public methodGetAllPermissionInfos
Public methodGetAllRevisions
Gets all revisions.
Public methodGetAnnotationMarkersOfTypeT
Gets all annotation markers of type T in the document.
Public methodGetAssociatedLayoutBoxes (Inherited from DocumentElement.)
Public methodGetBibliographicSource
Tries to find a Bibliographic Source in the document. Returns null if none is found.
Protected methodGetBitState
Gets the current bit state for the object, defined by the provided key.
(Inherited from DisposableObject.)
Public methodGetBookmarkByName
Public methodGetCommentRangeStartByComment
Gets the comment range start by comment.
Public methodGetContainingAnnotationRangesTRangeStart(HierarchicalIndex, HierarchicalIndex)
Public methodGetContainingAnnotationRangesTRangeStart(Inline, Boolean)
Gets the annotation ranges of type TRangeStart surrounding an inline.
Public methodGetContainingAnnotationRangesTRangeStart(Inline, PredicateTRangeStart, Boolean)
Gets the annotation ranges of type TRangeStart surrounding an inline that match a condition.
Public methodGetCurrentPermissions
Public methodGetCurrentRevision
Gets the current revision.
Protected methodGetDefaultValue
Allows inheritors to provide custom default value.
(Inherited from RadObject.)
Protected methodGetInheritedValue
Searches up in the chain of InheritanceParents for a value for the specified property.
(Inherited from RadObject.)
Public methodGetLayoutBoxByPosition
Gets a layout box that intersects with a position.
Public methodGetNextComment
Gets the next comment.
Public methodGetNextRevision
Gets the next revision.
Public methodGetParentOfTypeT (Inherited from DocumentElement.)
Public methodGetPermissions
Public methodGetPreviousComment
Gets the previous comment.
Public methodGetPreviousRevision
Gets the previous revision.
Public methodGetPropertyValue
Gets the RadPropertyValue structure that holds information about the specified property's effective value for this instance. May be null if no effective value is recorded.
(Inherited from RadObject.)
Public methodGetPropertyValueSource (Inherited from DocumentElement.)
Public methodGetRegisteredRadProperty
Gets the registered property with the specified name.
(Inherited from RadObject.)
Public methodGetRootDocument (Inherited from DocumentElement.)
Public methodGetStatisticsInfo
Gets the statistical information about the document.
Public methodGetStyleProperty(String) (Inherited from DocumentElement.)
Public methodGetStyleProperty(IStylePropertyDefinition) (Inherited from DocumentElement.)
Public methodGetValue
Retrieves the current value for the specified property.
(Inherited from RadObject.)
Public methodGetValueSource
Gets the source of the current value for the specified property.
(Inherited from RadObject.)
Public methodGoToBookmark(String)
Public methodGoToBookmark(BookmarkRangeStart)
Public methodGoToComment(Comment)
Selects comment.
Public methodGoToComment(CommentRangeStart)
Selects comment.
Public methodGoToNextComment
Selects next comment.
Public methodGoToNextEndnote
Moves current position to the next endnote.
Public methodGoToNextFootnote
Moves current position to the next footnote.
Public methodGoToNextRevision
Selects next revision.
Public methodGoToPreviousComment
Selects previous comment.
Public methodGoToPreviousEndnote
Moves current position to the previous endnote.
Public methodGoToPreviousFootnote
Moves current position to the previous footnote.
Public methodGoToPreviousRevision
Selects previous revision.
Public methodGoToRevision
Selects revision.
Public methodInsert(String, StyleDefinition) Obsolete.
Public methodInsert(String, StyleDefinition, DocumentPosition) Obsolete.
Public methodInsertBookmark Obsolete.
Public methodInsertComment(Comment) Obsolete.
Public methodInsertComment(DocumentPosition, DocumentPosition, Comment) Obsolete.
Public methodInsertCustomAnnotationRange Obsolete.
Public methodInsertEndnote Obsolete.
Public methodInsertEndnote(Note) Obsolete.
Public methodInsertField(Field) Obsolete.
Public methodInsertField(Field, FieldDisplayMode) Obsolete.
Public methodInsertFootnote Obsolete.
Public methodInsertFootnote(Note) Obsolete.
Public methodInsertFragment(DocumentFragment) Obsolete.
Public methodInsertFragment(DocumentFragment, DocumentPosition) Obsolete.
Inserts a document fragment into the document.
Public methodInsertHyperlink(HyperlinkInfo, IEnumerableInline) Obsolete.
Public methodInsertHyperlink(DocumentPosition, DocumentPosition, HyperlinkInfo) Obsolete.
Public methodInsertInline(Inline) Obsolete.
Public methodInsertInline(Inline, DocumentPosition) Obsolete.
Inserts an inline element into the document.
Public methodInsertLineBreak Obsolete.
Public methodInsertPageBreak Obsolete.
Public methodInsertPermissionRange Obsolete.
Public methodInsertReadOnlyRange Obsolete.
Public methodInsertSectionBreak Obsolete.
Protected methodInvalidateAssociatedBoxesArrange (Inherited from DocumentElement.)
Public methodInvalidateAssociatedBoxesLayout (Inherited from DocumentElement.)
Protected methodInvalidateAssociatedBoxesMeasure (Inherited from DocumentElement.)
Public methodIsInAnnotationRangeTRangeStart(Inline, Boolean)
Determines whether the specified inline is in annotation range of type TRangeStart.
Public methodIsInAnnotationRangeTRangeStart(Inline, PredicateTRangeStart, Boolean)
Determines whether the specified inline is in annotation range of type TRangeStart that matches a condition.
Protected methodIsPropertyCancelable
Determines whether the specified property may be canceled.
(Inherited from RadObject.)
Public methodMailMerge
Public methodMailMergeCurrentRecord
Public methodMeasure
Measures the document.
Public methodMeasureAndArrangeInDefaultSize
Forces document layout update, measuring document in RadDocument.MAX_DOCUMENT_SIZE
Public methodMergeSpansWithSameStyles
Merges adjacent spans with same style properties into one.
Protected methodOnBitStateChanged
Notifies the object for a change in its bit state.
(Inherited from DisposableObject.)
Protected methodOnDocumentArranged
Protected methodOnDocumentContentChanged
Protected methodOnLayoutModeChanged
Protected methodOnMergeFieldToStringConverting
Protected methodOnNotifyPropertyChanged(PropertyChangedEventArgs)
Raises the standard .NET PropertyChanged event.
(Inherited from RadObject.)
Protected methodOnNotifyPropertyChanged(String)
Raises the PropertyChanged event.
(Inherited from RadObject.)
Protected methodOnParentChanged (Inherited from DocumentElement.)
Protected methodOnParentChanging (Inherited from DocumentElement.)
Protected methodOnPresentationChanged
Raises the [E:PresentationChanged] event.
Protected methodOnPresentationChanging
Protected methodOnPropertyChanged
Raises the PropertyChanged event.
(Inherited from RadObject.)
Protected methodOnPropertyChanging
Raises the RadPropertyChanging event.
(Inherited from RadObject.)
Protected methodOnProtectionSettingsChanged
Protected methodOnRemoved (Inherited from DocumentElement.)
Protected methodOnRequestCurrentUserInfo
Protected methodOnStreamFromUriResolving
Protected methodOnStyleChanged (Overrides DocumentElementOnStyleChanged.)
Protected methodOnStyleChanging (Inherited from DocumentElement.)
Protected methodOnStylePropertyChanged (Inherited from DocumentElement.)
Protected methodOnUserAuthenticationRequest
Protected methodPerformDispose
Performs the core resources release logic.
(Inherited from DisposableObject.)
Public methodProtectDocument
Public methodRegisterDefaultHeadingStyles
Creates and registers the "Heading X" styles with the default settings.
Public methodRemoveStylePropertySetting(IPropertySetting)
Called when element style condition changes. This method is used internally.
(Inherited from RadObject.)
Public methodRemoveStylePropertySetting(RadProperty)
Called when element style condition changes. This method is used internally.
(Inherited from RadObject.)
Public methodResetValue(RadProperty)
Resets the current value of the specified property. This method will remove any effective value modifier (such as style or animation setting) for the specified property.
(Inherited from RadObject.)
Public methodResetValue(RadProperty, ValueResetFlags)
Resets the current value of the specified property using the provided flags.
(Inherited from RadObject.)
Protected methodResetValueCore
Resets the specified property value, using the provided reset flags.
(Inherited from RadObject.)
Public methodResumePropertyNotifications
Resumes property notifications after a previous SuspendPropertyNotifications call.
(Inherited from RadObject.)
Protected methodSetBitState
Applies the specified boolean value to the BitVector of the object.
(Inherited from DisposableObject.)
Public methodSetCurrentEditingSpanStyleName
Public methodSetDefaultValueOverride
Applies the provided value as an override of the Default value provided by the specified property's metadata.
(Inherited from RadObject.)
Public methodSetValue
Applies the provided value as Local for the specified property.
(Inherited from RadObject.)
Public methodSetValueAtDesignTime
Applies the specified value as Local for the desired property and raises the flag IsLocalValueSetAtDesignTime for that property. All design-time direct property modifications (e.g. item.Text = "Item1") should be done through this method for the property to be properly serialized. If a property is modified through a property grid, the custom property descriptor will automatically apply this logic. This method is used internally.
(Inherited from RadObject.)
Protected methodSetValueCore
Performs the core logic of updating property value.
(Inherited from RadObject.)
Public methodShouldSerializeProperty
Determines whether the property defined by the provided property descriptor should be serialized.
(Inherited from RadObject.)
Public methodSuspendPropertyNotifications
Allows PropertyChanging and PropertyChanged notifications to be temporary suspended.
(Inherited from RadObject.)
Public methodToggleFieldCodes Obsolete.
Public methodUnbindProperty
Removes the binding for the specified property.
(Inherited from RadObject.)
Public methodUnprotectDocument
Public methodUpdateAllFields Obsolete.
Public methodUpdateAllFields(FieldDisplayMode) Obsolete.
Public methodUpdateField Obsolete.
Public methodUpdateLayout
Forces the document to update its layout.
Public methodUpdatePermissionRanges Obsolete.
Public methodUpdateSectionsStyle Obsolete.
Public methodUpdateSelectedParagraphsStyle Obsolete.
Public methodUpdateSelectedSectionsStyle Obsolete.
Public methodUpdateSelectedSpansStyle Obsolete.
Public methodUpdateStyles
Public methodUpdateValue
Forces re-evaluation of the current value for the specified property.
(Inherited from RadObject.)
Protected methodUpdateValueCore
Performs the core value update logic.
(Inherited from RadObject.)
Extension Methods
Public Extension MethodCheckAccessOverloaded. (Defined by DispatcherExtensions.)
Public Extension MethodCheckAccessOverloaded. (Defined by DispatcherExtensions.)
Public Extension MethodCheckAccessOverloaded. (Defined by DispatcherExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodIsLocalValueSet
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
See Also