GridViewRowItem
Represents a control that contains logically connected children (cells) and arranges them in a row-like manner.
Definition
Namespace:Telerik.Windows.Controls.GridView
Assembly:Telerik.Windows.Controls.GridView.dll
Syntax:
public abstract class GridViewRowItem : RadRowItem, IRowItem
Inheritance: objectRadRowItemGridViewRowItem
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the GridViewRowItem class.
protected GridViewRowItem()
Fields
CellLoadedEvent
RoutedEvent
Identifies the CellLoaded routed event.
public static readonly RoutedEvent CellLoadedEvent
CellUnloadedEvent
RoutedEvent
Identifies the CellUnloaded routed event.
public static readonly RoutedEvent CellUnloadedEvent
HasHierarchyProperty
DependencyProperty
Identifies the HasHierarchy readonly dependency property.
public static readonly DependencyProperty HasHierarchyProperty
HorizontalGridLinesBrushProperty
DependencyProperty
Represents the HorizontalGridLinesBrush dependency property.
public static readonly DependencyProperty HorizontalGridLinesBrushProperty
HorizontalGridLinesWidthProperty
DependencyProperty
Represents the HorizontalGridLinesWidth dependency property.
public static readonly DependencyProperty HorizontalGridLinesWidthProperty
IndentLevelProperty
DependencyProperty
Identifies the IndentLevel dependency property.
public static readonly DependencyProperty IndentLevelProperty
VerticalGridLinesBrushProperty
DependencyProperty
Represents the VerticalGridLinesBrush dependency property.
public static readonly DependencyProperty VerticalGridLinesBrushProperty
VerticalGridLinesWidthProperty
DependencyProperty
Represents the VerticalGridLinesWidth dependency property.
public static readonly DependencyProperty VerticalGridLinesWidthProperty
Properties
Gets the cells.
public IList<GridViewCellBase> Cells { get; }
The cells.
Gets the parent RadGridView of the row item.
public GridViewDataControl GridViewDataControl { get; protected set; }
The parent RadGridView that contains the current row.
Gets a value indicating whether this row data control has hierarchy or not. This is a dependency property.
public bool HasHierarchy { get; }
Gets or sets horizontal grid lines brush.
public Brush HorizontalGridLinesBrush { get; }
The horizontal grid lines brush.
Gets or sets horizontal grid lines width.
public double HorizontalGridLinesWidth { get; }
The horizontal grid lines width.
Gets the horizontal offset.
public double HorizontalOffset { get; }
The horizontal offset.
Gets or sets the indent level.
public int IndentLevel { get; set; }
The indent level.
Gets the name of the DataCellsPresenter.
protected virtual string PartDataCellsPresenterName { get; }
The name of the DataCellsPresenter.
Gets or sets vertical grid lines brush.
public Brush VerticalGridLinesBrush { get; }
The vertical grid lines brush.
Gets or sets vertical grid lines width.
public double VerticalGridLinesWidth { get; }
The vertical grid lines width.
Methods
protected override Size ArrangeOverride(Size finalSize)
Size
Generates cell containers for GridViewRowItem.
protected override Size MeasureOverride(Size availableSize)
Size
public override void OnApplyTemplate()
Overrides:
Called when a cell is loaded.
protected virtual void OnCellLoaded(GridViewCellBase cell)
The loaded cell.
Called when a cell is unloaded.
protected virtual void OnCellUnloaded(GridViewCellBase cell)
The unloaded cell.
Notification from the GridViewDataControl that the columns collection has changed.
protected virtual void OnColumnsChanged(ObservableCollection<GridViewColumn> columns, NotifyCollectionChangedEventArgs e)
The columns collection.
eNotifyCollectionChangedEventArgsThe event arguments from the collection's change event.
Called when HasHierarchy property has changed.
protected virtual void OnHasHierarchyChanged()
Sets the horizontal scroll offset.
public void SetHorizontalScrollOffset(double newHorizontalOffset)
Events
Occurs when a cell is loaded.
public event EventHandler<CellEventArgs> CellLoaded
Occurs when a cell is unloaded.
public event EventHandler<CellEventArgs> CellUnloaded