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