<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Regarding the issue of using WPF to display CAD tabs. in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/regarding-the-issue-of-using-wpf-to-display-cad-tabs/m-p/13350765#M665</link>
    <description>&lt;P&gt;I want to display the content of color, line type, and line width tabs in CAD through WPF, but I only found the display method of color tabs and did not find the display method of line type and line width.Is there a way to solve it？&lt;/P&gt;&lt;P&gt;I tried these three attributes and didn't find any effect. Here is my Shaml code. In addition, I also tried LinetypeDialog, which does not inherit System.Windows.Controls.Control interface, therefore it cannot be embedded into my Xaml code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12754757"&gt;@dali0312&lt;/a&gt;&amp;nbsp;This brother also raised the same question, but did not receive an effective solution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;&amp;lt;Window x:Class="Class1.Form.ZTestForm"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:Class1.Form"
             xmlns:windows="clr-namespace:Autodesk.AutoCAD.Windows;assembly=AcWindows"
             mc:Ignorable="d" Loaded="Window_Loaded"
             d:DesignHeight="450" d:DesignWidth="800"&amp;gt;

    &amp;lt;StackPanel&amp;gt;
        &amp;lt;DockPanel&amp;gt;
            &amp;lt;windows:ColorComboBox Name="colorcom" Width="120" Height="38" /&amp;gt;
        &amp;lt;/DockPanel&amp;gt;    
    &amp;lt;/StackPanel&amp;gt; 
&amp;lt;/Window&amp;gt;




 /// &amp;lt;summary&amp;gt;
    /// ZTest.xaml 的交互逻辑
    /// &amp;lt;/summary&amp;gt;
    public partial class TestForm : Window
    {
        public TestForm()
        {
            InitializeComponent();
        }

        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            colorcom.BorderBrush = Brushes.White;
            colorcom.Background = Brushes.White;
            colorcom.Foreground = Brushes.White;

        } 
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Mar 2025 07:23:24 GMT</pubDate>
    <dc:creator>RainBow″</dc:creator>
    <dc:date>2025-03-04T07:23:24Z</dc:date>
    <item>
      <title>Regarding the issue of using WPF to display CAD tabs.</title>
      <link>https://forums.autodesk.com/t5/net-forum/regarding-the-issue-of-using-wpf-to-display-cad-tabs/m-p/13350765#M665</link>
      <description>&lt;P&gt;I want to display the content of color, line type, and line width tabs in CAD through WPF, but I only found the display method of color tabs and did not find the display method of line type and line width.Is there a way to solve it？&lt;/P&gt;&lt;P&gt;I tried these three attributes and didn't find any effect. Here is my Shaml code. In addition, I also tried LinetypeDialog, which does not inherit System.Windows.Controls.Control interface, therefore it cannot be embedded into my Xaml code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12754757"&gt;@dali0312&lt;/a&gt;&amp;nbsp;This brother also raised the same question, but did not receive an effective solution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;&amp;lt;Window x:Class="Class1.Form.ZTestForm"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:Class1.Form"
             xmlns:windows="clr-namespace:Autodesk.AutoCAD.Windows;assembly=AcWindows"
             mc:Ignorable="d" Loaded="Window_Loaded"
             d:DesignHeight="450" d:DesignWidth="800"&amp;gt;

    &amp;lt;StackPanel&amp;gt;
        &amp;lt;DockPanel&amp;gt;
            &amp;lt;windows:ColorComboBox Name="colorcom" Width="120" Height="38" /&amp;gt;
        &amp;lt;/DockPanel&amp;gt;    
    &amp;lt;/StackPanel&amp;gt; 
&amp;lt;/Window&amp;gt;




 /// &amp;lt;summary&amp;gt;
    /// ZTest.xaml 的交互逻辑
    /// &amp;lt;/summary&amp;gt;
    public partial class TestForm : Window
    {
        public TestForm()
        {
            InitializeComponent();
        }

        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            colorcom.BorderBrush = Brushes.White;
            colorcom.Background = Brushes.White;
            colorcom.Foreground = Brushes.White;

        } 
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 07:23:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/regarding-the-issue-of-using-wpf-to-display-cad-tabs/m-p/13350765#M665</guid>
      <dc:creator>RainBow″</dc:creator>
      <dc:date>2025-03-04T07:23:24Z</dc:date>
    </item>
    <item>
      <title>回复： Regarding the issue of using WPF to display CAD tabs.</title>
      <link>https://forums.autodesk.com/t5/net-forum/regarding-the-issue-of-using-wpf-to-display-cad-tabs/m-p/13350768#M666</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Give you a thumbs up！&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 07:27:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/regarding-the-issue-of-using-wpf-to-display-cad-tabs/m-p/13350768#M666</guid>
      <dc:creator>dali0312</dc:creator>
      <dc:date>2025-03-04T07:27:51Z</dc:date>
    </item>
    <item>
      <title>回复： Regarding the issue of using WPF to display CAD tabs.</title>
      <link>https://forums.autodesk.com/t5/net-forum/regarding-the-issue-of-using-wpf-to-display-cad-tabs/m-p/13359860#M667</link>
      <description>&lt;P&gt;Why hasn't anyone replied to you？&lt;/P&gt;</description>
      <pubDate>Sat, 08 Mar 2025 09:43:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/regarding-the-issue-of-using-wpf-to-display-cad-tabs/m-p/13359860#M667</guid>
      <dc:creator>dali0312</dc:creator>
      <dc:date>2025-03-08T09:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding the issue of using WPF to display CAD tabs.</title>
      <link>https://forums.autodesk.com/t5/net-forum/regarding-the-issue-of-using-wpf-to-display-cad-tabs/m-p/13364807#M668</link>
      <description>&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;Colors/Linetype dialogs already built in in .net api, check the next pic and code:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;      var acadDialog = new Autodesk.AutoCAD.Windows.ColorDialog();
      var dialogResult = acadDialog.ShowDialog();
      if (dialogResult == System.Windows.Forms.DialogResult.OK)
      {
        // to do
       acadDialog.Color
      }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="essamsalah_0-1741709238518.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1476387iA82A3C14738AFA82/image-size/medium?v=v2&amp;amp;px=400" role="button" title="essamsalah_0-1741709238518.png" alt="essamsalah_0-1741709238518.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 16:09:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/regarding-the-issue-of-using-wpf-to-display-cad-tabs/m-p/13364807#M668</guid>
      <dc:creator>essam-salah</dc:creator>
      <dc:date>2025-03-11T16:09:53Z</dc:date>
    </item>
  </channel>
</rss>

