ClassGridDataRowElement
This is the visual element responsible for presenting all of the data rows
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridDataRowElement : GridVirtualizedRowElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IContextMenuProvider, IVirtualizedElement<GridViewRowInfo>
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementGridVisualElementConditionalFormattableGridVisualElementGridRowElementGridVirtualizedRowElementGridDataRowElement
Implements:
Inherited Members
Constructors
GridDataRowElement()
Declaration
public GridDataRowElement()
Fields
ContainsErrorsProperty
Declaration
public static RadProperty ContainsErrorsProperty
Field Value
Properties
CanApplyAlternatingColor
Gets a value indicating whether alternating row color can be applied to the row.
Declaration
protected override bool CanApplyAlternatingColor { get; }
Property Value
Overrides
ContainsErrors
Gets whetehr the row element contains errors.
Declaration
public bool ContainsErrors { get; }
Property Value
The contains errors.
SelfReferenceLayout
Declaration
public virtual SelfReferenceCellLayout SelfReferenceLayout { get; }
Property Value
SupportsConditionalFormatting
Determines whether this instance supports conditional formatting.
Declaration
public override bool SupportsConditionalFormatting { get; }
Property Value
Overrides
Methods
ApplyCustomFormatting()
Applies custom formatting to the row.
Declaration
protected override void ApplyCustomFormatting()
Overrides
CanDragCore(Point)
Determines whether the element may be dragged.
CreateCell(GridViewColumn)
Creates a GridViewRowInfo based on the settings of the corresponding GridViewColumn.
Declaration
public override GridCellElement CreateCell(GridViewColumn column)
Parameters
column
The GridViewColumn that contains the settings.
Returns
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
column
The GridViewColumn that contains the settings.
Returns
An column type.
Overrides
GetDragContextCore()
Gets the context, associated with a drag operation.
Declaration
protected override object GetDragContextCore()
Returns
Overrides
GetDragHintCore()
Gets the image to be used as a hint when this element is being dragged.
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
data
The data.
context
The context.
Returns
Overrides
MergeMenus(RadDropDownMenu, params object[])
Merges the context menu.
Declaration
public override RadDropDownMenu MergeMenus(RadDropDownMenu contextMenu, params object[] parameters)
Parameters
contextMenu
The RadDropDownMenu to merge with.
parameters
object[]
merge parameters.
Returns
The merged context menu, if successful.
Overrides
NotifyFormatChanged(BaseFormattingObject)
Prepares the element for the formatting.
Declaration
protected override void NotifyFormatChanged(BaseFormattingObject oldFormat)
Parameters
oldFormat
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Handles property change events by invalidating the fill cache and invoking the base class property change handler.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
Event arguments containing information about the property that changed.
Overrides
OnRowPropertyChanged(PropertyChangedEventArgs)
Occurs when some row property changes its value.
Declaration
protected override void OnRowPropertyChanged(PropertyChangedEventArgs e)
Parameters
e
An instance of RadPropertyChangedEventArgs
Overrides
OnZoomGesture(ZoomGestureEventArgs)
Fires the ZoomGesture event.
Declaration
protected override void OnZoomGesture(ZoomGestureEventArgs args)
Parameters
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
dropLocation
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
currentMouseLocation
dragObject
Returns
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
propVal
flags
Returns
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()
Overrides