|
<wpfspark:SparkWindow x:Class="WPFSparkClient.SparkWindowDemo"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:wpfspark="clr-namespace:WPFSpark;assembly=WPFSpark"
Title="AppTitle"
FontFamily="Segoe WP"
FontWeight="Light"
FontSize="64"
Foreground="LightGray"
TitleMargin="10,-20,0,0"
Width="800"
Height="600"
WindowFrameMode="Pane"
IsAboutEnabled="True">
<wpfspark:SparkWindow.TitleEffect>
<DropShadowEffect BlurRadius="3"
Direction="-85"
ShadowDepth="4"></DropShadowEffect>
</wpfspark:SparkWindow.TitleEffect>
<Window.Background>
<VisualBrush TileMode="Tile"
Stretch="None"
Viewport="0,0,640,640"
ViewportUnits="Absolute">
<VisualBrush.Visual>
<Image Source="/Resources/Images/Backgrounds/black_linen_v2.png"
Stretch="None"></Image>
</VisualBrush.Visual>
</VisualBrush>
</Window.Background>
<Grid>
<TextBlock FontFamily="Segoe WP"
FontWeight="Light"
FontSize="64"
Foreground="YellowGreen"
Text="Your Content Here!"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<TextBlock.Effect>
<DropShadowEffect BlurRadius="4"
Direction="-85"
ShadowDepth="4"></DropShadowEffect>
</TextBlock.Effect>
</TextBlock>
</Grid>
</wpfspark:SparkWindow>
|
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.
An individual with more than a decade of experience in desktop computing and mobile app development primarily on the Microsoft platform. He loves programming in C#, WPF & XAML related technologies.
Current interests include web application development, developing rich user experiences across various platforms and exploring his creative side.
Ratish's personal blog:
wpfspark.wordpress.com