Thursday, October 1, 2009

How to Prevent a DetailView From being Shown When the User Double Clicks/Presses the Enter Key on a Record in the ListView

namespace Solution1.Module.Win { public partial class ViewController1 : DevExpress.ExpressApp.SystemModule.ListViewProcessCurrentObjectController { public ViewController1() { InitializeComponent(); RegisterActions(components); } protected override void ExecuteProcessCurrentObject(SimpleActionExecuteEventArgs e) { if (View is ListView && View.ObjectType == typeof(DomainObject1)) { return; } base.ExecuteProcessCurrentObject(e); }}}

No comments:

Post a Comment

Mat Table Angular

Mat Table in Angular Mat table is used to display data . its a material designed styled data-table . For using Material Table MatTableMo...