This is a migrated thread and some comments may be shown as answers.

Shadow Property

2 Answers 48 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kenneth Jackson
Top achievements
Rank 1
Kenneth Jackson asked on 12 Jul 2008, 11:47 PM
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 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 15 Jul 2008, 03:25 PM
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
0
Kenneth Jackson
Top achievements
Rank 1
answered on 16 Jul 2008, 08:12 AM
Thanks for the info
Tags
General Discussions
Asked by
Kenneth Jackson
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Kenneth Jackson
Top achievements
Rank 1
Share this question
or