Common: create ctrlObjectProperties, embed in DocumentResultList

This commit is contained in:
Jonathan Jenne
2022-03-15 13:31:35 +01:00
parent 538790aa42
commit d6ad9b56e1
15 changed files with 786 additions and 677 deletions

View File

@@ -182,6 +182,8 @@ Public Class frmDocumentResultList
End If
End If
CtrlObjectPropertyDialog.Initialize(LogConfig, Me, _IDBClient, Environment)
SwitchMainContainerHorizontal.Visibility = BarItemVisibility.Never
SwitchDetailContainerHorizontal.Visibility = BarItemVisibility.Never
End If
@@ -271,7 +273,9 @@ Public Class frmDocumentResultList
MsgBox($"Es konnten keine Attribute für das Objekt '{oObjectId}' geladen werden!", MsgBoxStyle.Critical, Text)
End If
Await ControlManager.LoadControlsForAttributes(oObjectId, oAttributes, RootMetadata)
Await CtrlObjectPropertyDialog.LoadObject(oObjectId)
'Await ControlManager.LoadControlsForAttributes(oObjectId, oAttributes, RootMetadata)
End If
End If
Catch ex As Exception