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
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.
|
ContentOrientation
Gets the content orientation for this item.
Declaration
public PageViewContentOrientation ContentOrientation { get; }
Property Value
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.
|
Methods
ApplyClientOffset(SizeF)
Adds padding and border size to the provided measured size.
Declaration
protected SizeF ApplyClientOffset(SizeF measured)
Parameters
System.
|
Returns
System.
|
ApplyMinMaxSize(SizeF)
Applies the Min/Max size constraints to the already measured size.
Declaration
protected SizeF ApplyMinMaxSize(SizeF measured)
Parameters
System.
|
Returns
System.
|
ApplyOrientationTransform(IGraphics, PageViewContentOrientation)
Declaration
protected virtual object ApplyOrientationTransform(IGraphics graphics, PageViewContentOrientation orientation)
Parameters
IGraphics
graphics
|
Page
|
Returns
System.
|
ArrangeChildren(SizeF)
Declaration
protected virtual void ArrangeChildren(SizeF finalSize)
Parameters
System.
|
ArrangeContent(SizeF)
Declaration
protected virtual void ArrangeContent(SizeF finalSize)
Parameters
System.
|
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.
|
Returns
System.
|
Overrides
CalcLayoutOffset(PointF)
Declaration
protected override PointF CalcLayoutOffset(PointF startPoint)
Parameters
System.
|
Returns
System.
|
Overrides
CalculateMeasuredSize(SizeF, SizeF)
Declaration
protected virtual SizeF CalculateMeasuredSize(SizeF contentSize, SizeF childSize)
Parameters
System.
|
System.
|
Returns
System.
|
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
Page
|
System.
|
System.
|
System.
|
CorrectFillAndBorderOrientation(IGraphics)
Declaration
protected virtual object CorrectFillAndBorderOrientation(IGraphics g)
Parameters
Returns
System.
|
GetLightVisualElementSize(SizeF)
Declaration
protected SizeF GetLightVisualElementSize(SizeF available)
Parameters
System.
|
Returns
System.
|
HitTest(Point)
Declaration
public override bool HitTest(Point point)
Parameters
System.
|
Returns
System.
|
Overrides
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
MeasureContent(SizeF)
Declaration
protected virtual SizeF MeasureContent(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
Overrides
ModifyBorderAndFillPaintRect(RectangleF, Padding)
Declaration
protected virtual RectangleF ModifyBorderAndFillPaintRect(RectangleF preferred, Padding padding)
Parameters
System.
|
System.
|
Returns
System.
|
PaintBorder(IGraphics, Single, SizeF, RectangleF)
Declaration
protected override void PaintBorder(IGraphics graphics, float angle, SizeF scale, RectangleF rect)
Parameters
IGraphics
graphics
|
System.
|
System.
|
System.
|
Overrides
PaintElement(IGraphics, Single, SizeF)
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.
|
System.
|
Overrides
PaintFill(IGraphics, Single, SizeF, RectangleF)
Declaration
protected override void PaintFill(IGraphics graphics, float angle, SizeF scale, RectangleF rect)
Parameters
IGraphics
graphics
|
System.
|
System.
|
System.
|
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
Page
|
System.
|
SetContentOrientation(PageViewContentOrientation, Boolean)
Declaration
protected virtual void SetContentOrientation(PageViewContentOrientation orientation, bool recursive)
Parameters
Page
|
System.
|