Class RadCanvasViewport
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadCanvasViewport : RadElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, IRadScrollViewport
Constructors
RadCanvasViewport()
Declaration
public RadCanvasViewport()
Properties
CanvasSize
Declaration
public Size CanvasSize { get; set; }
Property Value
System.Drawing.Size
|
Methods
CalcCanvasSize()
Declaration
protected virtual Size CalcCanvasSize()
Returns
System.Drawing.Size
|
DoScroll(Point, Point)
Declaration
public virtual void DoScroll(Point oldValue, Point newValue)
Parameters
System.Drawing.Point
oldValue
|
System.Drawing.Point
newValue
|
Implements
GetExtentSize()
Declaration
public Size GetExtentSize()
Returns
System.Drawing.Size
|
Implements
GetScrollParams(Size, Size)
Declaration
public ScrollPanelParameters GetScrollParams(Size viewportSize, Size canvasSize)
Parameters
System.Drawing.Size
viewportSize
|
System.Drawing.Size
canvasSize
|
Returns
ScrollPanelParameters
|
Implements
InitializeFields()
InvalidateViewport()
OnChildrenChanged(RadElement, ItemsChangeOperation)
Declaration
protected override void OnChildrenChanged(RadElement child, ItemsChangeOperation changeOperation)
Parameters
RadElement
child
|
ItemsChangeOperation
changeOperation
|
Overrides
ResetValue(Point, Size, Size)
Declaration
public Point ResetValue(Point currentValue, Size viewportSize, Size canvasSize)
Parameters
System.Drawing.Point
currentValue
|
System.Drawing.Size
viewportSize
|
System.Drawing.Size
canvasSize
|
Returns
System.Drawing.Point
|
Implements
ScrollOffsetForChildVisible(RadElement, Point)
Declaration
public virtual Size ScrollOffsetForChildVisible(RadElement childElement, Point currentScrollValue)
Parameters
RadElement
childElement
|
System.Drawing.Point
currentScrollValue
|
Returns
System.Drawing.Size
|