vitaterew.blogg.se

Grid control devexpress
Grid control devexpress








If (info.InRow OrElse info.InRowCell) AndAlso info.Column IsNot Nothing Then Private Sub inplaceEditor_DoubleClick(sender As Object, e As EventArgs)ĭim editor As BaseEdit = DirectCast(sender, BaseEdit)ĭim grid As GridControl = DirectCast(editor.Parent, GridControl)ĭim pt As Point = grid.PointToClient(Control.MousePosition)ĭim view As GridView = DirectCast(grid.FocusedView, GridView)ĭim info As GridHitInfo = view.CalcHitInfo(pt) Private Sub gridView1_ShownEditor(sender As Object, e As EventArgs)ĭim inplaceEditor As BaseEdit = DirectCast(sender, GridView).ActiveEditorĪddHandler inplaceEditor.DoubleClick, AddressOf inplaceEditor_DoubleClick MessageBox.Show(string.Format("Made a doubleclick at rowhandle. Object cellValue = view.GetRowCellValue(info.RowHandle, info.Column) If ((info.InRow || info.InRowCell) & info.Column != null) Samples OptionsBehavior.Editable set to False C# Sample private void gridView1_DoubleClick(object sender, EventArgs e)

#GRID CONTROL DEVEXPRESS HOW TO#

I will also give an example on how to combine both methods, if you are using both (true and false) on the. If this property is set to true you have to use the ShownEditor and HiddenEditor event. If this property is set to false you have to use the DoubleClick event. The variant you choose, depends on the Gridview’s property. There are 2 different ways of doing this. Using doubleclick events in the Devexpress Gridview Control is a simple task. C#, click, csharp, Developer Express, devexpress, double, doubleclick, dx, dxgrid, event, eventhandler, express, grid, GridControl, GridView, Handle, handler, handling, list, net, System, vb.net, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio 2012, Visual Studio 2013, xtragrid








Grid control devexpress