menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GraphicModel - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GraphicModel

    Inheritance
    System.Object
    NonFinalizeDisposable
    Disposable
    GraphicModel
    Implements
    System.IDisposable
    IGraphicVolatileCellStylesHost
    Inherited Members
    NonFinalizeDisposable.Dispose()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GraphicModel : Disposable, IDisposable, IGraphicVolatileCellStylesHost

    Constructors

    GraphicModel()

    Declaration
    public GraphicModel()

    Properties

    CellModels

    Manages cell types for the grid.

    Declaration
    public GraphicCellModelCollection CellModels { get; }
    Property Value
    Type
    GraphicCellModelCollection

    CellRenderers

    Declaration
    public GraphicCellRendererCollection CellRenderers { get; }
    Property Value
    Type
    GraphicCellRendererCollection

    CurrentCellRenderers

    Declaration
    public IGraphicCellRenderer CurrentCellRenderers { get; }
    Property Value
    Type
    IGraphicCellRenderer

    CurrentGraphicCell

    Declaration
    public GraphicCellSpanInfo CurrentGraphicCell { get; }
    Property Value
    Type
    GraphicCellSpanInfo

    GraphicCells

    Declaration
    public GraphicCellInfoCollection GraphicCells { get; }
    Property Value
    Type
    GraphicCellInfoCollection

    GridControl

    Declaration
    public GridControlBase GridControl { get; }
    Property Value
    Type
    GridControlBase

    Item[Int32]

    Declaration
    public GraphicStyleInfo this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type
    GraphicStyleInfo

    Item[Int32, Int32]

    Declaration
    public GraphicStyleInfo this[int RowIndex, int ColumnIndex] { get; }
    Parameters
    Type Name Description
    System.Int32 RowIndex
    System.Int32 ColumnIndex
    Property Value
    Type
    GraphicStyleInfo

    SelectedGraphicCells

    Declaration
    public GraphicCellSpanInfoCollection<GraphicCellSpanInfo> SelectedGraphicCells { get; }
    Property Value
    Type
    GraphicCellSpanInfoCollection<GraphicCellSpanInfo>

    Methods

    CommitGraphicCellInfo(Int32, GraphicStyleInfo, StyleInfoProperty)

    Declaration
    public void CommitGraphicCellInfo(int index, GraphicStyleInfo style, StyleInfoProperty sip)
    Parameters
    Type Name Description
    System.Int32 index
    GraphicStyleInfo style
    StyleInfoProperty sip

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    Overrides
    NonFinalizeDisposable.Dispose(Boolean)

    GetGraphicCellRenderer(GraphicStyleInfo)

    Declaration
    protected IGraphicCellRenderer GetGraphicCellRenderer(GraphicStyleInfo style)
    Parameters
    Type Name Description
    GraphicStyleInfo style
    Returns
    Type
    IGraphicCellRenderer

    Invalidate(RowColumnIndex)

    Declaration
    public void Invalidate(RowColumnIndex cellRowColumnIndex)
    Parameters
    Type Name Description
    RowColumnIndex cellRowColumnIndex

    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
    Type
    GraphicCellModelBase

    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
    Type Name Description
    GraphicCommitCellInfoEventArgs e

    OnCurrrentGraphicCellActivated(CurrrentGraphicCellActivatedEventArgs)

    Declaration
    protected virtual void OnCurrrentGraphicCellActivated(CurrrentGraphicCellActivatedEventArgs e)
    Parameters
    Type Name Description
    CurrrentGraphicCellActivatedEventArgs e

    OnCurrrentGraphicCellActivating(CurrrentGraphicCellActivatingEventArgs)

    Declaration
    protected virtual void OnCurrrentGraphicCellActivating(CurrrentGraphicCellActivatingEventArgs e)
    Parameters
    Type Name Description
    CurrrentGraphicCellActivatingEventArgs e

    OnCurrrentGraphicCellDeactivated(CurrrentGraphicCellDeactivatedEventArgs)

    Declaration
    protected virtual void OnCurrrentGraphicCellDeactivated(CurrrentGraphicCellDeactivatedEventArgs e)
    Parameters
    Type Name Description
    CurrrentGraphicCellDeactivatedEventArgs e

    OnGraphicCellMoved(GraphicCellMovedEventArgs)

    Declaration
    protected virtual void OnGraphicCellMoved(GraphicCellMovedEventArgs e)
    Parameters
    Type Name Description
    GraphicCellMovedEventArgs e

    OnGraphicCellMoving(GraphicCellMovingEventArgs)

    Declaration
    protected virtual void OnGraphicCellMoving(GraphicCellMovingEventArgs e)
    Parameters
    Type Name Description
    GraphicCellMovingEventArgs e

    OnGraphicCellRemoved(GraphicCellRemovedEventArgs)

    Declaration
    protected virtual void OnGraphicCellRemoved(GraphicCellRemovedEventArgs e)
    Parameters
    Type Name Description
    GraphicCellRemovedEventArgs e

    OnGraphicCellRemoving(GraphicCellRemovingEventArgs)

    Declaration
    protected virtual void OnGraphicCellRemoving(GraphicCellRemovingEventArgs e)
    Parameters
    Type Name Description
    GraphicCellRemovingEventArgs e

    OnGraphicCellResized(GraphicCellResizedEventArgs)

    Declaration
    protected virtual void OnGraphicCellResized(GraphicCellResizedEventArgs e)
    Parameters
    Type Name Description
    GraphicCellResizedEventArgs e

    OnGraphicCellResizing(GraphicCellResizingEventArgs)

    Declaration
    protected virtual void OnGraphicCellResizing(GraphicCellResizingEventArgs e)
    Parameters
    Type Name Description
    GraphicCellResizingEventArgs e

    OnQueryCellInfo(GraphicQueryCellInfoEventArgs)

    Declaration
    protected virtual void OnQueryCellInfo(GraphicQueryCellInfoEventArgs e)
    Parameters
    Type Name Description
    GraphicQueryCellInfoEventArgs e

    PrepareGraphicCellUIElements(GraphicStyleInfo, GraphicCellSpanInfo)

    Declaration
    protected GraphicCellUIElement PrepareGraphicCellUIElements(GraphicStyleInfo style, GraphicCellSpanInfo cellSpanInfo)
    Parameters
    Type Name Description
    GraphicStyleInfo style
    GraphicCellSpanInfo cellSpanInfo
    Returns
    Type
    GraphicCellUIElement

    QueryBaseGraphicStyles(Int32, GraphicStyleInfo)

    Declaration
    public IStyleInfo[] QueryBaseGraphicStyles(int index, GraphicStyleInfo style)
    Parameters
    Type Name Description
    System.Int32 index
    GraphicStyleInfo style
    Returns
    Type
    IStyleInfo[]

    QueryGraphicCellInfo(Int32, GraphicStyleInfo)

    Declaration
    public void QueryGraphicCellInfo(int index, GraphicStyleInfo style)
    Parameters
    Type Name Description
    System.Int32 index
    GraphicStyleInfo style

    UnWireEvents()

    Declaration
    protected virtual void UnWireEvents()

    WireEvents()

    Declaration
    protected virtual void WireEvents()

    Events

    CurrentGraphicCellActivated

    Declaration
    public event CurrrentGraphicCellActivatedEventHandler CurrentGraphicCellActivated
    Event Type
    Type
    CurrrentGraphicCellActivatedEventHandler

    CurrentGraphicCellActivating

    Declaration
    public event CurrrentGraphicCellActivatingEventHandler CurrentGraphicCellActivating
    Event Type
    Type
    CurrrentGraphicCellActivatingEventHandler

    CurrentGraphicCellDeactivated

    Declaration
    public event CurrrentGraphicCellDeactivatedEventHandler CurrentGraphicCellDeactivated
    Event Type
    Type
    CurrrentGraphicCellDeactivatedEventHandler

    GraphicCellMoved

    Declaration
    public event GraphicCellMovedEventHandler GraphicCellMoved
    Event Type
    Type
    GraphicCellMovedEventHandler

    GraphicCellMoving

    Declaration
    public event GraphicCellMovingEventHandler GraphicCellMoving
    Event Type
    Type
    GraphicCellMovingEventHandler

    GraphicCellRemoved

    Declaration
    public event GraphicCellRemovedEventHandler GraphicCellRemoved
    Event Type
    Type
    GraphicCellRemovedEventHandler

    GraphicCellRemoving

    Declaration
    public event GraphicCellRemovingEventHandler GraphicCellRemoving
    Event Type
    Type
    GraphicCellRemovingEventHandler

    GraphicCellResized

    Declaration
    public event GraphicCellResizedEventHandler GraphicCellResized
    Event Type
    Type
    GraphicCellResizedEventHandler

    GraphicCellResizing

    Declaration
    public event GraphicCellResizingEventHandler GraphicCellResizing
    Event Type
    Type
    GraphicCellResizingEventHandler

    GraphicCommittedCellInfo

    Declaration
    public event GraphicCommitCellInfoEventHandler GraphicCommittedCellInfo
    Event Type
    Type
    GraphicCommitCellInfoEventHandler

    GraphicQueryCellInfo

    Declaration
    public event GraphicQueryCellInfoEventHandler GraphicQueryCellInfo
    Event Type
    Type
    GraphicQueryCellInfoEventHandler

    Implements

    System.IDisposable
    IGraphicVolatileCellStylesHost
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved