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.

irs2k3
irs2k3
Some questions regarding RichTextBox Controls Posted: Jul 28, 2010
 

Hi guys,


Greate control you have guys. Well done. I have some questions though :


1- Is there the ability to insert chunks of UIElement programatically when the RichtextEditor loads or at any given event ?

     for instance : I want to add : "<b>" as a TextBlockPlus and and the text : "some text" as normal TextBlock. I just want to   highlight html tags. I have tried using richTextBox.Children.Add() method but it is giving errors.


2-  Ability for the control to dynamically adapt its width inside a grid Row by giving it a min-width ?


3- Is there an easy way to replace specific text programatically.


Thanks

 
 
dan
dan
RE: Some questions regarding RichTextBox Controls Posted: Aug 14, 2010
 

Hi,


1. These is the Insert() method that will insert RichText XML, this can be used when the initial content has loaded.  To load initial content you need to use the Load() method.


2. The control should automatically size iteself correctly.


3. You can use the Find() method.  If a match is found you can use the Insert() method to replace the selected text.


Thanks!