GridLinkItem
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
Initializes a new instance of the GridLinkItem class.
public GridLinkItem()
Initializes a new instance of the GridLinkItem class.
public GridLinkItem(GridTableElement tableElement)
The table element.
Fields
public static RadProperty LineStyleProperty
public static RadProperty TypeProperty
Properties
Gets or sets a value determining the style of the link lines
public DashStyle LineStyle { get; set; }
Gets or sets a value determining the shape of the link
public GridLinkItem.LinkType Type { get; set; }
Methods
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.
protected override void InitializeFields()
Overrides:
Measures the space required by the RadElement Used by the layout system.
protected override SizeF MeasureOverride(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:The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides:
In this method call to the Measure method of each child must be made.
Paints the horizontal line.
protected virtual void PaintHorizontalLine(IGraphics graphics)
The graphics.
Paints the left top angle shape.
protected virtual void PaintLeftTopAngleShape(IGraphics graphics)
The graphics.
Paints the right bottom angle shape.
protected virtual void PaintRightBottomAngleShape(IGraphics graphics)
The graphics.
Paints the T shape.
Paints the vertical line.
protected virtual void PaintVerticalLine(IGraphics graphics)
The graphics.