Hi @Wolf ,
Not sure if this is an issue, or just how things work, but when I style a button in .NET IDE I do not actually see the style on .NET. It appears like this:
But in the final deployment it does show up correctly:
My button code looks like this:
<Button x:Name="btnSelectFile" Style="{DynamicResource Esri_Button}" Content="Select Scanned File" HorizontalAlignment="Left" Height="34" Margin="276,746,0,0" VerticalAlignment="Top" Width="146" Click="btnSelectFile_Click"/>
<Button x:Name="btnSelectFile_Copy" Style="{DynamicResource Esri_Button}" Content="Transfer Attributes" HorizontalAlignment="Left" Height="34" Margin="50,746,0,0" VerticalAlignment="Top" Width="146" Click="btnSelectFile_Click"/>
<Button x:Name="btnSelectFile_Copy1" Style="{DynamicResource Esri_Button}" Content="Save and Copy Files to Web" HorizontalAlignment="Left" Height="34" Margin="536,746,0,0" VerticalAlignment="Top" Width="177" Click="btnSelectFile_Click"/>
<Button Style="{DynamicResource Esri_ButtonForwardSmall}" Content="Button" HorizontalAlignment="Left" Height="34" Margin="221,746,0,0" VerticalAlignment="Top" Width="29"/>
<Button Style="{DynamicResource Esri_ButtonForwardSmall}" Content="Button" HorizontalAlignment="Left" Height="34" Margin="465,746,0,0" VerticalAlignment="Top" Width="29"/>
And my ProWindow seems to have the proper references:
<controls:ProWindow x:Class="AsBuiltsTool_ArcPro.wdwAsBuilts"
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:AsBuiltsTool_ArcPro"
xmlns:controls="clr-namespace:ArcGIS.Desktop.Framework.Controls;assembly=ArcGIS.Desktop.Framework"
mc:Ignorable="d"
Title="As-Built Link to Contract Database" Height="825" Width="732"
WindowStartupLocation="CenterScreen" Loaded="ProWindow_Loaded"
>