Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. <Window x:Class="RenderingWithVisuals.MainWindow"
  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:RenderingWithVisuals" //Вот тут я подключаю пространство в котором находится класс CustomVisualFrameworkElement
  7. mc:Ignorable="d"
  8. Title="MainWindow" Height="350" Width="525" Loaded="Window_Loaded">
  9. <StackPanel Name="MyStackPAnel">
  10. <Image Height="80" Name="MyImage" />
  11. <!--Теперь используем наш класс, который содержит в себе фигуры и инфраструктуру от FrameworkElement-->
  12. <custom: CustomVisualFrameworkElement/> //Вот тут не видит класс
  13. </StackPanel>
  14. </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement