Class GridLinkItem
Represents an lines that links expander cell
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridLinkItem : RadItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode
Constructors
GridLinkItem()
GridLinkItem(GridTableElement)
Initializes a new instance of the GridLinkItem class.
Declaration
public GridLinkItem(GridTableElement tableElement)
Parameters
GridTableElement
tableElement
The table element. |
Fields
LineStyleProperty
TypeProperty
Properties
LineStyle
Gets or sets a value determining the style of the link lines
Declaration
public DashStyle LineStyle { get; set; }
Property Value
System.Drawing.Drawing2D.DashStyle
|
Type
Gets or sets a value determining the shape of the link
Declaration
public GridLinkItem.LinkType Type { get; set; }
Property Value
GridLinkItem.LinkType
|
Methods
InitializeFields()
Initializes member fields to their default values. This method is called prior the CreateChildItems one and allows for initialization of members on which child elements depend.
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Measures the space required by the RadElement Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
The size that is available to the RadElement. The available size can be infinity (to take the full size of the element) |
Returns
System.Drawing.SizeF
The minimum size required by the element to be completely visible. Cannot be infinity. |
Overrides
Remarks
In this method call to the Measure method of each child must be made.
PaintElement(IGraphics, Single, SizeF)
Paints the element.
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
The graphics. |
System.Single
angle
The angle. |
System.Drawing.SizeF
scale
The scale. |
Overrides
PaintHorizontalLine(IGraphics)
Paints the horizontal line.
Declaration
protected virtual void PaintHorizontalLine(IGraphics graphics)
Parameters
IGraphics
graphics
The graphics. |
PaintLeftTopAngleShape(IGraphics)
Paints the left top angle shape.
Declaration
protected virtual void PaintLeftTopAngleShape(IGraphics graphics)
Parameters
IGraphics
graphics
The graphics. |
PaintRightBottomAngleShape(IGraphics)
Paints the right bottom angle shape.
Declaration
protected virtual void PaintRightBottomAngleShape(IGraphics graphics)
Parameters
IGraphics
graphics
The graphics. |
PaintTShape(IGraphics)
Paints the T shape.
Declaration
protected virtual void PaintTShape(IGraphics graphics)
Parameters
IGraphics
graphics
The graphics. |
PaintVerticalLine(IGraphics)
Paints the vertical line.
Declaration
protected virtual void PaintVerticalLine(IGraphics graphics)
Parameters
IGraphics
graphics
The graphics. |