Class RadFixedPageElement
Represents an element which displays a single PDF page in RadPdfViewer.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.PdfViewer.dll
Syntax
public class RadFixedPageElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider, IVirtualizedElement<RadFixedPage>
Constructors
RadFixedPageElement()
Declaration
public RadFixedPageElement()
RadFixedPageElement(RadPdfViewerElement)
Declaration
public RadFixedPageElement(RadPdfViewerElement owner)
Parameters
RadPdfViewerElement
owner
|
RadFixedPageElement(RadFixedPage, RadPdfViewerElement)
Declaration
public RadFixedPageElement(RadFixedPage page, RadPdfViewerElement owner)
Parameters
RadFixedPage
page
|
RadPdfViewerElement
owner
|
Properties
Data
Gets the logical RadFixedPage which is attached to this element.
Declaration
public RadFixedPage Data { get; }
Property Value
RadFixedPage
|
Implements
Page
Gets the logical RadFixedPage which is attached to this element.
Declaration
public RadFixedPage Page { get; }
Property Value
RadFixedPage
|
PdfViewerElement
Gets the RadPdfViewerElement which owns this element.
Declaration
public RadPdfViewerElement PdfViewerElement { get; }
Property Value
RadPdfViewerElement
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
Attach(RadFixedPage, Object)
Attaches a given page to the element.
Declaration
public void Attach(RadFixedPage data, object context)
Parameters
RadFixedPage
data
The page. |
System.Object
context
The context. |
Implements
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
Detach()
Detaches the currently attached page.
Declaration
public void Detach()
Implements
DrawAnnotation(IGraphics, Annotation)
Draws a highlight for the pressed annotation.
Declaration
protected virtual void DrawAnnotation(IGraphics graphics, Annotation annot)
Parameters
IGraphics
graphics
The graphics to draw onto. |
Annotation
annot
The Annotation to draw. |
DrawSelection(IGraphics)
Draws a highlight for the current selection.
Declaration
protected virtual void DrawSelection(IGraphics graphics)
Parameters
IGraphics
graphics
The graphics to draw onto. |
IsCompatible(RadFixedPage, Object)
Checks whether the element is compatible with a given page.
Declaration
public virtual bool IsCompatible(RadFixedPage data, object context)
Parameters
RadFixedPage
data
The page. |
System.Object
context
The context. |
Returns
System.Boolean
[true] if the element is compatible, [false] otherwise. |
Implements
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnAttached()
OnBeginDispose()
OnDetached()
Called when the associated page is detached
Declaration
protected virtual void OnDetached()
OnSynchronized()
Called when synchronization is needed.
Declaration
protected virtual void OnSynchronized()
PaintContent(IGraphics)
Declaration
protected override void PaintContent(IGraphics graphics)
Parameters
IGraphics
graphics
|
Overrides
Synchronize()
Synchronizes the element with the attached page.
Declaration
public void Synchronize()
Implements
UnwireEvents()
Unwires event handlers when the attached page is being detached.
Declaration
protected virtual void UnwireEvents()
UpdateCaret()
Updates the caret state.
Declaration
public void UpdateCaret()
WireEvents()
Wires event handlers to the newly attached page.
Declaration
protected virtual void WireEvents()