ClassGridLinkItem
Represents an lines that links expander cell
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridLinkItem : RadItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemGridLinkItem
Implements:
Inherited Members
Constructors
GridLinkItem()
Initializes a new instance of the GridLinkItem class.
Declaration
public GridLinkItem()
GridLinkItem(GridTableElement)
Initializes a new instance of the GridLinkItem class.
Declaration
public GridLinkItem(GridTableElement tableElement)
Parameters
tableElement
The table element.
Fields
Properties
LineStyle
Gets or sets a value determining the style of the link lines
Type
Gets or sets a value determining the shape of the link
Declaration
public GridLinkItem.LinkType Type { get; set; }
Property Value
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
availableSize
The size that is available to the RadElement. The available size can be infinity (to take the full size of the element)
Returns
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, float, SizeF)
Paints the element.
PaintHorizontalLine(IGraphics)
Paints the horizontal line.
Declaration
protected virtual void PaintHorizontalLine(IGraphics graphics)
Parameters
graphics
The graphics.
PaintLeftTopAngleShape(IGraphics)
Paints the left top angle shape.
Declaration
protected virtual void PaintLeftTopAngleShape(IGraphics graphics)
Parameters
graphics
The graphics.
PaintRightBottomAngleShape(IGraphics)
Paints the right bottom angle shape.
Declaration
protected virtual void PaintRightBottomAngleShape(IGraphics graphics)
Parameters
graphics
The graphics.
PaintTShape(IGraphics)
Paints the T shape.
Declaration
protected virtual void PaintTShape(IGraphics graphics)
Parameters
graphics
The graphics.
PaintVerticalLine(IGraphics)
Paints the vertical line.
Declaration
protected virtual void PaintVerticalLine(IGraphics graphics)
Parameters
graphics
The graphics.