Loading files
366e28f22This file is pinned to the selected release. Download the original to open it in your design tool.
<UserControl x:Class="IDE.Documents.Views.SchematicRulesView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:viewModels="clr-namespace:IDE.Core.Designers;assembly=IDE.Core.Presentation"
xmlns:local="clr-namespace:IDE.Documents.Views"
mc:Ignorable="d"
d:DesignHeight="450"
d:DesignWidth="800">
<UserControl.Resources>
<DataTemplate DataType="{x:Type viewModels:NetSchematicRule}">
<local:GenericSchematicRuleView Margin="0,10"/>
</DataTemplate>
<DataTemplate DataType="{x:Type viewModels:PinTypesConnectionSchematicRule}">
<local:PinTypesConnectionSchematicRuleView Margin="0,10"/>
</DataTemplate>
<DataTemplate DataType="{x:Type viewModels:NotConnectedPinsSchematicRule}">
<local:GenericSchematicRuleView Margin="0,10"/>
</DataTemplate>
</UserControl.Resources>
<Grid>
<ItemsControl ItemsSource="{Binding Rules}"></ItemsControl>
</Grid>
</UserControl>