Shadow Property

3 posts, 0 answers
  1. Kenneth Jackson
    Kenneth Jackson avatar
    60 posts
    Member since:
    Dec 2007

    Posted 12 Jul 2008 Link to this post

    Alot of the text primitives have a shadow property but all that i can do is
    select (none) from the drop down.

    How can this be used ? Also will there be functionlity in the future to allow
    for raised text also ? A minor thing I realise but all part of fine tuning the look
    and feel.

    Also is it possible to customise the colours on text shadow and or the
    depth of the shadow ?
  2. Nikolay
    Admin
    Nikolay avatar
    1805 posts

    Posted 15 Jul 2008 Link to this post

    Hello Kenneth Jackson,

    Thank you for raising these questions.

    Currently, you can set the Shadow property only programmatically. Please consider the following code snippet:
    ((TextPrimitive)this.radButton1.RootElement.Children[0].Children[1].Children[1]).Shadow = new Telerik.WinControls.Paint.ShadowSettings(new Point(1,1), 0, Color.Blue); 

    This is a sample code concerning the Shadow for the TextPrimitive of a RadButton. The Shadow property is of type ShadowSettings, which has three properties - Depth, Thickness and ShadowColor. Currently, we have an issue with the Thickness property which will be addressed in one of our next releases.

    As to the raised text, this is a good suggestion and I will share your idea with our developers for possible implementation in the future.

    If you have additional questions, feel free to contact me.


    Sincerely yours,
    Nikolay
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Kenneth Jackson
    Kenneth Jackson avatar
    60 posts
    Member since:
    Dec 2007

    Posted 16 Jul 2008 Link to this post

    Thanks for the info
Back to Top