menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IGridModelEventsHost - API Reference

    Show / Hide Table of Contents

    Interface IGridModelEventsHost

    Defines the workflow for grid model events.

    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public interface IGridModelEventsHost

    Methods

    OnBaseStyleMapsChanged(EventArgs)

    Occurs when the GridModel.BaseStylesMap is changed.

    Declaration
    void OnBaseStyleMapsChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    A System.EventArgs containing event data.

    OnCellModelsChanged(CollectionChangeEventArgs)

    Occurs when the CellModels collection is changed.

    Declaration
    void OnCellModelsChanged(CollectionChangeEventArgs e)
    Parameters
    Type Name Description
    System.ComponentModel.CollectionChangeEventArgs e

    A System.ComponentModel.CollectionChangeEventArgs containing event data.

    OnClipboardCanCopy(GridCutPasteEventArgs)

    Raises the event.

    Declaration
    void OnClipboardCanCopy(GridCutPasteEventArgs e)
    Parameters
    Type Name Description
    GridCutPasteEventArgs e

    A GridCutPasteEventArgs containing event data.

    OnClipboardCanCut(GridCutPasteEventArgs)

    Raises the event.

    Declaration
    void OnClipboardCanCut(GridCutPasteEventArgs e)
    Parameters
    Type Name Description
    GridCutPasteEventArgs e

    A GridCutPasteEventArgs containing event data.

    OnClipboardCanPaste(GridCutPasteEventArgs)

    Raises the event.

    Declaration
    void OnClipboardCanPaste(GridCutPasteEventArgs e)
    Parameters
    Type Name Description
    GridCutPasteEventArgs e

    A GridCutPasteEventArgs containing event data.

    OnClipboardCopy(GridCutPasteEventArgs)

    Raises the event.

    Declaration
    void OnClipboardCopy(GridCutPasteEventArgs e)
    Parameters
    Type Name Description
    GridCutPasteEventArgs e

    A GridCutPasteEventArgs containing event data.

    OnClipboardCut(GridCutPasteEventArgs)

    Raises the event.

    Declaration
    void OnClipboardCut(GridCutPasteEventArgs e)
    Parameters
    Type Name Description
    GridCutPasteEventArgs e

    A GridCutPasteEventArgs containing event data.

    OnClipboardPaste(GridCutPasteEventArgs)

    Raises the event.

    Declaration
    void OnClipboardPaste(GridCutPasteEventArgs e)
    Parameters
    Type Name Description
    GridCutPasteEventArgs e

    A GridCutPasteEventArgs containing event data.

    OnClipboardPasted(GridCutPasteEventArgs)

    Raises the event.

    Declaration
    void OnClipboardPasted(GridCutPasteEventArgs e)
    Parameters
    Type Name Description
    GridCutPasteEventArgs e

    A GridCutPasteEventArgs containing event data.

    OnColumnsInserted(GridRangeInsertedEventArgs)

    Occurs after a range of columns has been inserted.

    Declaration
    void OnColumnsInserted(GridRangeInsertedEventArgs e)
    Parameters
    Type Name Description
    GridRangeInsertedEventArgs e

    A GridRangeInsertedEventArgs containing event data.

    OnColumnsMoved(GridRangeMovedEventArgs)

    Occurs after a range of columns has been moved.

    Declaration
    void OnColumnsMoved(GridRangeMovedEventArgs e)
    Parameters
    Type Name Description
    GridRangeMovedEventArgs e

    A GridRangeMovedEventArgs containing event data.

    OnColumnsRemoved(GridRangeRemovedEventArgs)

    Occurs after a range of columns has been removed.

    Declaration
    void OnColumnsRemoved(GridRangeRemovedEventArgs e)
    Parameters
    Type Name Description
    GridRangeRemovedEventArgs e

    A GridRangeRemovedEventArgs containing event data.

    OnCommitCellInfo(GridCommitCellInfoEventArgs)

    Occurs when the model is about to save style information about a specific cell.

    Declaration
    void OnCommitCellInfo(GridCommitCellInfoEventArgs e)
    Parameters
    Type Name Description
    GridCommitCellInfoEventArgs e

    A GridCommitCellInfoEventArgs containing event data.

    OnCommittedCellInfo(GridCommitCellInfoEventArgs)

    Occurs when the model has saved style information about a specific cell.

    Declaration
    void OnCommittedCellInfo(GridCommitCellInfoEventArgs e)
    Parameters
    Type Name Description
    GridCommitCellInfoEventArgs e

    A GridCommitCellInfoEventArgs containing event data.

    OnDisposing(Boolean)

    Occurs when the grid model is being disposed.

    Declaration
    void OnDisposing(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    True if the component is being disposed.

    OnParseCommonFormats(GridCellTextEventArgs)

    Use this event to provide support for parsing the formatted string and convert it into the the underlying cell's value considering Format and CellValueType.

    Declaration
    void OnParseCommonFormats(GridCellTextEventArgs e)
    Parameters
    Type Name Description
    GridCellTextEventArgs e

    A GridCellTextEventArgs containing event data.

    OnQueryBaseStyles(GridQueryBaseStylesEventArgs)

    Occurs when the model queries information about base styles at a specific cell.

    Declaration
    void OnQueryBaseStyles(GridQueryBaseStylesEventArgs e)
    Parameters
    Type Name Description
    GridQueryBaseStylesEventArgs e

    A GridQueryBaseStylesEventArgs containing event data.

    OnQueryCellFormattedText(GridCellTextEventArgs)

    Occurs each time the FormattedText is called to get the formatted string that represents the underlying cell's value considering Format.

    Declaration
    void OnQueryCellFormattedText(GridCellTextEventArgs e)
    Parameters
    Type Name Description
    GridCellTextEventArgs e

    A GridCellTextEventArgs containing event data.

    OnQueryCellInfo(GridQueryCellInfoEventArgs)

    Occurs when the model queries for style information about a specific cell.

    Declaration
    void OnQueryCellInfo(GridQueryCellInfoEventArgs e)
    Parameters
    Type Name Description
    GridQueryCellInfoEventArgs e

    A GridQueryCellInfoEventArgs containing event data.

    OnQueryCellModel(GridQueryCellModelEventArgs)

    Occurs when querying for a cell type.

    Declaration
    void OnQueryCellModel(GridQueryCellModelEventArgs e)
    Parameters
    Type Name Description
    GridQueryCellModelEventArgs e

    A GridQueryCellModelEventArgs containing event data.

    OnQueryCellSpansBackground(GridQueryCellSpanBackgroundsEventArgs)

    Occurs when the model queries information about a cell spanned range at a specific cell.

    Declaration
    void OnQueryCellSpansBackground(GridQueryCellSpanBackgroundsEventArgs e)
    Parameters
    Type Name Description
    GridQueryCellSpanBackgroundsEventArgs e

    A GridQueryCellSpanBackgroundsEventArgs containing event data.

    OnQueryCellText(GridCellTextEventArgs)

    Occurs each time the Text is called to get the raw string that represents the underlying cell's value.

    Declaration
    void OnQueryCellText(GridCellTextEventArgs e)
    Parameters
    Type Name Description
    GridCellTextEventArgs e

    A GridCellTextEventArgs containing event data.

    OnQueryCoveredRange(GridQueryCoveredRangeEventArgs)

    Occurs when the model queries information about covered cells at a specific cell.

    Declaration
    void OnQueryCoveredRange(GridQueryCoveredRangeEventArgs e)
    Parameters
    Type Name Description
    GridQueryCoveredRangeEventArgs e

    A GridQueryCoveredRangeEventArgs containing event data.

    OnRowsInserted(GridRangeInsertedEventArgs)

    Occurs after a range of rows has been inserted.

    Declaration
    void OnRowsInserted(GridRangeInsertedEventArgs e)
    Parameters
    Type Name Description
    GridRangeInsertedEventArgs e

    A GridRangeInsertedEventArgs containing event data.

    OnRowsMoved(GridRangeMovedEventArgs)

    Occurs after a range of rows has been moved.

    Declaration
    void OnRowsMoved(GridRangeMovedEventArgs e)
    Parameters
    Type Name Description
    GridRangeMovedEventArgs e

    A GridRangeMovedEventArgs containing event data.

    OnRowsRemoved(GridRangeRemovedEventArgs)

    Occurs after a range of rows has been removed.

    Declaration
    void OnRowsRemoved(GridRangeRemovedEventArgs e)
    Parameters
    Type Name Description
    GridRangeRemovedEventArgs e

    A GridRangeRemovedEventArgs containing event data.

    OnSaveCellFormattedText(GridCellTextEventArgs)

    Occurs each time the FormattedText is called to parse the formatted string that represents the underlying cell's value considering Format and CellValueType.

    Declaration
    void OnSaveCellFormattedText(GridCellTextEventArgs e)
    Parameters
    Type Name Description
    GridCellTextEventArgs e

    A GridCellTextEventArgs containing event data.

    OnSaveCellText(GridCellTextEventArgs)

    Occurs each time the Text is called to set the unformatted string that represents the underlying cell's value.

    Declaration
    void OnSaveCellText(GridCellTextEventArgs e)
    Parameters
    Type Name Description
    GridCellTextEventArgs e

    A GridCellTextEventArgs containing event data.

    OnSelectionChanged(GridSelectionChangedEventArgs)

    Occurs after the model updates its internal data structures when the model is in the process of selecting a range of cells.

    Declaration
    void OnSelectionChanged(GridSelectionChangedEventArgs e)
    Parameters
    Type Name Description
    GridSelectionChangedEventArgs e

    A GridSelectionChangedEventArgs containing event data.

    OnSelectionChanging(GridSelectionChangingEventArgs)

    Occurs before the model updates internal data structures when the model is in the process of selecting a range of cells.

    Declaration
    void OnSelectionChanging(GridSelectionChangingEventArgs e)
    Parameters
    Type Name Description
    GridSelectionChangingEventArgs e

    A GridSelectionChangingEventArgs containing event data.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved