-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
simonegli
committed
Mar 6, 2013
1 parent
0107d88
commit eae654a
Showing
67 changed files
with
557 additions
and
5,902 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<?xml version="1.0"?> | ||
<configuration> | ||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration> | ||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
<%@ Page Language="C#" %> | ||
<%@ Import Namespace="System.Xml.Linq" %> | ||
<%@ Import Namespace="Silversite.Net.UI" %> | ||
|
||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
|
||
<html xmlns="http:https://www.w3.org/1999/xhtml" > | ||
<head runat="server"> | ||
<title>XamlImageConverter - Demo</title> | ||
<script type="text/javascript" src="jquery.js"></script> | ||
<script type="text/javascript" src="jquery.maphighlight.min.js"></script> | ||
<script type="text/javascript"> | ||
$(function() { | ||
$('.map').maphilight(); | ||
}); | ||
</script> | ||
</head> | ||
<body> | ||
<form id="form1" runat="server"> | ||
<div> | ||
<h3>A direct conversion of xaml > png</h3> | ||
<pre><code><img src="~/XamlImageConverter.Demo/Homepage.xaml.png" runat="server" /></code></pre> | ||
<img src="~/XamlImageConverter.Demo/Homepage.xaml.png" runat="server" /> | ||
<hr /> | ||
|
||
<h3>A conversion of multiple images with a batch script file, and of an animated gif.</h3> | ||
<pre><code><img src="~/XamlImageConverter.Demo/MakeImages.xic.xaml?image=~/XamlImageConverter.Demo/Images/animated-loader.gif" runat="server" /></code></pre> | ||
<img src="~/XamlImageConverter.Demo/MakeImages.xic.xaml?image=~/XamlImageConverter.Demo/Images/animated-loader.gif" runat="server" /> | ||
<hr /> | ||
|
||
<h3>A html image map created from a svg source</h3> | ||
<p>This map was generated from <a href="http:https://en.wikipedia.org/wiki/Image:Map_of_USA_with_state_names.svg">"Map of USA with state names.svg"</a>. | ||
Note that in the current version the font is not resolved correctly.</p> | ||
<pre><code><asp:ImageMap ID="usamap" runat="server" ImageUrl="~/XamlImageConverter.Demo/MakeImages.xic.xaml" CssClass="map" /></code></pre> | ||
<asp:ImageMap ID="usa" runat="server" ImageUrl="~/XamlImageConverter.Demo/MakeImages.xic.xaml" CssClass="map" /> | ||
<hr /> | ||
|
||
<h3>A PDF of the above homepage</h3> | ||
<pre><code><asp:HyperLink runat="server" NavigateUrl="~/XamlImageConverter.Demo/Homepage.xaml.pdf">Homepage PDF</asp:HyperLink></code></pre> | ||
<asp:HyperLink runat="server" NavigateUrl="~/XamlImageConverter.Demo/Homepage.xaml.pdf">Homepage PDF</asp:HyperLink> | ||
<hr /> | ||
|
||
<h3>Conversion of 3D content doesn't work under IIS (only on IIS6).</h3> | ||
<pre><code><img src="~/XamlImageConverter.Demo/Kaxaml.xaml.gif?Storyboard=rotate&Frames=50" runat="server" /></code></pre> | ||
<img src="~/XamlImageConverter.Demo/Kaxaml.xaml.gif?Storyboard=rotate&Frames=50" runat="server" /> | ||
|
||
<h3>Conversion of 3D content doesn't work under IIS, so here is a precompiled version.</h3> | ||
<pre><code><img src="~/XamlImageConverter.Demo/Kaxaml.gif" runat="server" /></code></pre> | ||
<img src="~/XamlImageConverter.Demo/Kaxaml.gif" runat="server" /> | ||
|
||
<h3>Direct xaml in ASP.NET.</h3> | ||
<asp:TextBox ID="buttontext" runat="server">I'm a button</asp:TextBox><asp:Button runat="server" OnClick="Update" Text="Update" /> | ||
|
||
<pre><code> | ||
<asp:TextBox ID="buttontext" runat="server">I'm a button</asp:TextBox><asp:Button ID="Button1" runat="server" OnClick="Update" Text="Update" /> | ||
<xic:XamlImage ID="dynamicbutton" runat="server" ImageUrl="~/XamlImageConverter.Demo/Images/XamlImage.png"> | ||
<Button>I'm a Button</Button> | ||
</xic:XamlImage> | ||
<script runat="server"> | ||
protected void Update(object sender, EventArgs e) { | ||
var dynamicbutton = (XamlImage)Page.FindControl("dynamicbutton"); | ||
dynamicbutton.Xaml = string.Format("<Button>{0}</Button>", buttontext.Text); | ||
} | ||
</script> | ||
</code></pre> | ||
|
||
<xic:XamlImage ID="dynamicbutton" runat="server" ImageUrl="~/XamlImageConverter.Demo/Images/XamlImage.png" > | ||
<Button>I'm a Button</Button> | ||
</xic:XamlImage> | ||
<script runat="server"> | ||
protected void Update(object sender, EventArgs e) { | ||
var dynamicbutton = (XamlImage)Page.FindControl("dynamicbutton"); | ||
dynamicbutton.Xaml = string.Format("<Button>{0}</Button>", buttontext.Text); | ||
} | ||
</script> | ||
</div> | ||
</form> | ||
</body> | ||
</html> |
Oops, something went wrong.