This cell contains a child view table
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridDetailViewCellElement : GridCellElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IContextMenuProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementGridVisualElementConditionalFormattableGridVisualElementGridCellElementGridDetailViewCellElement...
Implements:
Inherited Members
Constructors
Initializes a new instance of the GridDetailViewCellElement class.
public GridDetailViewCellElement(GridViewColumn column, GridRowElement row)
An instance of the GridViewColumn
rowGridRowElementAn instance of the GridRowElement
Properties
Gets whether can update info.
protected override bool CanUpdateInfo { get; }
The can update info.
Overrides:
Gets the GridTableElement child element
public GridTableElement ChildTableElement { get; }
Gets the details row info associated with this cell element
protected GridViewDetailsRowInfo DetailsRow { get; }
Gets the hierarchy row, parent for this child view
protected GridViewHierarchyRowInfo HierarchyRow { get; }
Gets the RadPageViewElement which contains the child view for this cell element.
public RadPageViewElement PageViewElement { get; }
Gets the associated data row
public override GridViewRowInfo RowInfo { get; protected set; }
Overrides:
Methods
Creates the child table element.
Creates the page view element.
protected virtual RadPageViewElement CreatePageViewElement(IRadPageViewProvider pageViewProvider)
The page view provider.
Returns:Creates the page view item.
protected virtual RadPageViewItem CreatePageViewItem(IRadPageViewProvider pageViewProvider, GridViewInfo viewInfo)
The page view provider.
viewInfoGridViewInfoThe view info.
Returns:Creates the page view provider.
Detaches this instance.
public void Detach()
Disposes the managed resources.
protected override void DisposeManagedResources()
Overrides:
Initializes the cell with specified column and row
public override void Initialize(GridViewColumn column, GridRowElement row)
An instance of GridViewColumn.
rowGridRowElementAn instance of GridRowElement.
Overrides:
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:
Initializes the page view item.
protected virtual void InitializePageViewItem(RadPageViewItem item, GridViewInfo viewInfo)
The item.
viewInfoGridViewInfoThe view info.
Measures the space required by the RadElement Used by the layout system.
protected override SizeF MeasureOverride(SizeF availableSize)
The size that is available to the RadElement. The available size can be infinity (to take the full size of the element)
Returns:The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides:
In this method call to the Measure method of each child must be made.
Raises the event.
protected override void OnBoundsChanged(RadPropertyChangedEventArgs e)
The RadPropertyChangedEventArgs instance containing the event data.
Overrides:
Called when the page is changed.
protected virtual void OnPageChanged(RadPageViewItem page)
The page.
Called when the page is changing.
protected virtual bool OnPageChanging(RadPageViewItem page)
The page.
Returns:Sets the active view.
protected virtual void SetActiveView(RadPageViewItem pageItem)
The page item.
Sets the value of the cell.
public override void SetContent()
Overrides:
Updates the visual state of the cell.
protected override void UpdateInfoCore()
Overrides:
Updates the page view items.
protected virtual void UpdatePageViewItems(IRadPageViewProvider pageViewProvider)
The page view provider.
Updates the tab items visibility.
public virtual void UpdateTabItemsVisibility()