Current filter:
                                You should refresh the page.
                                0
                                  • Hello,

                                    I need to place a custom user control as an in-place editor in my XtraGrid. I came across this article (http://www.devexpress.com/Support/Center/kb/p/A128.aspx#E3051) which explains exactly what I needed to know. However, one of the requirements is that I use IEditValue interface with my UserControl. The problem is that I cannot find the definition of IEditValue.

                                    Here is a snippet of the example in the above mentioned article:

                                    using System;
                                    using System.Collections.Generic;
                                    using System.ComponentModel;
                                    using System.Drawing;
                                    using System.Data;
                                    using System.Text;
                                    using System.Windows.Forms;
                                    using DevExpress.XtraEditors.Mask;

                                    namespace CustomControlInGrid
                                    {
                                        public partial class ProjectLayoutControl : UserControl, IEditValue
                                    .......

                                    When I try the same code, VS complains that there is no definition for IEditValue.

                                    So, my question is: which namespace I have to include to be able to use IEditValue?

                                    Thank you,
                                    Daniel

                                0

                                Hi Daniel ,

                                Thank you for contacting us.

                                The IEditValue interface is declared in the CustomRepositoryItem.cs unit of the E3051 example. Here is its declaration:

                                	
                                [C#]
                                public interface IEditValue { object EditValue{ get; set;} event EventHandler EditValueChanged; }

                                We will correct our example and move this code to a separate unit.
                                If you need any further assistance on this subject, please feel free to reactivate this ticket.

                                Thanks
                                Dimitros

                                0

                                Hi Dimitros,

                                Thank you for your quick reply. That makes sense now :) Appreciate your help.

                                Daniel

                                0

                                You're welcome, Daniel :) Please feel free to contact us in case of any difficulty. We are happy to help you at any time.

                                Dimitros

                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.