Class GridDataRowElement
This is the visual element responsible for presenting all of the data rows
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridDataRowElement : 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
GridDataRowElement()
Declaration
public GridDataRowElement()
Fields
ContainsErrorsProperty
IsExpandedProperty
Properties
CanApplyAlternatingColor
Gets a value indicating whether alternating row color can be applied to the row.
Declaration
protected override bool CanApplyAlternatingColor { get; }
Property Value
System.Boolean
|
Overrides
ContainsErrors
Gets whetehr the row element contains errors.
Declaration
public bool ContainsErrors { get; }
Property Value
System.Boolean
The contains errors. |
SelfReferenceLayout
Declaration
public virtual SelfReferenceCellLayout SelfReferenceLayout { get; }
Property Value
SelfReferenceCellLayout
|
SupportsConditionalFormatting
Determines whether this instance supports conditional formatting.
Declaration
public override bool SupportsConditionalFormatting { get; }
Property Value
System.Boolean
|
Overrides
Methods
ApplyCustomFormatting()
Applies custom formatting to the row.
Declaration
protected override void ApplyCustomFormatting()
Overrides
CanDragCore(Point)
Determines whether the element may be dragged.
Declaration
protected override bool CanDragCore(Point dragStartPoint)
Parameters
System.Drawing.Point
dragStartPoint
|
Returns
System.Boolean
|
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
Detach()
Detaches this instance.
Declaration
public override void Detach()
Overrides
DisposeManagedResources()
Disposes the managed resources.
Declaration
protected override void DisposeManagedResources()
Overrides
GetCellType(GridViewColumn)
Returns the default cell type to be created based on the settings of the corresponding GridViewColumn.
Declaration
public override Type GetCellType(GridViewColumn column)
Parameters
GridViewColumn
column
The GridViewColumn that contains the settings. |
Returns
System.Type
An column type. |
Overrides
GetDragContextCore()
Gets the context, associated with a drag operation.
Declaration
protected override object GetDragContextCore()
Returns
System.Object
|
Overrides
GetDragHintCore()
Gets the image to be used as a hint when this element is being dragged.
Declaration
protected override Image GetDragHintCore()
Returns
System.Drawing.Image
|
Overrides
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
IsCompatible(GridViewRowInfo, Object)
Determines whether the row 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
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
NotifyFormatChanged(BaseFormattingObject)
Declaration
protected override void NotifyFormatChanged(BaseFormattingObject oldFormat)
Parameters
BaseFormattingObject
oldFormat
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
OnRowPropertyChanged(PropertyChangedEventArgs)
Declaration
protected override void OnRowPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.ComponentModel.PropertyChangedEventArgs
e
|
Overrides
OnZoomGesture(ZoomGestureEventArgs)
Fires the ZoomGesture event.
Declaration
protected override void OnZoomGesture(ZoomGestureEventArgs args)
Parameters
ZoomGestureEventArgs
args
The arguments for the ZoomGesture event. |
Overrides
ProcessDragDrop(Point, ISupportDrag)
Core logic when a drag-drop is performed over this element. Allows inheritors to provide their own implementations.
Declaration
protected override void ProcessDragDrop(Point dropLocation, ISupportDrag dragObject)
Parameters
System.Drawing.Point
dropLocation
|
ISupportDrag
dragObject
|
Overrides
ProcessDragOver(Point, ISupportDrag)
Determines whether the element may be treated as a drop target during drag-and-drop operation.
Declaration
protected override bool ProcessDragOver(Point currentMouseLocation, ISupportDrag dragObject)
Parameters
System.Drawing.Point
currentMouseLocation
|
ISupportDrag
dragObject
|
Returns
System.Boolean
|
Overrides
ResetAlternatingRowColor()
Resets the color of the alternating row.
Declaration
protected void ResetAlternatingRowColor()
ResetValueCore(RadPropertyValue, ValueResetFlags)
Resets the specified property value, using the provided reset flags.
Declaration
protected override ValueUpdateResult ResetValueCore(RadPropertyValue propVal, ValueResetFlags flags)
Parameters
RadPropertyValue
propVal
|
ValueResetFlags
flags
|
Returns
ValueUpdateResult
The result of the operation. |
Overrides
UpdateAlternatingRowColor()
Applies or resets alternating row color of the current row.
Declaration
protected virtual void UpdateAlternatingRowColor()
UpdateInfo()
Updates row's visual state.
Declaration
public override void UpdateInfo()