|
<Window x:Class="AutoDiagrammer.NonAssociatedVertexPopup"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:AutoDiagrammer"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
xmlns:CinchV2="clr-namespace:Cinch;assembly=Cinch.WPF"
Title="Non Associated Vertex Data" Height="500" Width="700"
WindowStartupLocation="CenterScreen"
MinHeight="400" MinWidth="600"
Background="#ffdddddd"
WindowStyle="ToolWindow">
<ScrollViewer HorizontalScrollBarVisibility="Hidden"
VerticalScrollBarVisibility="Auto"
Background="#ffdddddd">
<StackPanel Orientation="Vertical">
<Expander Header="Interfaces"
IsExpanded="True"
Style="{StaticResource GenericExpanderStyle}"
Margin="0">
<Expander.Visibility>
<MultiBinding Converter="{StaticResource HasDataAndShouldShowMultiConv}">
<Binding Path="HasInterfaces" />
<Binding Path="ShowInterfaces" Source="{x:Static local:SettingsViewModel.Instance}" />
</MultiBinding>
</Expander.Visibility>
<ListBox ItemsSource="{Binding Interfaces}" IsEnabled="False"
BorderThickness="0"
Style="{StaticResource TransparentListBoxStyle}"/>
</Expander>
<Expander Header="Constructors"
Style="{StaticResource GenericExpanderStyle}"
IsExpanded="True"
Visibility="{Binding Path=HasConstructors, Converter={StaticResource BoolToVisConv}, ConverterParameter='True'}">
<ListBox IsEnabled="False" x:Name="lstConstructors"
Style="{StaticResource TransparentListBoxStyle}"
ItemsSource="{Binding Constructors}"/>
</Expander>
<Expander Header="Fields"
IsExpanded="True"
Style="{StaticResource GenericExpanderStyle}">
<Expander.Visibility>
<MultiBinding Converter="{StaticResource HasDataAndShouldShowMultiConv}">
<Binding Path="HasFields" />
<Binding Path="ShowFieldTypes" Source="{x:Static local:SettingsViewModel.Instance}" />
</MultiBinding>
</Expander.Visibility>
<ListBox ItemsSource="{Binding Fields}" IsEnabled="False"
BorderThickness="0"
Style="{StaticResource TransparentListBoxStyle}"/>
</Expander>
<Expander Header="Properties"
IsExpanded="True"
Style="{StaticResource GenericExpanderStyle}">
<Expander.Visibility>
<MultiBinding Converter="{StaticResource HasDataAndShouldShowMultiConv}">
<Binding Path="HasProperties" />
<Binding Path="ShowPropertyTypes" Source="{x:Static local:SettingsViewModel.Instance}" />
</MultiBinding>
</Expander.Visibility>
<ListBox ItemsSource="{Binding Properties}" IsEnabled="False"
BorderThickness="0"
Style="{StaticResource TransparentListBoxStyle}"/>
</Expander>
<Expander Header="Methods"
IsExpanded="True"
Style="{StaticResource GenericExpanderStyle}"
Visibility="{Binding Path=HasMethods, Converter={StaticResource BoolToVisConv}, ConverterParameter='True'}">
<ListBox ItemsSource="{Binding Methods}" IsEnabled="False"
BorderThickness="0"
ItemTemplate="{StaticResource MethodItemTemplate}"
Style="{StaticResource TransparentListBoxStyle}"/>
</Expander>
<Expander Header="Events"
IsExpanded="True"
Style="{StaticResource GenericExpanderStyle}"
Margin="0,0,0,20">
<Expander.Visibility>
<MultiBinding Converter="{StaticResource HasDataAndShouldShowMultiConv}">
<Binding Path="HasEvents" />
<Binding Path="ShowPropertyTypes" Source="{x:Static local:SettingsViewModel.Instance}" />
</MultiBinding>
</Expander.Visibility>
<ListBox ItemsSource="{Binding Events}" IsEnabled="False"
BorderThickness="0"
Style="{StaticResource TransparentListBoxStyle}"/>
</Expander>
</StackPanel>
</ScrollViewer>
</Window>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I currently hold the following qualifications (amongst others, I also studied Music Technology and Electronics, for my sins)
- MSc (Passed with distinctions), in Information Technology for E-Commerce
- BSc Hons (1st class) in Computer Science & Artificial Intelligence
Both of these at Sussex University UK.
Award(s)
I am lucky enough to have won a few awards for Zany Crazy code articles over the years
- Microsoft C# MVP 2016
- Codeproject MVP 2016
- Microsoft C# MVP 2015
- Codeproject MVP 2015
- Microsoft C# MVP 2014
- Codeproject MVP 2014
- Microsoft C# MVP 2013
- Codeproject MVP 2013
- Microsoft C# MVP 2012
- Codeproject MVP 2012
- Microsoft C# MVP 2011
- Codeproject MVP 2011
- Microsoft C# MVP 2010
- Codeproject MVP 2010
- Microsoft C# MVP 2009
- Codeproject MVP 2009
- Microsoft C# MVP 2008
- Codeproject MVP 2008
- And numerous codeproject awards which you can see over at my blog