使用arcgis pro是类似的控件样式 WPF

1.资源加载

<controls:ProWindow.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <extensions:DesignOnlyResourceDictionary Source="pack://application:,,,/ArcGIS.Desktop.Framework;component\Themes\Default.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </controls:ProWindow.Resources>

2.样式查看

3.样式使用

<Button Grid.Row="0" Style="{DynamicResource Esri_SimpleButton}" Content="扫描注册表" Click="Button_Click_1" Margin="0"/>

相关推荐

  1. WPF-样式设置

    2024-01-18 06:10:08       27 阅读
  2. WPF.NET开发】为焦点设置样式

    2024-01-18 06:10:08       63 阅读
  3. PyQt5 使用setStyleSheet设置样式

    2024-01-18 06:10:08       32 阅读
  4. win32使用现代样式公共

    2024-01-18 06:10:08       35 阅读
  5. WPFWebBrowser

    2024-01-18 06:10:08       49 阅读
  6. WPFViewBox

    2024-01-18 06:10:08       52 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-01-18 06:10:08       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-01-18 06:10:08       100 阅读
  3. 在Django里面运行非项目文件

    2024-01-18 06:10:08       82 阅读
  4. Python语言-面向对象

    2024-01-18 06:10:08       91 阅读

热门阅读

  1. Hadoop之mapreduce参数大全-8

    2024-01-18 06:10:08       38 阅读
  2. 计算机网络(第六版)复习提纲3

    2024-01-18 06:10:08       49 阅读
  3. docker空间不足时的迁移处理

    2024-01-18 06:10:08       46 阅读
  4. react hooks遇到setTimeout

    2024-01-18 06:10:08       49 阅读
  5. react+antd,Table表头文字颜色设置

    2024-01-18 06:10:08       52 阅读
  6. 【sql/python】以共同字段进行两表合并

    2024-01-18 06:10:08       53 阅读
  7. Flink学习

    2024-01-18 06:10:08       51 阅读
  8. js解构方式

    2024-01-18 06:10:08       58 阅读
  9. SSE 和 Websocket 的比较

    2024-01-18 06:10:08       52 阅读
  10. 基于STM32F103的快递箱的设计

    2024-01-18 06:10:08       49 阅读
  11. react js自定义实现状态管理

    2024-01-18 06:10:08       42 阅读