Latest News

  • Super Tower Defense 2 Game
    Sep 03, 2010

    New to the games section is Super Tower Defense 2. Featuring more maps, new units and bigger explosions.

  • Super Cards Online Multiplayer Game
    Aug 13, 2010

    Released today in the games section is the new Super Cards multiplayer card game. The aim of the game is to get rid of all your playing cards before your opposition.

  • Silverlight Online Chat
    Jul 24, 2010

    Today we launch the new Silverlight Live Chat application demonstrating the Liquid RichTextBox and Emoticon replacements.

  • New Super Shoot Em Up 2 Game
    Jun 29, 2010

    Added to the Games section is the new Super Shoot 'Em Up 2 game. Take control of your tank with the aim to defeat the computer controlled opponents. Features all new weapons, levels and Battle Mode!

  • Silverlight 4 Controls V5.3.2 Released
    Jun 28, 2010

    This release contains several fixes raised in the forums.

Silverlight Text Rotator Blind

The Text Rotator Blind is slightly different version of our Text Roller Blind control and has been optimized for Silverlight 3 to make use of the built in 3D rotation capabilities.

This Silverlight only Text Rotator Blind Control is easy to implement on your Silverlight driven website and is also customizable to provide a visual feel suitable for any site design.

To use the Text Rotator Blind control you will need to add a reference to Liquid.dll in your project.


How to Use the Text Rotator Blind Control

To use the Text Rotator Blind on your Silverlight page:

<UserControl x:Class="TextRotatorBlind.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:liquid="clr-namespace:Liquid;assembly=Liquid"
    Width="400" Height="300">
    <Grid x:Name="LayoutRoot" Background="White">
       <liquid:TextRotatorBlind x:Name="currentStatus" Canvas.Left="10" Canvas.Top="8" Width="130" Height="80" TopText="Employment" BottomText="Status">
            <StackPanel Orientation="Vertical" Margin="6">
                <RadioButton Content="Employed" GroupName="main" Checked="CurrentStatus_Click" />
                <RadioButton Content="Unemployed" GroupName="main" Checked="CurrentStatus_Click" />
                <RadioButton Content="Career Break" GroupName="main" Checked="CurrentStatus_Click" />
                <RadioButton Content="Other" GroupName="main" Checked="CurrentStatus_Click" />
            </StackPanel>
        </liquid:TextRotatorBlind>
    </Grid>
</UserControl>


In your C# code behind file you can refer to the Text Rotator Blind using currentStatus.  In this example we create a simple Text Rotator Blind containing a set of Radio Buttons.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace TextRotatorBlind
{
    public partial class MainPage : UserControl
    {
        public MainPage()
        {
            InitializeComponent();
        }

        private void CurrentStatus_Click(object sender, RoutedEventArgs e)
        {
            currentStatus.Value = ((RadioButton)sender).Content.ToString();
        }
    }
}


Example Silverlight Text Rotator Blind Control:

Silverlight Text Rotator Blind Control

Latest Forum Posts

Here are latest posts from around the forums, if you have a question about any of the Liquid controls you can get your answers in the Forum.

facos posted on DropDown AutoClose

hi dan,


would it be possible to include the automatic closing of the dropdown when clicking outside or losing the focus within the library as an option? it would help to avoid a lot of repetitive code...


best regards...

kieran@serif.net posted on ItemViewer items_ItemSelected

Sorry guys,


I answered the problem by looking into this a little further.  I had seen the solution many times but thought it was looking at the treeview not the itemview....


Anyway, here it is:


private void items_ItemSelected(object sender, EventArgs e)

        {

            deleteName.Text = items.Selected.LiquidTag.ToString();

            deleteFile.IsEnabled = true;

        }


Sorry again and keep up the good work!

stefanHauck posted on Viewer Problem

Hi,

I use the viewer inside a tab control and get during design time very often the following error:


InnerException: reference not set to an instance of an object

NullReferenceException: reference not set to an instance of an object


StackTrace

at MS.Internal.XcpImports.MethodEx(InPtr ptr, String name, CValue[] cvDate)

at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)

at MS.Internal.XcpImports.FrameworkElement_ApplyTemplate(FramerworkElement frameworkElement)

at System.Windows.Controls.Control.ApplyTemplate()


After I change something in the code and switch bacl to design view, it mostly work until I close and reopen the page again.

What can I check to make it working?


Stefan

dan posted on FileUpload

Hi,


There is no limit to the size that can be uploaded and the upload size of this component has nothing to do with the web.config settings.  When uploading a file it is broken up into small chuncks usually around 30k in size and sent to the server.  There is a bug in version 5.3.2 and below that can cause a memory leak, this is being fixed and will be implemneted in the next version.


Thanks!

jstangwh posted on DropDown small change

very good

dan posted on Scroller Speed

Hi,


There isn't a separate property to control speed.  However you can simply use larger directional values:


myScorller.Direction = new Point(2,0);


The above will scroll 2 pixels to the right per frame.


Thanks!

Rate this page: 

1 Star 2 Star 3 Star 4 Star 5 Star
10 Ratings / 2.4 Average

Ultimate Gamers

  • 1 Gh0sT
  • 2 stig
  • 3 dhoz
  • 4 seyhmusss
  • 5 RadiateLogic
  • 6 bigblue531
  • 7 janso
  • 8 DutchRemco
  • 9 Gendibal
  • 10 dan

  • See the full chart here!

Silverlight Controls

  • Rich TextBox

    Create and edit rich content with this slick and expandable Rich TextBox...

  • TreeView

    This easy to use TreeView comes with drag and drop, sorting, searching and much more...

  • Context Menu

    You too can have cool popup context menus in your Silverlight applications...

  • Resizable Dialog

    Draggable and resizable popup dialogs are what serious Silverlight developers need...

  • Spell Checker

    Real-time spell checking in Silverlight? We did it first here...