Class ScrollViewElement<T>
Represent a scrollable view element with scrollbars
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class ScrollViewElement<T> : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider where T : RadElement, new()
Type Parameters
T
|
Constructors
ScrollViewElement()
Declaration
public ScrollViewElement()
Properties
HScrollBar
Gets the horizontal scroll bar.
Declaration
public RadScrollBarElement HScrollBar { get; }
Property Value
RadScrollBarElement
The horizontal scroll bar. |
ViewElement
Gets or sets the view element.
Declaration
public T ViewElement { get; set; }
Property Value
T
The view element. |
VScrollBar
Gets the vertical scroll bar.
Declaration
public RadScrollBarElement VScrollBar { get; }
Property Value
RadScrollBarElement
The vertical scroll bar. |
Methods
ArrangeHScrollBar(ref RectangleF, RectangleF)
Arranges the horizontal scroll bar.
Declaration
protected virtual RectangleF ArrangeHScrollBar(ref RectangleF viewElementRect, RectangleF clientRect)
Parameters
System.Drawing.RectangleF
viewElementRect
The view element rect. |
System.Drawing.RectangleF
clientRect
The client rect. |
Returns
System.Drawing.RectangleF
|
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
ArrangeViewElement(RectangleF)
Arranges the view element.
Declaration
protected virtual void ArrangeViewElement(RectangleF viewElementRect)
Parameters
System.Drawing.RectangleF
viewElementRect
The view element rect. |
ArrangeVScrollBar(ref RectangleF, RectangleF, RectangleF)
Arranges the vertical scroll bar.
Declaration
protected virtual void ArrangeVScrollBar(ref RectangleF viewElementRect, RectangleF hscrollBarRect, RectangleF clientRect)
Parameters
System.Drawing.RectangleF
viewElementRect
The view element rect. |
System.Drawing.RectangleF
hscrollBarRect
The hscroll bar rect. |
System.Drawing.RectangleF
clientRect
The client rect. |
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateScrollBarElement()
Creates the scroll bar element.
Declaration
protected virtual RadScrollBarElement CreateScrollBarElement()
Returns
RadScrollBarElement
|
CreateViewElement()
Creates the view element.
Declaration
protected virtual T CreateViewElement()
Returns
T
|
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
InitializeViewElement(T)
This method provides a chance to initialize the ViewElement object.
Declaration
protected virtual void InitializeViewElement(T viewElement)
Parameters
T
viewElement
The view element. |
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
MeasureView(SizeF)
Measures the view element.
Declaration
protected virtual SizeF MeasureView(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
Size of the available. |
Returns
System.Drawing.SizeF
|
MeasureViewElement(SizeF)
Declaration
protected virtual void MeasureViewElement(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|