Class GraphicModel
Inheritance
System.Object
GraphicModel
Implements
System.IDisposable
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GraphicModel : Disposable, IDisposable, IGraphicVolatileCellStylesHost
Constructors
GraphicModel()
Declaration
Properties
CellModels
Manages cell types for the grid.
Declaration
public GraphicCellModelCollection CellModels { get; }
Property Value
CellRenderers
Declaration
public GraphicCellRendererCollection CellRenderers { get; }
Property Value
CurrentCellRenderers
Declaration
public IGraphicCellRenderer CurrentCellRenderers { get; }
Property Value
CurrentGraphicCell
Declaration
public GraphicCellSpanInfo CurrentGraphicCell { get; }
Property Value
GraphicCells
Declaration
public GraphicCellInfoCollection GraphicCells { get; }
Property Value
GridControl
Declaration
public GridControlBase GridControl { get; }
Property Value
Item[Int32]
Declaration
public GraphicStyleInfo this[int index] { get; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
Item[Int32, Int32]
Declaration
public GraphicStyleInfo this[int RowIndex, int ColumnIndex] { get; }
Parameters
Type |
Name |
Description |
System.Int32 |
RowIndex |
|
System.Int32 |
ColumnIndex |
|
Property Value
SelectedGraphicCells
Declaration
public GraphicCellSpanInfoCollection<GraphicCellSpanInfo> SelectedGraphicCells { get; }
Property Value
Methods
add_CurrentGraphicCellActivated(CurrrentGraphicCellActivatedEventHandler)
Declaration
public void add_CurrentGraphicCellActivated(CurrrentGraphicCellActivatedEventHandler value)
Parameters
add_CurrentGraphicCellActivating(CurrrentGraphicCellActivatingEventHandler)
Declaration
public void add_CurrentGraphicCellActivating(CurrrentGraphicCellActivatingEventHandler value)
Parameters
add_CurrentGraphicCellDeactivated(CurrrentGraphicCellDeactivatedEventHandler)
Declaration
public void add_CurrentGraphicCellDeactivated(CurrrentGraphicCellDeactivatedEventHandler value)
Parameters
add_GraphicCellMoved(GraphicCellMovedEventHandler)
Declaration
public void add_GraphicCellMoved(GraphicCellMovedEventHandler value)
Parameters
add_GraphicCellMoving(GraphicCellMovingEventHandler)
Declaration
public void add_GraphicCellMoving(GraphicCellMovingEventHandler value)
Parameters
add_GraphicCellRemoved(GraphicCellRemovedEventHandler)
Declaration
public void add_GraphicCellRemoved(GraphicCellRemovedEventHandler value)
Parameters
add_GraphicCellRemoving(GraphicCellRemovingEventHandler)
Declaration
public void add_GraphicCellRemoving(GraphicCellRemovingEventHandler value)
Parameters
add_GraphicCellResized(GraphicCellResizedEventHandler)
Declaration
public void add_GraphicCellResized(GraphicCellResizedEventHandler value)
Parameters
add_GraphicCellResizing(GraphicCellResizingEventHandler)
Declaration
public void add_GraphicCellResizing(GraphicCellResizingEventHandler value)
Parameters
add_GraphicCommittedCellInfo(GraphicCommitCellInfoEventHandler)
Declaration
public void add_GraphicCommittedCellInfo(GraphicCommitCellInfoEventHandler value)
Parameters
add_GraphicQueryCellInfo(GraphicQueryCellInfoEventHandler)
Declaration
public void add_GraphicQueryCellInfo(GraphicQueryCellInfoEventHandler value)
Parameters
CommitGraphicCellInfo(Int32, GraphicStyleInfo, StyleInfoProperty)
Declaration
public void CommitGraphicCellInfo(int index, GraphicStyleInfo style, StyleInfoProperty sip)
Parameters
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Overrides
GetGraphicCellRenderer(GraphicStyleInfo)
Declaration
protected IGraphicCellRenderer GetGraphicCellRenderer(GraphicStyleInfo style)
Parameters
Returns
Invalidate(RowColumnIndex)
Declaration
public void Invalidate(RowColumnIndex cellRowColumnIndex)
Parameters
Invalidate(Int32, Int32)
Declaration
public void Invalidate(int RowIndex, int ColumnIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
RowIndex |
|
System.Int32 |
ColumnIndex |
|
InvalidateGraphicCells()
Declaration
public void InvalidateGraphicCells()
InvalidateVisual()
Declaration
public void InvalidateVisual()
LookupGraphicCellModel(String)
Declaration
public GraphicCellModelBase LookupGraphicCellModel(string id)
Parameters
Type |
Name |
Description |
System.String |
id |
|
Returns
OnArrangeGraphicCell(UIElement, Rect, GraphicStyleInfo)
Declaration
protected void OnArrangeGraphicCell(UIElement uiElements, Rect cellRect, GraphicStyleInfo style)
Parameters
Type |
Name |
Description |
System.Windows.UIElement |
uiElements |
|
System.Windows.Rect |
cellRect |
|
GraphicStyleInfo |
style |
|
OnCommittedCellInfo(GraphicCommitCellInfoEventArgs)
Declaration
protected virtual void OnCommittedCellInfo(GraphicCommitCellInfoEventArgs e)
Parameters
OnCurrrentGraphicCellActivated(CurrrentGraphicCellActivatedEventArgs)
Declaration
protected virtual void OnCurrrentGraphicCellActivated(CurrrentGraphicCellActivatedEventArgs e)
Parameters
OnCurrrentGraphicCellActivating(CurrrentGraphicCellActivatingEventArgs)
Declaration
protected virtual void OnCurrrentGraphicCellActivating(CurrrentGraphicCellActivatingEventArgs e)
Parameters
OnCurrrentGraphicCellDeactivated(CurrrentGraphicCellDeactivatedEventArgs)
Declaration
protected virtual void OnCurrrentGraphicCellDeactivated(CurrrentGraphicCellDeactivatedEventArgs e)
Parameters
OnGraphicCellMoved(GraphicCellMovedEventArgs)
Declaration
protected virtual void OnGraphicCellMoved(GraphicCellMovedEventArgs e)
Parameters
OnGraphicCellMoving(GraphicCellMovingEventArgs)
Declaration
protected virtual void OnGraphicCellMoving(GraphicCellMovingEventArgs e)
Parameters
OnGraphicCellRemoved(GraphicCellRemovedEventArgs)
Declaration
protected virtual void OnGraphicCellRemoved(GraphicCellRemovedEventArgs e)
Parameters
OnGraphicCellRemoving(GraphicCellRemovingEventArgs)
Declaration
protected virtual void OnGraphicCellRemoving(GraphicCellRemovingEventArgs e)
Parameters
OnGraphicCellResized(GraphicCellResizedEventArgs)
Declaration
protected virtual void OnGraphicCellResized(GraphicCellResizedEventArgs e)
Parameters
OnGraphicCellResizing(GraphicCellResizingEventArgs)
Declaration
protected virtual void OnGraphicCellResizing(GraphicCellResizingEventArgs e)
Parameters
OnQueryCellInfo(GraphicQueryCellInfoEventArgs)
Declaration
protected virtual void OnQueryCellInfo(GraphicQueryCellInfoEventArgs e)
Parameters
PrepareGraphicCellUIElements(GraphicStyleInfo, GraphicCellSpanInfo)
Declaration
protected GraphicCellUIElement PrepareGraphicCellUIElements(GraphicStyleInfo style, GraphicCellSpanInfo cellSpanInfo)
Parameters
Returns
QueryBaseGraphicStyles(Int32, GraphicStyleInfo)
Declaration
public IStyleInfo[] QueryBaseGraphicStyles(int index, GraphicStyleInfo style)
Parameters
Returns
QueryGraphicCellInfo(Int32, GraphicStyleInfo)
Declaration
public void QueryGraphicCellInfo(int index, GraphicStyleInfo style)
Parameters
remove_CurrentGraphicCellActivated(CurrrentGraphicCellActivatedEventHandler)
Declaration
public void remove_CurrentGraphicCellActivated(CurrrentGraphicCellActivatedEventHandler value)
Parameters
remove_CurrentGraphicCellActivating(CurrrentGraphicCellActivatingEventHandler)
Declaration
public void remove_CurrentGraphicCellActivating(CurrrentGraphicCellActivatingEventHandler value)
Parameters
remove_CurrentGraphicCellDeactivated(CurrrentGraphicCellDeactivatedEventHandler)
Declaration
public void remove_CurrentGraphicCellDeactivated(CurrrentGraphicCellDeactivatedEventHandler value)
Parameters
remove_GraphicCellMoved(GraphicCellMovedEventHandler)
Declaration
public void remove_GraphicCellMoved(GraphicCellMovedEventHandler value)
Parameters
remove_GraphicCellMoving(GraphicCellMovingEventHandler)
Declaration
public void remove_GraphicCellMoving(GraphicCellMovingEventHandler value)
Parameters
remove_GraphicCellRemoved(GraphicCellRemovedEventHandler)
Declaration
public void remove_GraphicCellRemoved(GraphicCellRemovedEventHandler value)
Parameters
remove_GraphicCellRemoving(GraphicCellRemovingEventHandler)
Declaration
public void remove_GraphicCellRemoving(GraphicCellRemovingEventHandler value)
Parameters
remove_GraphicCellResized(GraphicCellResizedEventHandler)
Declaration
public void remove_GraphicCellResized(GraphicCellResizedEventHandler value)
Parameters
remove_GraphicCellResizing(GraphicCellResizingEventHandler)
Declaration
public void remove_GraphicCellResizing(GraphicCellResizingEventHandler value)
Parameters
remove_GraphicCommittedCellInfo(GraphicCommitCellInfoEventHandler)
Declaration
public void remove_GraphicCommittedCellInfo(GraphicCommitCellInfoEventHandler value)
Parameters
remove_GraphicQueryCellInfo(GraphicQueryCellInfoEventHandler)
Declaration
public void remove_GraphicQueryCellInfo(GraphicQueryCellInfoEventHandler value)
Parameters
UnWireEvents()
Declaration
protected virtual void UnWireEvents()
WireEvents()
Declaration
protected virtual void WireEvents()
Events
CurrentGraphicCellActivated
Declaration
public event CurrrentGraphicCellActivatedEventHandler CurrentGraphicCellActivated
Event Type
CurrentGraphicCellActivating
Declaration
public event CurrrentGraphicCellActivatingEventHandler CurrentGraphicCellActivating
Event Type
CurrentGraphicCellDeactivated
Declaration
public event CurrrentGraphicCellDeactivatedEventHandler CurrentGraphicCellDeactivated
Event Type
GraphicCellMoved
Declaration
public event GraphicCellMovedEventHandler GraphicCellMoved
Event Type
GraphicCellMoving
Declaration
public event GraphicCellMovingEventHandler GraphicCellMoving
Event Type
GraphicCellRemoved
Declaration
public event GraphicCellRemovedEventHandler GraphicCellRemoved
Event Type
GraphicCellRemoving
Declaration
public event GraphicCellRemovingEventHandler GraphicCellRemoving
Event Type
GraphicCellResized
Declaration
public event GraphicCellResizedEventHandler GraphicCellResized
Event Type
GraphicCellResizing
Declaration
public event GraphicCellResizingEventHandler GraphicCellResizing
Event Type
GraphicCommittedCellInfo
Declaration
public event GraphicCommitCellInfoEventHandler GraphicCommittedCellInfo
Event Type
GraphicQueryCellInfo
Declaration
public event GraphicQueryCellInfoEventHandler GraphicQueryCellInfo
Event Type
Implements
System.IDisposable