Class GridDetailViewCellElement
This cell contains a child view table
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridDetailViewCellElement : GridCellElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IContextMenuProvider
Constructors
GridDetailViewCellElement(GridViewColumn, GridRowElement)
Initializes a new instance of the GridDetailViewCellElement class.
Declaration
public GridDetailViewCellElement(GridViewColumn column, GridRowElement row)
Parameters
|
GridViewColumn
column
An instance of the GridViewColumn |
|
GridRowElement
row
An instance of the GridRowElement |
Properties
CanUpdateInfo
Gets whether can update info.
Declaration
protected override bool CanUpdateInfo { get; }
Property Value
|
System.Boolean
The can update info. |
Overrides
ChildTableElement
Gets the GridTableElement child element
Declaration
public GridTableElement ChildTableElement { get; }
Property Value
|
GridTableElement
|
DetailsRow
Gets the details row info associated with this cell element
Declaration
protected GridViewDetailsRowInfo DetailsRow { get; }
Property Value
|
GridViewDetailsRowInfo
|
HierarchyRow
Gets the hierarchy row, parent for this child view
Declaration
protected GridViewHierarchyRowInfo HierarchyRow { get; }
Property Value
|
GridViewHierarchyRowInfo
|
PageViewElement
Gets the RadPageViewElement which contains the child view for this cell element.
Declaration
public RadPageViewElement PageViewElement { get; }
Property Value
|
RadPageViewElement
|
RowInfo
Gets the associated data row
Declaration
public override GridViewRowInfo RowInfo { get; protected set; }
Property Value
|
GridViewRowInfo
|
Overrides
Methods
CreateChildTableElement()
Creates the child table element.
Declaration
protected virtual GridTableElement CreateChildTableElement()
Returns
|
GridTableElement
|
CreatePageViewElement(IRadPageViewProvider)
Creates the page view element.
Declaration
protected virtual RadPageViewElement CreatePageViewElement(IRadPageViewProvider pageViewProvider)
Parameters
|
IRadPageViewProvider
pageViewProvider
The page view provider. |
Returns
|
RadPageViewElement
|
CreatePageViewItem(IRadPageViewProvider, GridViewInfo)
Creates the page view item.
Declaration
protected virtual RadPageViewItem CreatePageViewItem(IRadPageViewProvider pageViewProvider, GridViewInfo viewInfo)
Parameters
|
IRadPageViewProvider
pageViewProvider
The page view provider. |
|
GridViewInfo
viewInfo
The view info. |
Returns
|
RadPageViewItem
|
CreatePageViewProvider()
Creates the page view provider.
Declaration
protected virtual IRadPageViewProvider CreatePageViewProvider()
Returns
|
IRadPageViewProvider
|
Detach()
Detaches this instance.
Declaration
public void Detach()
DisposeManagedResources()
Disposes the managed resources.
Declaration
protected override void DisposeManagedResources()
Overrides
Initialize(GridViewColumn, GridRowElement)
Initializes the cell with specified column and row
Declaration
public override void Initialize(GridViewColumn column, GridRowElement row)
Parameters
|
GridViewColumn
column
An instance of GridViewColumn. |
|
GridRowElement
row
An instance of GridRowElement. |
Overrides
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
InitializePageViewItem(RadPageViewItem, GridViewInfo)
Initializes the page view item.
Declaration
protected virtual void InitializePageViewItem(RadPageViewItem item, GridViewInfo viewInfo)
Parameters
|
RadPageViewItem
item
The item. |
|
GridViewInfo
viewInfo
The view info. |
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
|
System.Drawing.SizeF
availableSize
|
Returns
|
System.Drawing.SizeF
|
Overrides
OnBoundsChanged(RadPropertyChangedEventArgs)
Raises the BoundsChanged event.
Declaration
protected override void OnBoundsChanged(RadPropertyChangedEventArgs e)
Parameters
|
RadPropertyChangedEventArgs
e
The RadPropertyChangedEventArgs instance containing the event data. |
Overrides
OnPageChanged(RadPageViewItem)
Called when the page is changed.
Declaration
protected virtual void OnPageChanged(RadPageViewItem page)
Parameters
|
RadPageViewItem
page
The page. |
OnPageChanging(RadPageViewItem)
Called when the page is changing.
Declaration
protected virtual bool OnPageChanging(RadPageViewItem page)
Parameters
|
RadPageViewItem
page
The page. |
Returns
|
System.Boolean
|
SetActiveView(RadPageViewItem)
Sets the active view.
Declaration
protected virtual void SetActiveView(RadPageViewItem pageItem)
Parameters
|
RadPageViewItem
pageItem
The page item. |
SetContent()
Sets the value of the cell.
Declaration
public override void SetContent()
Overrides
UpdateInfoCore()
Updates the visual state of the cell.
Declaration
protected override void UpdateInfoCore()
Overrides
UpdatePageViewItems(IRadPageViewProvider)
Updates the page view items.
Declaration
protected virtual void UpdatePageViewItems(IRadPageViewProvider pageViewProvider)
Parameters
|
IRadPageViewProvider
pageViewProvider
The page view provider. |
UpdateTabItemsVisibility()
Updates the tab items visibility.
Declaration
public virtual void UpdateTabItemsVisibility()