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