Advertisement
Guest User

Untitled

a guest
Jul 7th, 2015
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. <UserControl
  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:local="clr-namespace:QP_WPF" x:Class="GUI_WPF_Interior"
  7. xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
  8. xmlns:themes="clr-namespace:Xceed.Wpf.Toolkit.Themes;assembly=Xceed.Wpf.Toolkit"
  9. mc:Ignorable="d"
  10. DataContext="{Binding RelativeSource={RelativeSource Self}}"
  11. d:DesignWidth="600
  12. " Background="transparent">
  13. <UserControl.Resources>
  14. <ResourceDictionary>
  15. <ResourceDictionary.MergedDictionaries>
  16. <ResourceDictionary Source="ColorsAndBrushes.xaml" />
  17. <ResourceDictionary Source="ControlTemplates.xaml"/>
  18. </ResourceDictionary.MergedDictionaries>
  19. </UserControl.Resources>
  20. <Border Margin="10" Background="{StaticResource BG_GradientBrush_2}" CornerRadius="12,12,12,12">
  21. ....
  22.  
  23. <Window x:Class="MainWindow"
  24. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  25. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  26. xmlns:qp="clr-namespace:QP_WPF;assembly=QP_WPF"
  27. Title="MainWindow" Height="680" Width="600"
  28. WindowStyle="None"
  29. AllowsTransparency="True"
  30. MouseLeftButtonDown="Window_MouseLeftButtonDown">
  31. <Grid Background="Transparent">
  32. <qp:GUI_WPF_Interior x:Name="GUIInterior" Background="Transparent"/>
  33. </Grid>
  34. </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement