<?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 ProWindow does not get ESRI styling in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/prowindow-does-not-get-esri-styling/m-p/1116115#M7343</link>
    <description>&lt;P&gt;Pro SDK 2.6&lt;/P&gt;&lt;P&gt;Creating a XAML dialog using ProWindow.&lt;/P&gt;&lt;P&gt;The controls I place in&amp;nbsp; the window are not getting the same styling as do the same controls in the Pro UI. (I'm in the middle of upgrading this to support dark mode.) Is there a way to do that without manually styling controls as you will see I have started in the code below?&amp;nbsp; (See Windows.Resources for example)&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;&amp;lt;controls:ProWindow x:Class="publisher_arcgispro.UI.Export.Export.MapSeriesDlg"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:publisher_arcgispro.UI.Export.Export"
        xmlns:controls="clr-namespace:ArcGIS.Desktop.Framework.Controls;assembly=ArcGIS.Desktop.Framework"
        xmlns:contracts="clr-namespace:ArcGIS.Desktop.Framework.Contracts;assembly=ArcGIS.Desktop.Framework"
        mc:Ignorable="d"
        Title="Test Dialog"
        ResizeMode="NoResize"
        WindowStartupLocation="CenterOwner"
        SizeToContent="WidthAndHeight" &amp;gt;

    &amp;lt;Window.Resources&amp;gt;
            &amp;lt;Style x:Key="GenericControlStyle" TargetType="Control" &amp;gt;
                &amp;lt;Setter Property="Foreground" Value="{DynamicResource Esri_TextControlBrush}"&amp;gt;&amp;lt;/Setter&amp;gt;
                &amp;lt;Setter Property="Background" Value="{DynamicResource Esri_ControlBackgroundBrush}"&amp;gt;&amp;lt;/Setter&amp;gt;
                &amp;lt;Setter Property="BorderBrush" Value="{DynamicResource Esri_ControlBackgroundBrush}"&amp;gt;&amp;lt;/Setter&amp;gt;
            &amp;lt;/Style&amp;gt;
            &amp;lt;Style BasedOn="{StaticResource GenericControlStyle}" TargetType="Label"&amp;gt;
                &amp;lt;Setter Property="Height" Value="20"/&amp;gt;
                &amp;lt;Setter Property="Margin" Value="0,0,0,0"&amp;gt;&amp;lt;/Setter&amp;gt;
                &amp;lt;Setter Property="Padding" Value="0"&amp;gt;&amp;lt;/Setter&amp;gt;
            &amp;lt;/Style&amp;gt;
            &amp;lt;Style BasedOn="{StaticResource GenericControlStyle}" TargetType="Expander"&amp;gt;
                &amp;lt;Setter Property="Margin" Value="0,5,0,5"/&amp;gt;
            &amp;lt;/Style&amp;gt;
            &amp;lt;Style BasedOn="{StaticResource GenericControlStyle}" TargetType="Button"&amp;gt;
                &amp;lt;Setter Property="Height" Value="20"/&amp;gt;
                &amp;lt;Setter Property="Width" Value="75"/&amp;gt;
                &amp;lt;Setter Property="Margin" Value="5,0,0,0"/&amp;gt;
            &amp;lt;/Style&amp;gt;
            &amp;lt;Style BasedOn="{StaticResource GenericControlStyle}" TargetType="RadioButton"&amp;gt;
                &amp;lt;Setter Property="Margin" Value="5,5,0,5"/&amp;gt;
            &amp;lt;/Style&amp;gt;
            &amp;lt;Style BasedOn="{StaticResource GenericControlStyle}" TargetType="CheckBox"&amp;gt;
                &amp;lt;Setter Property="Margin" Value="15,0,0,0"/&amp;gt;
            &amp;lt;/Style&amp;gt;
            &amp;lt;Style BasedOn="{StaticResource GenericControlStyle}" TargetType="TextBox"&amp;gt;
                &amp;lt;Setter Property="Height" Value="20"/&amp;gt;
                &amp;lt;Setter Property="Margin" Value="10,0,0,5"/&amp;gt;
                &amp;lt;Setter Property="Padding" Value="0"/&amp;gt;
            &amp;lt;/Style&amp;gt;
        &amp;lt;Style BasedOn="{StaticResource GenericControlStyle}" TargetType="ComboBox"&amp;gt;
            &amp;lt;Setter Property="Margin" Value="0,0,0,0"/&amp;gt;
            &amp;lt;Setter Property="Block.Foreground" Value="{DynamicResource Esri_TextControlBrush}"&amp;gt;&amp;lt;/Setter&amp;gt;
            &amp;lt;Setter Property="Block.Background" Value="{DynamicResource Esri_ControlBackgroundBrush}"&amp;gt;&amp;lt;/Setter&amp;gt;
            &amp;lt;Setter Property="Block.BorderBrush" Value="{DynamicResource Esri_ControlBackgroundBrush}"&amp;gt;&amp;lt;/Setter&amp;gt;
        &amp;lt;/Style&amp;gt;
    &amp;lt;/Window.Resources&amp;gt;
    &amp;lt;Grid Margin="20"&amp;gt;
        &amp;lt;Grid.RowDefinitions&amp;gt;
            &amp;lt;RowDefinition Height="Auto"/&amp;gt;
            &amp;lt;RowDefinition Height="Auto"/&amp;gt;
            &amp;lt;RowDefinition Height="Auto"/&amp;gt;
            &amp;lt;RowDefinition Height="Auto"/&amp;gt;
            &amp;lt;RowDefinition/&amp;gt;
        &amp;lt;/Grid.RowDefinitions&amp;gt;
        &amp;lt;Grid.ColumnDefinitions&amp;gt;
            &amp;lt;ColumnDefinition/&amp;gt;
        &amp;lt;/Grid.ColumnDefinitions&amp;gt;
        &amp;lt;Grid.Resources&amp;gt;
        &amp;lt;/Grid.Resources&amp;gt;
        &amp;lt;Grid.DataContext&amp;gt;
            &amp;lt;Binding Path="MapSeriesDlgModel" /&amp;gt;
        &amp;lt;/Grid.DataContext&amp;gt;

        &amp;lt;Expander Header="Pages"
                  Grid.Row="0"
                  Grid.Column="0"
                  IsExpanded="True"&amp;gt;
            &amp;lt;StackPanel&amp;gt;
                &amp;lt;RadioButton Name="AllPagesRB"
                             GroupName="PagesRBGroup"
                             Checked="PagesSelectedChanged"/&amp;gt;
                &amp;lt;RadioButton Name="CurrentPageRB"
                             GroupName="PagesRBGroup"
                             Checked="PagesSelectedChanged"/&amp;gt;
                &amp;lt;RadioButton Name="SelectedFeaturesRB"
                             GroupName="PagesRBGroup"
                             Checked="PagesSelectedChanged"/&amp;gt;
                &amp;lt;CheckBox Name="ShowSelectionCB"
                          Content="Show selection synmbology for index features"
                          Checked="ShowSelectionChanged"
                          IsEnabled="{Binding ElementName=SelectedFeaturesRB, Path=IsChecked}" /&amp;gt; 
                &amp;lt;!--&amp;lt;RadioButton Name="SelectedPagesRB"
                             GroupName="PagesRBGroup"
                             Checked="PagesSelectedChanged"/&amp;gt;--&amp;gt;
                &amp;lt;RadioButton Name="PageRangeRB"
                             Content="Page range (for example: &amp;amp;quot;1, 3, 5-12&amp;amp;quot;)"
                             GroupName="PagesRBGroup"
                             Checked="PagesSelectedChanged"/&amp;gt;
                &amp;lt;TextBox Name="PageRangeTB"
                         HorizontalAlignment="Left"
                         Width="240"
                         MaxLength="100"
                         TextChanged="PageRangeChanged"
                         IsEnabled="{Binding ElementName=PageRangeRB, Path=IsChecked}" /&amp;gt; 
            &amp;lt;/StackPanel&amp;gt;
        &amp;lt;/Expander&amp;gt;
        
        &amp;lt;Expander Header="Files"
                  Grid.Row="1"
                  Grid.Column="0"
                  IsExpanded="True"&amp;gt;
            &amp;lt;StackPanel Margin="5,0,0,0"&amp;gt;
                &amp;lt;Grid&amp;gt;
                    &amp;lt;Grid.RowDefinitions&amp;gt;
                        &amp;lt;RowDefinition Height="Auto"/&amp;gt;
                        &amp;lt;RowDefinition/&amp;gt;
                    &amp;lt;/Grid.RowDefinitions&amp;gt;
                    &amp;lt;Label Content="Files"
                           Grid.Column="0" Grid.Row="0"
                           Padding="0" /&amp;gt;
                    &amp;lt;ComboBox Name="FilesCombo"
                              Grid.Column="1" Grid.Row="0"
                              HorizontalAlignment="Right"
                              SelectionChanged="FilesSelectionChanged"&amp;gt;
                        &amp;lt;ComboBoxItem Content="Single PDF File"/&amp;gt;
                        &amp;lt;ComboBoxItem Content="Multiple Single PDF Files (Page name as suffix)"/&amp;gt;
                        &amp;lt;ComboBoxItem Content="Multiple Single PDF Files (Page number as suffix)"/&amp;gt;
                    &amp;lt;/ComboBox&amp;gt;
                &amp;lt;/Grid&amp;gt;
                &amp;lt;!--&amp;lt;CheckBox Name="GroupingCB"
                          Content="Order pages by grouping"
                          Grid.Column="0" Grid.Row="1"
                          IsEnabled="False" /&amp;gt;--&amp;gt;
            &amp;lt;/StackPanel&amp;gt;
        &amp;lt;/Expander&amp;gt;
        
        &amp;lt;StackPanel Orientation="Vertical"
                    Grid.Row="2"
                    Grid.Column="0"&amp;gt;
            &amp;lt;Label Content="Output Folder"/&amp;gt;
            &amp;lt;StackPanel Orientation="Horizontal"
                        HorizontalAlignment="Left"&amp;gt;
                &amp;lt;TextBox Name="OutputFolderTB"
                         IsReadOnly="True"
                         VerticalAlignment="Center"
                         Width="360" /&amp;gt;
                &amp;lt;Button Name="OutputFolderBtn"
                        Content="Select"
                        VerticalAlignment="Center"
                        Click="OutputFolder_Button_Click" /&amp;gt;
            &amp;lt;/StackPanel&amp;gt;
            &amp;lt;StackPanel Orientation="Horizontal"
                        HorizontalAlignment="Left"&amp;gt;
                &amp;lt;Label Content="Basename"/&amp;gt;
                &amp;lt;TextBox Name="BasenameTB"
                     Width="307"
                     MaxLength="100"
                     TextChanged="BasenameChanged" /&amp;gt;
            &amp;lt;/StackPanel&amp;gt;
        &amp;lt;/StackPanel&amp;gt;
        
        &amp;lt;StackPanel Orientation="Horizontal"
                    HorizontalAlignment="Right"
                    Grid.Row="3"
                    Grid.Column="0"
                    Margin="0,10,0,0"&amp;gt;
            &amp;lt;Button Name="OKBtn"
                    Content="OK"
                    Click="OK_Button_Click"
                    IsDefault="True" /&amp;gt;
            &amp;lt;Button Name="CancleBtn"
                    Content="Cancel"
                    Click="Cancel_Button_Click"
                    IsCancel="True" /&amp;gt;
        &amp;lt;/StackPanel&amp;gt;
    &amp;lt;/Grid&amp;gt;
&amp;lt;/controls:ProWindow&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Nov 2021 20:54:21 GMT</pubDate>
    <dc:creator>AlanStewart</dc:creator>
    <dc:date>2021-11-11T20:54:21Z</dc:date>
    <item>
      <title>ProWindow does not get ESRI styling</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/prowindow-does-not-get-esri-styling/m-p/1116115#M7343</link>
      <description>&lt;P&gt;Pro SDK 2.6&lt;/P&gt;&lt;P&gt;Creating a XAML dialog using ProWindow.&lt;/P&gt;&lt;P&gt;The controls I place in&amp;nbsp; the window are not getting the same styling as do the same controls in the Pro UI. (I'm in the middle of upgrading this to support dark mode.) Is there a way to do that without manually styling controls as you will see I have started in the code below?&amp;nbsp; (See Windows.Resources for example)&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;&amp;lt;controls:ProWindow x:Class="publisher_arcgispro.UI.Export.Export.MapSeriesDlg"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:publisher_arcgispro.UI.Export.Export"
        xmlns:controls="clr-namespace:ArcGIS.Desktop.Framework.Controls;assembly=ArcGIS.Desktop.Framework"
        xmlns:contracts="clr-namespace:ArcGIS.Desktop.Framework.Contracts;assembly=ArcGIS.Desktop.Framework"
        mc:Ignorable="d"
        Title="Test Dialog"
        ResizeMode="NoResize"
        WindowStartupLocation="CenterOwner"
        SizeToContent="WidthAndHeight" &amp;gt;

    &amp;lt;Window.Resources&amp;gt;
            &amp;lt;Style x:Key="GenericControlStyle" TargetType="Control" &amp;gt;
                &amp;lt;Setter Property="Foreground" Value="{DynamicResource Esri_TextControlBrush}"&amp;gt;&amp;lt;/Setter&amp;gt;
                &amp;lt;Setter Property="Background" Value="{DynamicResource Esri_ControlBackgroundBrush}"&amp;gt;&amp;lt;/Setter&amp;gt;
                &amp;lt;Setter Property="BorderBrush" Value="{DynamicResource Esri_ControlBackgroundBrush}"&amp;gt;&amp;lt;/Setter&amp;gt;
            &amp;lt;/Style&amp;gt;
            &amp;lt;Style BasedOn="{StaticResource GenericControlStyle}" TargetType="Label"&amp;gt;
                &amp;lt;Setter Property="Height" Value="20"/&amp;gt;
                &amp;lt;Setter Property="Margin" Value="0,0,0,0"&amp;gt;&amp;lt;/Setter&amp;gt;
                &amp;lt;Setter Property="Padding" Value="0"&amp;gt;&amp;lt;/Setter&amp;gt;
            &amp;lt;/Style&amp;gt;
            &amp;lt;Style BasedOn="{StaticResource GenericControlStyle}" TargetType="Expander"&amp;gt;
                &amp;lt;Setter Property="Margin" Value="0,5,0,5"/&amp;gt;
            &amp;lt;/Style&amp;gt;
            &amp;lt;Style BasedOn="{StaticResource GenericControlStyle}" TargetType="Button"&amp;gt;
                &amp;lt;Setter Property="Height" Value="20"/&amp;gt;
                &amp;lt;Setter Property="Width" Value="75"/&amp;gt;
                &amp;lt;Setter Property="Margin" Value="5,0,0,0"/&amp;gt;
            &amp;lt;/Style&amp;gt;
            &amp;lt;Style BasedOn="{StaticResource GenericControlStyle}" TargetType="RadioButton"&amp;gt;
                &amp;lt;Setter Property="Margin" Value="5,5,0,5"/&amp;gt;
            &amp;lt;/Style&amp;gt;
            &amp;lt;Style BasedOn="{StaticResource GenericControlStyle}" TargetType="CheckBox"&amp;gt;
                &amp;lt;Setter Property="Margin" Value="15,0,0,0"/&amp;gt;
            &amp;lt;/Style&amp;gt;
            &amp;lt;Style BasedOn="{StaticResource GenericControlStyle}" TargetType="TextBox"&amp;gt;
                &amp;lt;Setter Property="Height" Value="20"/&amp;gt;
                &amp;lt;Setter Property="Margin" Value="10,0,0,5"/&amp;gt;
                &amp;lt;Setter Property="Padding" Value="0"/&amp;gt;
            &amp;lt;/Style&amp;gt;
        &amp;lt;Style BasedOn="{StaticResource GenericControlStyle}" TargetType="ComboBox"&amp;gt;
            &amp;lt;Setter Property="Margin" Value="0,0,0,0"/&amp;gt;
            &amp;lt;Setter Property="Block.Foreground" Value="{DynamicResource Esri_TextControlBrush}"&amp;gt;&amp;lt;/Setter&amp;gt;
            &amp;lt;Setter Property="Block.Background" Value="{DynamicResource Esri_ControlBackgroundBrush}"&amp;gt;&amp;lt;/Setter&amp;gt;
            &amp;lt;Setter Property="Block.BorderBrush" Value="{DynamicResource Esri_ControlBackgroundBrush}"&amp;gt;&amp;lt;/Setter&amp;gt;
        &amp;lt;/Style&amp;gt;
    &amp;lt;/Window.Resources&amp;gt;
    &amp;lt;Grid Margin="20"&amp;gt;
        &amp;lt;Grid.RowDefinitions&amp;gt;
            &amp;lt;RowDefinition Height="Auto"/&amp;gt;
            &amp;lt;RowDefinition Height="Auto"/&amp;gt;
            &amp;lt;RowDefinition Height="Auto"/&amp;gt;
            &amp;lt;RowDefinition Height="Auto"/&amp;gt;
            &amp;lt;RowDefinition/&amp;gt;
        &amp;lt;/Grid.RowDefinitions&amp;gt;
        &amp;lt;Grid.ColumnDefinitions&amp;gt;
            &amp;lt;ColumnDefinition/&amp;gt;
        &amp;lt;/Grid.ColumnDefinitions&amp;gt;
        &amp;lt;Grid.Resources&amp;gt;
        &amp;lt;/Grid.Resources&amp;gt;
        &amp;lt;Grid.DataContext&amp;gt;
            &amp;lt;Binding Path="MapSeriesDlgModel" /&amp;gt;
        &amp;lt;/Grid.DataContext&amp;gt;

        &amp;lt;Expander Header="Pages"
                  Grid.Row="0"
                  Grid.Column="0"
                  IsExpanded="True"&amp;gt;
            &amp;lt;StackPanel&amp;gt;
                &amp;lt;RadioButton Name="AllPagesRB"
                             GroupName="PagesRBGroup"
                             Checked="PagesSelectedChanged"/&amp;gt;
                &amp;lt;RadioButton Name="CurrentPageRB"
                             GroupName="PagesRBGroup"
                             Checked="PagesSelectedChanged"/&amp;gt;
                &amp;lt;RadioButton Name="SelectedFeaturesRB"
                             GroupName="PagesRBGroup"
                             Checked="PagesSelectedChanged"/&amp;gt;
                &amp;lt;CheckBox Name="ShowSelectionCB"
                          Content="Show selection synmbology for index features"
                          Checked="ShowSelectionChanged"
                          IsEnabled="{Binding ElementName=SelectedFeaturesRB, Path=IsChecked}" /&amp;gt; 
                &amp;lt;!--&amp;lt;RadioButton Name="SelectedPagesRB"
                             GroupName="PagesRBGroup"
                             Checked="PagesSelectedChanged"/&amp;gt;--&amp;gt;
                &amp;lt;RadioButton Name="PageRangeRB"
                             Content="Page range (for example: &amp;amp;quot;1, 3, 5-12&amp;amp;quot;)"
                             GroupName="PagesRBGroup"
                             Checked="PagesSelectedChanged"/&amp;gt;
                &amp;lt;TextBox Name="PageRangeTB"
                         HorizontalAlignment="Left"
                         Width="240"
                         MaxLength="100"
                         TextChanged="PageRangeChanged"
                         IsEnabled="{Binding ElementName=PageRangeRB, Path=IsChecked}" /&amp;gt; 
            &amp;lt;/StackPanel&amp;gt;
        &amp;lt;/Expander&amp;gt;
        
        &amp;lt;Expander Header="Files"
                  Grid.Row="1"
                  Grid.Column="0"
                  IsExpanded="True"&amp;gt;
            &amp;lt;StackPanel Margin="5,0,0,0"&amp;gt;
                &amp;lt;Grid&amp;gt;
                    &amp;lt;Grid.RowDefinitions&amp;gt;
                        &amp;lt;RowDefinition Height="Auto"/&amp;gt;
                        &amp;lt;RowDefinition/&amp;gt;
                    &amp;lt;/Grid.RowDefinitions&amp;gt;
                    &amp;lt;Label Content="Files"
                           Grid.Column="0" Grid.Row="0"
                           Padding="0" /&amp;gt;
                    &amp;lt;ComboBox Name="FilesCombo"
                              Grid.Column="1" Grid.Row="0"
                              HorizontalAlignment="Right"
                              SelectionChanged="FilesSelectionChanged"&amp;gt;
                        &amp;lt;ComboBoxItem Content="Single PDF File"/&amp;gt;
                        &amp;lt;ComboBoxItem Content="Multiple Single PDF Files (Page name as suffix)"/&amp;gt;
                        &amp;lt;ComboBoxItem Content="Multiple Single PDF Files (Page number as suffix)"/&amp;gt;
                    &amp;lt;/ComboBox&amp;gt;
                &amp;lt;/Grid&amp;gt;
                &amp;lt;!--&amp;lt;CheckBox Name="GroupingCB"
                          Content="Order pages by grouping"
                          Grid.Column="0" Grid.Row="1"
                          IsEnabled="False" /&amp;gt;--&amp;gt;
            &amp;lt;/StackPanel&amp;gt;
        &amp;lt;/Expander&amp;gt;
        
        &amp;lt;StackPanel Orientation="Vertical"
                    Grid.Row="2"
                    Grid.Column="0"&amp;gt;
            &amp;lt;Label Content="Output Folder"/&amp;gt;
            &amp;lt;StackPanel Orientation="Horizontal"
                        HorizontalAlignment="Left"&amp;gt;
                &amp;lt;TextBox Name="OutputFolderTB"
                         IsReadOnly="True"
                         VerticalAlignment="Center"
                         Width="360" /&amp;gt;
                &amp;lt;Button Name="OutputFolderBtn"
                        Content="Select"
                        VerticalAlignment="Center"
                        Click="OutputFolder_Button_Click" /&amp;gt;
            &amp;lt;/StackPanel&amp;gt;
            &amp;lt;StackPanel Orientation="Horizontal"
                        HorizontalAlignment="Left"&amp;gt;
                &amp;lt;Label Content="Basename"/&amp;gt;
                &amp;lt;TextBox Name="BasenameTB"
                     Width="307"
                     MaxLength="100"
                     TextChanged="BasenameChanged" /&amp;gt;
            &amp;lt;/StackPanel&amp;gt;
        &amp;lt;/StackPanel&amp;gt;
        
        &amp;lt;StackPanel Orientation="Horizontal"
                    HorizontalAlignment="Right"
                    Grid.Row="3"
                    Grid.Column="0"
                    Margin="0,10,0,0"&amp;gt;
            &amp;lt;Button Name="OKBtn"
                    Content="OK"
                    Click="OK_Button_Click"
                    IsDefault="True" /&amp;gt;
            &amp;lt;Button Name="CancleBtn"
                    Content="Cancel"
                    Click="Cancel_Button_Click"
                    IsCancel="True" /&amp;gt;
        &amp;lt;/StackPanel&amp;gt;
    &amp;lt;/Grid&amp;gt;
&amp;lt;/controls:ProWindow&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 20:54:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/prowindow-does-not-get-esri-styling/m-p/1116115#M7343</guid>
      <dc:creator>AlanStewart</dc:creator>
      <dc:date>2021-11-11T20:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: ProWindow does not get ESRI styling</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/prowindow-does-not-get-esri-styling/m-p/1116232#M7345</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you want to get Pro UI style in your add-in, you need to use&amp;nbsp;&lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/proguide-style-guide" target="_self"&gt;ArcGIS Pro styles&lt;/A&gt;&amp;nbsp; for window controls. It will take care of light and dark themes.&lt;/P&gt;&lt;P&gt;In advance you can make your own style based on ArcGIS Pro style. For example:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;Style x:Key="NewStyle" BasedOn="{StaticResource Esri_TextBlockRegular}" TargetType="{x:Type TextBlock}" &amp;gt;
                &amp;lt;Setter Property="Height" Value="20"/&amp;gt;
                &amp;lt;Setter Property="Margin" Value="10,0,0,5"/&amp;gt;
                &amp;lt;Setter Property="Padding" Value="0"/&amp;gt;
&amp;lt;/Style&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 12 Nov 2021 06:20:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/prowindow-does-not-get-esri-styling/m-p/1116232#M7345</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2021-11-12T06:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: ProWindow does not get ESRI styling</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/prowindow-does-not-get-esri-styling/m-p/1117333#M7359</link>
      <description>&lt;P&gt;Thanks I had not run across that particular document.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 17:14:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/prowindow-does-not-get-esri-styling/m-p/1117333#M7359</guid>
      <dc:creator>AlanStewart</dc:creator>
      <dc:date>2021-11-16T17:14:15Z</dc:date>
    </item>
  </channel>
</rss>

