void ApplicationOnListViewCreating(object sender, ListViewCreatingEventArgs args)
 {
     if (!(args.View is XpandListView))
     {
         args.View = ViewFactory.CreateListView((XafApplication)sender, args.ViewID, args.CollectionSource, args.IsRoot);
     }
 }
 private void Application_ListViewCreating(Object sender, ListViewCreatingEventArgs e)
 {
     if ((e.CollectionSource.ObjectTypeInfo.Type == typeof(Welcome)) && (e.CollectionSource.ObjectSpace is NonPersistentObjectSpace))
     {
         ((NonPersistentObjectSpace)e.CollectionSource.ObjectSpace).ObjectsGetting += WelcomeObjectSpace_ObjectsGetting;
     }
 }
Beispiel #3
0
 private void Application_ListViewCreating(object sender, ListViewCreatingEventArgs e)
 {
     if (e.CollectionSource.ObjectTypeInfo.Type == typeof(NonPersistentObject) && (e.CollectionSource.ObjectSpace is NonPersistentObjectSpace))
     {
         ((NonPersistentObjectSpace)e.CollectionSource.ObjectSpace).ObjectsGetting += NonPersistentObjectsController_ObjectsGetting;
     }
 }
 protected override void OnListViewCreating(ListViewCreatingEventArgs args)
 {
     base.OnListViewCreating(args);
     if (args.View == null)
     {
         args.View = defaultListView;
     }
 }
Beispiel #5
0
 void OnListViewCreating(object sender, ListViewCreatingEventArgs args) {
     args.View = ViewFactory.CreateListView(this, args.ViewID, args.CollectionSource, args.IsRoot);
 }
Beispiel #6
0
 void OnListViewCreating(object sender, ListViewCreatingEventArgs args)
 {
     args.View = ViewFactory.CreateListView(this, args.ViewID, args.CollectionSource, args.IsRoot);
 }
Beispiel #7
0
 void ApplicationOnListViewCreating(object sender, ListViewCreatingEventArgs args) {
     if (!(args.View is XpandListView))
         args.View = ViewFactory.CreateListView((XafApplication) sender, args.ViewID, args.CollectionSource, args.IsRoot);
 }
Beispiel #8
0
 private void SimpleProjectManagerWindowsFormsApplication_ListViewCreating(object sender, ListViewCreatingEventArgs e)
 {
     //var view = FindModelView(e.ViewID) as IModelListView;
     //view.EditorType = typeof (GridAccessibleDataRow);
 }
Beispiel #9
0
 private void Application_ListViewCreating(object sender, ListViewCreatingEventArgs e)
 {
 }