Skip to content

Commit

Permalink
#486 Add xmlns prefix for actual site
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigel Sampson committed Apr 24, 2019
1 parent b5ae569 commit c9ce93b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 5 additions & 5 deletions samples/features/Features.WPF/Views/ActionsView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:Features.CrossPlatform.Views"
xmlns:cal="http://www.caliburnproject.org"
xmlns:cm="http://caliburnmicro.com"
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300"
Expand All @@ -30,17 +30,17 @@

<Button x:Name="Clear" Content="Clear" Style="{StaticResource ActionButtonStyle}"/>
<Button x:Name="SimpleSayHello" Content="Simple Say Hello" Style="{StaticResource ActionButtonStyle}"/>
<Button cal:Message.Attach="SimpleSayHello" Content="Simple Say Hello (using Message.Attach)" Style="{StaticResource ActionButtonStyle}"/>
<Button cal:Message.Attach="[Event MouseDoubleClick] = [SimpleSayHello]" Content="Simple Say Hello (Custom Event - Double Tapped)" Style="{StaticResource ActionButtonStyle}"/>
<Button cm:Message.Attach="SimpleSayHello" Content="Simple Say Hello (using Message.Attach)" Style="{StaticResource ActionButtonStyle}"/>
<Button cm:Message.Attach="[Event MouseDoubleClick] = [SimpleSayHello]" Content="Simple Say Hello (Custom Event - Double Tapped)" Style="{StaticResource ActionButtonStyle}"/>
<Button x:Name="FullSyntax" Content="Simple Say Hello (Full Behaviour Syntax)" Style="{StaticResource ActionButtonStyle}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="SimpleSayHello" />
<cm:ActionMessage MethodName="SimpleSayHello" />
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
<Button x:Name="SayHello" Content="Say Hello (with parameter)" Style="{StaticResource ActionButtonStyle}"/>
<Button cal:Message.Attach="SayHello(Name)" Content="Say Hello (with parameter and Message.Attach)" Style="{StaticResource ActionButtonStyle}"/>
<Button cm:Message.Attach="SayHello(Name)" Content="Say Hello (with parameter and Message.Attach)" Style="{StaticResource ActionButtonStyle}"/>
<Button x:Name="SayGoodbye" Content="Say Goodbye (async method)" Style="{StaticResource ActionButtonStyle}"/>
</StackPanel>
</ScrollViewer>
Expand Down
4 changes: 3 additions & 1 deletion src/Caliburn.Micro.Platform/Platforms/net46/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@

[assembly: Guid("6449e9cb-4d4d-4d79-8f73-71a2fc647109")]
[assembly: XmlnsDefinition("http://www.caliburnproject.org", "Caliburn.Micro")]
[assembly: XmlnsPrefix("http://www.caliburnproject.org", "cal")]
[assembly: XmlnsPrefix("http://www.caliburnproject.org", "cal")]
[assembly: XmlnsDefinition("http://caliburnmicro.com", "Caliburn.Micro")]
[assembly: XmlnsPrefix("http://caliburnmicro.com", "cm")]

0 comments on commit c9ce93b

Please sign in to comment.