Class GridNewRowElement
This is the visual element responsible for presenting the "add new row" row
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridNewRowElement : GridVirtualizedRowElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider, IContextMenuProvider, IVirtualizedElement<GridViewRowInfo>
Constructors
GridNewRowElement()
Declaration
public GridNewRowElement()
Properties
CanApplyFormatting
Gets a value indicating that conditional formatting can be applied
Declaration
public override bool CanApplyFormatting { get; }
Property Value
System.Boolean
|
Overrides
Methods
Attach(GridViewRowInfo, Object)
Attaches the specified data.
Declaration
public override void Attach(GridViewRowInfo row, object context)
Parameters
GridViewRowInfo
row
|
System.Object
context
The context. |
Overrides
CreateCell(GridViewColumn)
Creates a GridViewRowInfo based on the settings of the corresponding GridViewColumn.
Declaration
public override GridCellElement CreateCell(GridViewColumn column)
Parameters
GridViewColumn
column
The GridViewColumn that contains the settings. |
Returns
GridCellElement
An instance of GridCellElement or null. |
Overrides
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
Detach()
Detaches this instance.
Declaration
public override void Detach()
Overrides
Initialize(GridViewRowInfo)
Initializes the row.
Declaration
public override void Initialize(GridViewRowInfo rowInfo)
Parameters
GridViewRowInfo
rowInfo
The instance of GridViewRowInfo which the row is associated with. |
Overrides
InitializeFields()
Initializes the fields.
Declaration
protected override void InitializeFields()
Overrides
IsCompatible(GridViewRowInfo, Object)
Determines whether element is compatible with the specified data.
Declaration
public override bool IsCompatible(GridViewRowInfo data, object context)
Parameters
GridViewRowInfo
data
The data. |
System.Object
context
The context. |
Returns
System.Boolean
|
Overrides
MeasureOverride(SizeF)
Measures the element with the available size.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
Size of the available. |
Returns
System.Drawing.SizeF
|
Overrides
MergeMenus(RadDropDownMenu, Object[])
Merges the context menu.
Declaration
public override RadDropDownMenu MergeMenus(RadDropDownMenu contextMenu, params object[] parameters)
Parameters
RadDropDownMenu
contextMenu
The RadDropDownMenu to merge with. |
System.Object[]
parameters
merge parameters. |
Returns
RadDropDownMenu
The merged context menu, if successful. |
Overrides
OnRowPropertyChanged(PropertyChangedEventArgs)
Declaration
protected override void OnRowPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.ComponentModel.PropertyChangedEventArgs
e
|
Overrides
UpdateContentVisibility(Boolean)
Updates the content visibility.
Declaration
public virtual void UpdateContentVisibility(bool showCells)
Parameters
System.Boolean
showCells
The show cells. |