Thursday, June 17, 2010
Silverlight Editor
It is a small user control build in silverlight 4. In this i have used a rich text box control, and its properties like text decoration for "underlining" the selected text, Text weight property for making the selected text "Bold". To make the selected text "italic" i have used text style property.
The font family property is used to apply different silverlight supported fonts to the selected text. And the Font size property helped me to increase or decrease the size of the selected text.
All the operations are applyied on selected text which we can retrieve using Selection.GetPropertyValue() method. and the Dependency properties are applied using the
Selection.ApplyPropertyValue() method..
Hope you got the clear cut idea about this tool..
Please keep visiting this place for more such creations..
Happy Programming....!!!!!!!!!!
Subscribe to:
Posts (Atom)