WinSelectFileFloder.xaml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <windows:WinBase x:Class="Saga.PlugIn.Other.WinRenameConfig"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:wpf="clr-namespace:SAGA.DotNetUtils.WPF.UserControl;assembly=SAGA.DotNetUtils"
  7. xmlns:windows="clr-namespace:SAGA.RevitUtils.Windows;assembly=SAGA.RevitUtils"
  8. mc:Ignorable="d" Title="系统重命名参数设置" WindowStartupLocation="CenterScreen"
  9. Height="200" Width="400">
  10. <Window.Resources>
  11. <Style TargetType="TextBox">
  12. <Setter Property="HorizontalContentAlignment" Value="Center"></Setter>
  13. <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
  14. <Setter Property="Height" Value="24"></Setter>
  15. </Style>
  16. <Style TargetType="DataGridColumnHeader">
  17. <Setter Property="Height" Value="25"></Setter>
  18. <Setter Property="HorizontalContentAlignment" Value="Center"></Setter>
  19. <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
  20. </Style>
  21. <Style x:Key="dgtextblock">
  22. <Setter Property="TextBlock.Height" Value="25"></Setter>
  23. <Setter Property="TextBlock.HorizontalAlignment" Value="Center"></Setter>
  24. </Style>
  25. <Style x:Key="dgtextbox">
  26. <Setter Property="TextBox.Height" Value="25"></Setter>
  27. <Setter Property="TextBox.HorizontalContentAlignment" Value="Center"></Setter>
  28. </Style>
  29. </Window.Resources>
  30. <Grid Margin="5">
  31. <Grid.RowDefinitions>
  32. <RowDefinition Height="50"></RowDefinition>
  33. <RowDefinition></RowDefinition>
  34. <RowDefinition Height="50"></RowDefinition>
  35. </Grid.RowDefinitions>
  36. <Grid Grid.Row="0">
  37. <StackPanel>
  38. <Label Content="请选择重命名系统的参考表:"></Label>
  39. <wpf:SelectFile_Hyperlink Height="25" Text="{Binding Path=ReferenceFilePath,UpdateSourceTrigger=PropertyChanged,Mode=TwoWay}" IsDisplayFullPath="True"></wpf:SelectFile_Hyperlink>
  40. </StackPanel>
  41. </Grid>
  42. <Grid Grid.Row="1">
  43. <StackPanel>
  44. <Label Content="请选择需要修改的Revit文件夹:"></Label>
  45. <wpf:SelectPath Height="25" Text="{Binding Path=RevitDirs,UpdateSourceTrigger=PropertyChanged,Mode=TwoWay}" ButtonPosition="End"></wpf:SelectPath>
  46. </StackPanel>
  47. </Grid>
  48. <WrapPanel Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Center">
  49. <Button Height="24" Width="100" Content="执行" Margin="10,0" IsDefault="True" Click="ButtonBase_OnClick"></Button>
  50. <Button Height="24" Width="100" Content="取消" Margin="10,0" IsCancel="True"></Button>
  51. </WrapPanel>
  52. </Grid>
  53. </windows:WinBase>