Class RadPageViewElementBase
Base element for all visual elements across RadPageView.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadPageViewElementBase : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadPageViewElementBase()
Declaration
public RadPageViewElementBase()
Fields
BorderPaddingProperty
FillPaddingProperty
Properties
BorderAndFillOrientation
Gets the content orientation for this item.
Declaration
public PageViewContentOrientation BorderAndFillOrientation { get; }
Property Value
PageViewContentOrientation
|
BorderPadding
Gets or sets the padding that defines the offset of the border. This does not affect element's layout logic such as size and location but has only appearance impact.
Declaration
public Padding BorderPadding { get; set; }
Property Value
System.Windows.Forms.Padding
|
ContentOrientation
Gets the content orientation for this item.
Declaration
public PageViewContentOrientation ContentOrientation { get; }
Property Value
PageViewContentOrientation
|
FillPadding
Gets or sets the padding that defines the offset of element's fill. This does not affect element's layout logic such as size and location but has only appearance impact.
Declaration
public Padding FillPadding { get; set; }
Property Value
System.Windows.Forms.Padding
|
Methods
ApplyClientOffset(SizeF)
Adds padding and border size to the provided measured size.
Declaration
protected SizeF ApplyClientOffset(SizeF measured)
Parameters
System.Drawing.SizeF
measured
|
Returns
System.Drawing.SizeF
|
ApplyMinMaxSize(SizeF)
Applies the Min/Max size constraints to the already measured size.
Declaration
protected SizeF ApplyMinMaxSize(SizeF measured)
Parameters
System.Drawing.SizeF
measured
|
Returns
System.Drawing.SizeF
|
ApplyOrientationTransform(IGraphics, PageViewContentOrientation)
Declaration
protected virtual object ApplyOrientationTransform(IGraphics graphics, PageViewContentOrientation orientation)
Parameters
IGraphics
graphics
|
PageViewContentOrientation
orientation
|
Returns
System.Object
|
ArrangeChildren(SizeF)
Declaration
protected virtual void ArrangeChildren(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
ArrangeContent(SizeF)
Declaration
protected virtual void ArrangeContent(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
CalcLayoutOffset(PointF)
Declaration
protected override PointF CalcLayoutOffset(PointF startPoint)
Parameters
System.Drawing.PointF
startPoint
|
Returns
System.Drawing.PointF
|
Overrides
CalculateMeasuredSize(SizeF, SizeF)
Declaration
protected virtual SizeF CalculateMeasuredSize(SizeF contentSize, SizeF childSize)
Parameters
System.Drawing.SizeF
contentSize
|
System.Drawing.SizeF
childSize
|
Returns
System.Drawing.SizeF
|
CalculateRotationAndOffset(PageViewContentOrientation, ref Single, ref Single, ref Single)
Declaration
protected virtual void CalculateRotationAndOffset(PageViewContentOrientation orientation, ref float angle, ref float offsetX, ref float offsetY)
Parameters
PageViewContentOrientation
orientation
|
System.Single
angle
|
System.Single
offsetX
|
System.Single
offsetY
|
CorrectFillAndBorderOrientation(IGraphics)
Declaration
protected virtual object CorrectFillAndBorderOrientation(IGraphics g)
Parameters
IGraphics
g
|
Returns
System.Object
|
GetLightVisualElementSize(SizeF)
Declaration
protected SizeF GetLightVisualElementSize(SizeF available)
Parameters
System.Drawing.SizeF
available
|
Returns
System.Drawing.SizeF
|
HitTest(Point)
Declaration
public override bool HitTest(Point point)
Parameters
System.Drawing.Point
point
|
Returns
System.Boolean
|
Overrides
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
MeasureContent(SizeF)
Declaration
protected virtual SizeF MeasureContent(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
ModifyBorderAndFillPaintRect(RectangleF, Padding)
Declaration
protected virtual RectangleF ModifyBorderAndFillPaintRect(RectangleF preferred, Padding padding)
Parameters
System.Drawing.RectangleF
preferred
|
System.Windows.Forms.Padding
padding
|
Returns
System.Drawing.RectangleF
|
PaintBorder(IGraphics, Single, SizeF, RectangleF)
Declaration
protected override void PaintBorder(IGraphics graphics, float angle, SizeF scale, RectangleF rect)
Parameters
IGraphics
graphics
|
System.Single
angle
|
System.Drawing.SizeF
scale
|
System.Drawing.RectangleF
rect
|
Overrides
PaintElement(IGraphics, Single, SizeF)
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.Single
angle
|
System.Drawing.SizeF
scale
|
Overrides
PaintFill(IGraphics, Single, SizeF, RectangleF)
Declaration
protected override void PaintFill(IGraphics graphics, float angle, SizeF scale, RectangleF rect)
Parameters
IGraphics
graphics
|
System.Single
angle
|
System.Drawing.SizeF
scale
|
System.Drawing.RectangleF
rect
|
Overrides
PrePaintElement(IGraphics)
Declaration
protected override void PrePaintElement(IGraphics graphics)
Parameters
IGraphics
graphics
|
Overrides
SetBorderAndFillOrientation(PageViewContentOrientation, Boolean)
Declaration
protected virtual void SetBorderAndFillOrientation(PageViewContentOrientation orientation, bool recursive)
Parameters
PageViewContentOrientation
orientation
|
System.Boolean
recursive
|
SetContentOrientation(PageViewContentOrientation, Boolean)
Declaration
protected virtual void SetContentOrientation(PageViewContentOrientation orientation, bool recursive)
Parameters
PageViewContentOrientation
orientation
|
System.Boolean
recursive
|