Closed Brent-bai closed 1 year ago
How do I chage the size of the user control wpf view (the yellow box is the true size) which in a pmp page.
I chage a method: add the Mgrtab.
`
private void CreatFeatureMgrTab()
{
var doc = Application.Documents.Active;
if (doc == null)
{ return; }
// prp_m_page.Show(prp_m_model);
if (tab == null)
{
tab = CreateFeatureManagerTab
tab.Control.Sw = Application.Sw;
}
else
{
tab.Close();
tab.Dispose();
tab = null;
}
}
` It also does not work well, when I click the tab, it only display part view of the tab: So i need adjust the size of whole tab every time.
How do I chage the size of the user control wpf view (the yellow box is the true size) which in a pmp page.
You can use ControlOptionsAttribute
Thanks you very much! It worked.
I encountered the following issues when using the PMPage interface: 1 The custom wpf interface only displays a portion in the property manager page; 2. Can a label be added on the same line before the text box to identify the content to be filled in this text box; 3. It seems that the webview2 control cannot be used for wpf in the class library, and the display is a blank page