GridDataRowElement
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
public GridDataRowElement()
Fields
public static RadProperty ContainsErrorsProperty
public static RadProperty IsExpandedProperty
Properties
Gets a value indicating whether alternating row color can be applied to the row.
protected override bool CanApplyAlternatingColor { get; }
Overrides:
Gets whetehr the row element contains errors.
public bool ContainsErrors { get; }
The contains errors.
public virtual SelfReferenceCellLayout SelfReferenceLayout { get; }
Determines whether this instance supports conditional formatting.
public override bool SupportsConditionalFormatting { get; }
Overrides:
Methods
Applies custom formatting to the row.
protected override void ApplyCustomFormatting()
Overrides:
Creates a GridViewRowInfo based on the settings of the corresponding GridViewColumn.
public override GridCellElement CreateCell(GridViewColumn column)
The GridViewColumn that contains the settings.
Returns:An instance of GridCellElement or null.
Overrides:
Detaches this instance.
public override void Detach()
Overrides:
Disposes the managed resources.
protected override void DisposeManagedResources()
Overrides:
Returns the default cell type to be created based on the settings of the corresponding GridViewColumn.
public override Type GetCellType(GridViewColumn column)
The GridViewColumn that contains the settings.
Returns:An column type.
Overrides:
Gets the context, associated with a drag operation.
Gets the image to be used as a hint when this element is being dragged.
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:
Determines whether the row element is compatible with the specified data.
public override bool IsCompatible(GridViewRowInfo data, object context)
The data.
contextobjectThe context.
Returns:Overrides:
Merges the context menu.
public override RadDropDownMenu MergeMenus(RadDropDownMenu contextMenu, params object[] parameters)
The RadDropDownMenu to merge with.
parametersobject[]merge parameters.
Returns:The merged context menu, if successful.
Overrides:
Prepares the element for the formatting.
protected override void NotifyFormatChanged(BaseFormattingObject oldFormat)
Overrides:
Handles property change events by invalidating the fill cache and invoking the base class property change handler.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Event arguments containing information about the property that changed.
Overrides:
Occurs when some row property changes its value.
protected override void OnRowPropertyChanged(PropertyChangedEventArgs e)
An instance of RadPropertyChangedEventArgs
Overrides:
Fires the ZoomGesture event.
protected override void OnZoomGesture(ZoomGestureEventArgs args)
The arguments for the ZoomGesture event.
Overrides:
Core logic when a drag-drop is performed over this element. Allows inheritors to provide their own implementations.
protected override void ProcessDragDrop(Point dropLocation, ISupportDrag dragObject)
Overrides:
Determines whether the element may be treated as a drop target during drag-and-drop operation.
protected override bool ProcessDragOver(Point currentMouseLocation, ISupportDrag dragObject)
Overrides:
Resets the color of the alternating row.
protected void ResetAlternatingRowColor()
Resets the specified property value, using the provided reset flags.
protected override ValueUpdateResult ResetValueCore(RadPropertyValue propVal, ValueResetFlags flags)
The result of the operation.
Overrides:
Applies or resets alternating row color of the current row.
protected virtual void UpdateAlternatingRowColor()
Updates row's visual state.
public override void UpdateInfo()
Overrides: