skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class GridViewEditManager

Used to manage editors in GridVisualElement.

Inheritance
System.Object
GridViewEditManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll

Syntax

public class GridViewEditManager : IEditorManager, IDisposable, IGridViewEventListener

Constructors

GridViewEditManager(RadGridViewElement)

Initializes a new instance of the GridViewEditManager class.

Declaration
public GridViewEditManager(RadGridViewElement gridViewElement)
Parameters
RadGridViewElement gridViewElement

The RadGridView, RadGridViewElement associated with this class.

Properties

ActiveEditor

Gets the active editor

Declaration
public IInputEditor ActiveEditor { get; protected set; }
Property Value
IInputEditor

CloseEditorWhenValidationFails

Gets or sets a value indicating whether the active editor should be closed when validation process fails.

Declaration
public bool CloseEditorWhenValidationFails { get; set; }
Property Value
System.Boolean

GridViewElement

The instance of RadGridViewElement associated with this class.

Declaration
public RadGridViewElement GridViewElement { get; }
Property Value
RadGridViewElement

IsInEditMode

Gets a value indicating whether the cell is in edit mode.

Declaration
public bool IsInEditMode { get; }
Property Value
System.Boolean

Methods

BeginEdit()

Puts the current cell in edit mode.

Declaration
public virtual bool BeginEdit()
Returns
System.Boolean

Returns true if the process is successful.

CancelEdit()

Close the currently active editor and discard changes.

Declaration
public virtual bool CancelEdit()
Returns
System.Boolean

true on successful cancellation.

CloseEditor()

Ends the edit operation without committing the changes

Declaration
public virtual bool CloseEditor()
Returns
System.Boolean

true on success.

Dispose()

Disposes all resources.

Declaration
public void Dispose()
Implements
System.IDisposable.Dispose()

EndEdit()

Commits any changes and ends the edit operation on the current cell.

Declaration
public virtual bool EndEdit()
Returns
System.Boolean

true on success.

EndEditCore(Boolean, Boolean)

Finishes the editing process.

Declaration
protected virtual bool EndEditCore(bool validate, bool cancel)
Parameters
System.Boolean validate

System.Boolean cancel

A value that indicates whether the operation should be canceled.

Returns
System.Boolean

returns true if successful and the editor is closed.

GetDefaultEditor(IEditorProvider)

Gets the default editor for the specified provider.

Declaration
public virtual IInputEditor GetDefaultEditor(IEditorProvider provider)
Parameters
IEditorProvider provider

The IEditorProvider to get editor for.

Returns
IInputEditor

An instance of IInputEditor if successful.

Implements
IEditorManager.GetDefaultEditor(IEditorProvider)

InitializeEditor(IInputEditor)

Initializes the editor.

Declaration
protected virtual void InitializeEditor(IInputEditor activeEditor)
Parameters
IInputEditor activeEditor

An instance of IInputEditor

IsPermanentEditor(Type)

Checks whether there is a permanent editor associated with the specified type.

Declaration
public virtual bool IsPermanentEditor(Type editorType)
Parameters
System.Type editorType

The type to check.

Returns
System.Boolean

true if it exists permanent editor for the given type.

Implements
IEditorManager.IsPermanentEditor(Type)

OnPositionChanged(PositionChangedEventArgs)

Raises the PositionChanged event.

Declaration
protected virtual void OnPositionChanged(PositionChangedEventArgs args)
Parameters
PositionChangedEventArgs args

The PositionChangedEventArgs instance containing the event data.

OnPositionChanging(PositionChangingEventArgs)

Raises the PositionChanging event.

Declaration
protected virtual void OnPositionChanging(PositionChangingEventArgs args)
Parameters
PositionChangingEventArgs args

The PositionChangingEventArgs instance containing the event data.

RegisterPermanentEditorType(Type)

Register a permanent editor for specific type.

Declaration
public void RegisterPermanentEditorType(Type editor)
Parameters
System.Type editor

The type to register.

Implements
IEditorManager.RegisterPermanentEditorType(Type)

Explicit Interface Implementations

IGridViewEventListener.AnalyzeQueue(List<GridViewEvent>)

Declaration
bool IGridViewEventListener.AnalyzeQueue(List<GridViewEvent> events)
Parameters
System.Collections.Generic.List<GridViewEvent> events

Returns
System.Boolean

Implements
IGridViewEventListener.AnalyzeQueue(List<GridViewEvent>)

IGridViewEventListener.DesiredEvents

Declaration
GridEventType IGridViewEventListener.DesiredEvents { get; }
Returns
GridEventType

Implements
IGridViewEventListener.DesiredEvents

IGridViewEventListener.DesiredProcessMode

Declaration
GridEventProcessMode IGridViewEventListener.DesiredProcessMode { get; }
Returns
GridEventProcessMode

Implements
IGridViewEventListener.DesiredProcessMode

IGridViewEventListener.PostProcessEvent(GridViewEvent)

Declaration
GridViewEventResult IGridViewEventListener.PostProcessEvent(GridViewEvent eventData)
Parameters
GridViewEvent eventData

Returns
GridViewEventResult

Implements
IGridViewEventListener.PostProcessEvent(GridViewEvent)

IGridViewEventListener.PreProcessEvent(GridViewEvent)

Declaration
GridViewEventResult IGridViewEventListener.PreProcessEvent(GridViewEvent eventData)
Parameters
GridViewEvent eventData

Returns
GridViewEventResult

Implements
IGridViewEventListener.PreProcessEvent(GridViewEvent)

IGridViewEventListener.Priority

Declaration
EventListenerPriority IGridViewEventListener.Priority { get; }
Returns
EventListenerPriority

Implements
IGridViewEventListener.Priority

IGridViewEventListener.ProcessEvent(GridViewEvent)

Declaration
GridViewEventResult IGridViewEventListener.ProcessEvent(GridViewEvent eventData)
Parameters
GridViewEvent eventData

Returns
GridViewEventResult

Implements
IGridViewEventListener.ProcessEvent(GridViewEvent)

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.