Advertisement
baratiistok3

xaml

Jun 1st, 2020
1,914
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.10 KB | None | 0 0
  1. <Window x:Class="MacroToolUi.Windows.AddActionToButtonWindow"
  2.        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3.        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4.        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5.        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6.        xmlns:local="clr-namespace:MacroToolUi.Windows"
  7.        xmlns:wpfTool="clr-namespace:Xceed.Wpf.Toolkit;assembly=Xceed.Wpf.Toolkit"
  8.        xmlns:controls="clr-namespace:MacroToolUi.Controls"
  9.        mc:Ignorable="d"
  10.        Title="Add Action To Button"
  11.        Height="427.741"
  12.        Width="407.816">
  13.     <Border Padding="10">
  14.         <StackPanel Orientation="Vertical" >
  15.             <Image x:Name="PreviewImage"
  16.                   Width="100"
  17.                   Height="100"
  18.                   HorizontalAlignment="Center"  />
  19.             <Grid Height="10"/>
  20.             <StackPanel Orientation="Horizontal">
  21.                 <Label Width="70" Content="Color:" HorizontalContentAlignment="Right"></Label>
  22.                 <wpfTool:ColorPicker x:Name="BackgroundColorPicker"
  23.                                     Width="309"
  24.                                     HorizontalAlignment="Left"/>
  25.             </StackPanel>
  26.  
  27.             <Grid Width="10" Height="10"/>
  28.            
  29.                 <Grid Width="10"/>
  30.                 <StackPanel Orientation="Horizontal">
  31.                     <Label Width="70" Content="Text:" HorizontalContentAlignment="Right"></Label>
  32.                     <TextBox x:Name="Text"
  33.                             Width="230"
  34.                             Height="20"/>
  35.                     <Grid Width="10" Height="10"/>
  36.  
  37.                     <Button x:Name="FontSlector"
  38.                            Content="FontSelector"
  39.                            Click="FontSlector_OnClick"
  40.                            Height="20"
  41.                            Width="70"
  42.                    />
  43.  
  44.                     <Grid Width="10" Height="10"/>
  45.                 </StackPanel>
  46.                 <Grid Width="10" Height="10"/>
  47.  
  48.                 <StackPanel Orientation="Horizontal">
  49.                     <Label Width="70" Content="Aligment:" HorizontalContentAlignment="Right" VerticalAlignment="Center"></Label>
  50.                     <controls:TextAligmentControl BorderThickness="0"/>
  51.                 </StackPanel>
  52.  
  53.                 <Grid Width="10" Height="10"/>
  54.  
  55.             <StackPanel Orientation="Horizontal">
  56.                 <Label Width="70" Content="Action:" HorizontalContentAlignment="Right"></Label>
  57.                 <ComboBox x:Name="ActionComboBox"
  58.                          Width="300"
  59.                          HorizontalAlignment="Left"/>
  60.  
  61.  
  62.             </StackPanel>
  63.             <Grid Width="10" Height="10"/>
  64.  
  65.             <StackPanel Orientation="Horizontal">
  66.                 <Label Width="70" Content="Path/Url:" HorizontalContentAlignment="Right"></Label>
  67.  
  68.                 <TextBox x:Name="PathTextBox"
  69.                         BorderThickness="1"
  70.                         BorderBrush="Black"
  71.                         Width="230"
  72.                         Height="20"/>
  73.                 <Grid Width="10"/>
  74.                 <Button x:Name="OpenButton"
  75.                        Content="Open"
  76.                        Width="70"
  77.                        Height="20"/>
  78.             </StackPanel>
  79.             <Grid Width="10" Height="30"/>
  80.  
  81.             <DockPanel>
  82.                 <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
  83.                     <Button Content="Save"
  84.                            x:Name="SaveButton"
  85.                            Click="SaveButton_OnClick"
  86.                            Width="70"/>
  87.                     <Grid Width="10"/>
  88.                     <Button Content="Cancel"
  89.                            x:Name="CancelButton"
  90.                            Click="CancelButton_OnClick"
  91.                            Width="70"
  92.                            HorizontalAlignment="Right"/>
  93.                 </StackPanel>
  94.             </DockPanel>
  95.  
  96.         </StackPanel>
  97.     </Border>
  98. </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement