Browse Source Code | Submit a patch | Submit a Feature Request or Report a Bug

Project Description

This project contains custom TextBlock control which allows you to display text with a pixel font without anti-aliasing which is not possible with standard text controls in Silverlight 1.0 - 4.0

PixelText Control

Usage Sample

<UserControl x:Class="Demo.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:local="clr-namespace:RiaLibrary;assembly=RiaLibrary"
    mc:Ignorable="d" d:DesignHeight="30" d:DesignWidth="200">

    <Canvas>
        <local:PixelText Text="Hello World!" Canvas.Left="10" Canvas.Top="10" />
    </Canvas>

</UserControl>

Feedback

Koistya `Navin

Welcome to My Blog
Feel free to leave some comments

Last edited Sep 9, 2010 at 2:23 AM by koistya, version 14