Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Window x:Class="MacroToolUi.Windows.AddActionToButtonWindow"
- 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:MacroToolUi.Windows"
- xmlns:wpfTool="clr-namespace:Xceed.Wpf.Toolkit;assembly=Xceed.Wpf.Toolkit"
- xmlns:controls="clr-namespace:MacroToolUi.Controls"
- mc:Ignorable="d"
- Title="Add Action To Button"
- Height="427.741"
- Width="407.816">
- <Border Padding="10">
- <StackPanel Orientation="Vertical" >
- <Image x:Name="PreviewImage"
- Width="100"
- Height="100"
- HorizontalAlignment="Center" />
- <Grid Height="10"/>
- <StackPanel Orientation="Horizontal">
- <Label Width="70" Content="Color:" HorizontalContentAlignment="Right"></Label>
- <wpfTool:ColorPicker x:Name="BackgroundColorPicker"
- Width="309"
- HorizontalAlignment="Left"/>
- </StackPanel>
- <Grid Width="10" Height="10"/>
- <Grid Width="10"/>
- <StackPanel Orientation="Horizontal">
- <Label Width="70" Content="Text:" HorizontalContentAlignment="Right"></Label>
- <TextBox x:Name="Text"
- Width="230"
- Height="20"/>
- <Grid Width="10" Height="10"/>
- <Button x:Name="FontSlector"
- Content="FontSelector"
- Click="FontSlector_OnClick"
- Height="20"
- Width="70"
- />
- <Grid Width="10" Height="10"/>
- </StackPanel>
- <Grid Width="10" Height="10"/>
- <StackPanel Orientation="Horizontal">
- <Label Width="70" Content="Aligment:" HorizontalContentAlignment="Right" VerticalAlignment="Center"></Label>
- <controls:TextAligmentControl BorderThickness="0"/>
- </StackPanel>
- <Grid Width="10" Height="10"/>
- <StackPanel Orientation="Horizontal">
- <Label Width="70" Content="Action:" HorizontalContentAlignment="Right"></Label>
- <ComboBox x:Name="ActionComboBox"
- Width="300"
- HorizontalAlignment="Left"/>
- </StackPanel>
- <Grid Width="10" Height="10"/>
- <StackPanel Orientation="Horizontal">
- <Label Width="70" Content="Path/Url:" HorizontalContentAlignment="Right"></Label>
- <TextBox x:Name="PathTextBox"
- BorderThickness="1"
- BorderBrush="Black"
- Width="230"
- Height="20"/>
- <Grid Width="10"/>
- <Button x:Name="OpenButton"
- Content="Open"
- Width="70"
- Height="20"/>
- </StackPanel>
- <Grid Width="10" Height="30"/>
- <DockPanel>
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
- <Button Content="Save"
- x:Name="SaveButton"
- Click="SaveButton_OnClick"
- Width="70"/>
- <Grid Width="10"/>
- <Button Content="Cancel"
- x:Name="CancelButton"
- Click="CancelButton_OnClick"
- Width="70"
- HorizontalAlignment="Right"/>
- </StackPanel>
- </DockPanel>
- </StackPanel>
- </Border>
- </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement