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
public static class HtmlHelperExtensions | |
{ | |
public static MvcHtmlString IconActionLink(this HtmlHelper htmlHelper, string linkText, string iconClass, | |
string actionName, string controllerName) | |
{ | |
return IconActionLink(htmlHelper, linkText, iconClass, string.Empty, actionName, controllerName, null); | |
} | |
public static MvcHtmlString IconActionLink(this HtmlHelper htmlHelper, string linkText, string iconClass, string actionName, string controllerName, IDictionary<string, object> htmlAttributes) | |
{ |
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
<Window x:Class="Wpf.MainWindow" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
Title="MainWindow" Height="350" Width="525" WindowStyle="None" AllowsTransparency="True" Background="Transparent" > | |
<Grid x:Name="LayoutRoot" | |
Background="White" Margin="4"> | |
<Grid.Effect> | |
<DropShadowEffect BlurRadius="15" Direction="-90" RenderingBias="Quality" ShadowDepth="2"/> | |
</Grid.Effect> |