Hi , I want to add the below picture style in autoCad , in Objectarx , use the 'cAcuiDialog' can write this style .

but in .Net , i use toolbar , but this interface just prompt the theme not all text

var atbItem = atb.AddToolbarButton(0, "Test06", "CCC", "LI", false);
atbItem.SetBitmaps(bitmapPath, bitmapPath);
var atbItem2 = atb.AddToolbarButton(2, "Test02", "BBBB", "CIRLE", false);
atbItem2.SetBitmaps(bitmapLargePath, bitmapLargePath);
atb.AddSeparator("3");
atb.Dock(Autodesk.AutoCAD.Interop.Common.AcToolbarDockStatus.acToolbarDockTop);
atb.Visible = true;
Use PlattSet With WPF , but the minHeight when i set minHeight is 50 , in CAD cant show target height

var window = new PatternSetWindow();
PSet = new PaletteSet("TYDI_Document");
PSet.Visible = true;
ElementHost host = new()
{
AutoSize = true,
Dock = DockStyle.Top,
Child = window
};
PSet.Style = PaletteSetStyles.ShowAutoHideButton | PaletteSetStyles.ShowCloseButton |
PaletteSetStyles.ShowPropertiesMenu;
PSet.Add("Document", host);
PSet.KeepFocus = true;
PSet.Size = new Size(600, 50);
PSet.MinimumSize = new Size(300, 50);
PSet.Dock = DockSides.Top;
PSet.RecalculateDockSiteLayout();
xmal:
<TabControl ItemsSource="{Binding ConfigData.Tabs}" Margin="10" TabStripPlacement="Top">
<TabControl.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Name}" FontWeight="Bold" FontSize="14" />
</DataTemplate>
</TabControl.ItemTemplate>
<TabControl.ContentTemplate>
<DataTemplate>
<ListView ItemsSource="{Binding Panels}" Margin="0,0,0,10">
<ListView.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel/>
</ItemsPanelTemplate>
</ListView.ItemsPanel>
<ListView.ItemTemplate>
<DataTemplate>
<WrapPanel Orientation="Horizontal">
<StackPanel Orientation="Vertical" Margin="5">
<TextBlock Text="{Binding Name}" FontWeight="Bold" FontSize="12" Margin="0,5" />
</StackPanel>
</WrapPanel>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</DataTemplate>
</TabControl.ContentTemplate>
</TabControl>
LanHui Xu
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
