ClassGridDetailViewCellElement
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
GridDetailViewCellElement(GridViewColumn, GridRowElement)
Initializes a new instance of the GridDetailViewCellElement class.
Declaration
public GridDetailViewCellElement(GridViewColumn column, GridRowElement row)
Parameters
column
An instance of the GridViewColumn
row
An instance of the GridRowElement
Properties
CanUpdateInfo
Gets whether can update info.
Declaration
protected override bool CanUpdateInfo { get; }
Property Value
The can update info.
Overrides
ChildTableElement
Gets the GridTableElement child element
Declaration
public GridTableElement ChildTableElement { get; }
Property Value
DetailsRow
Gets the details row info associated with this cell element
Declaration
protected GridViewDetailsRowInfo DetailsRow { get; }
Property Value
HierarchyRow
Gets the hierarchy row, parent for this child view
Declaration
protected GridViewHierarchyRowInfo HierarchyRow { get; }
Property Value
PageViewElement
Gets the RadPageViewElement which contains the child view for this cell element.
Declaration
public RadPageViewElement PageViewElement { get; }
Property Value
RowInfo
Gets the associated data row
Declaration
public override GridViewRowInfo RowInfo { get; protected set; }
Property Value
Overrides
Methods
CreateChildTableElement()
Creates the child table element.
Declaration
protected virtual GridTableElement CreateChildTableElement()
Returns
CreatePageViewElement(IRadPageViewProvider)
Creates the page view element.
Declaration
protected virtual RadPageViewElement CreatePageViewElement(IRadPageViewProvider pageViewProvider)
Parameters
pageViewProvider
The page view provider.
Returns
CreatePageViewItem(IRadPageViewProvider, GridViewInfo)
Creates the page view item.
Declaration
protected virtual RadPageViewItem CreatePageViewItem(IRadPageViewProvider pageViewProvider, GridViewInfo viewInfo)
Parameters
pageViewProvider
The page view provider.
viewInfo
The view info.
Returns
CreatePageViewProvider()
Creates the page view provider.
Declaration
protected virtual IRadPageViewProvider CreatePageViewProvider()
Returns
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
column
An instance of GridViewColumn.
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
item
The item.
viewInfo
The view info.
MeasureOverride(SizeF)
Measures the space required by the RadElement Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
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
Remarks
In this method call to the Measure method of each child must be made.
OnBoundsChanged(RadPropertyChangedEventArgs)
Raises the event.
Declaration
protected override void OnBoundsChanged(RadPropertyChangedEventArgs e)
Parameters
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
page
The page.
OnPageChanging(RadPageViewItem)
Called when the page is changing.
Declaration
protected virtual bool OnPageChanging(RadPageViewItem page)
Parameters
page
The page.
Returns
SetActiveView(RadPageViewItem)
Sets the active view.
Declaration
protected virtual void SetActiveView(RadPageViewItem pageItem)
Parameters
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
pageViewProvider
The page view provider.
UpdateTabItemsVisibility()
Updates the tab items visibility.
Declaration
public virtual void UpdateTabItemsVisibility()