Adding a Property to a custom Webpart

D

Daisy

I have craeted one custom webpart that simply displays a text message, i want
to know how to Modify that WebPart so that it contains a persistent Boolean
personalizable property named ShowTextAsBold. The property should give the
user the ability to toogle it on and off within the task pane of the browser.
When the user has the property disabled, the WebPart should render its output
using a standard font as you have already done. When the property is enabled,
the WebPart should render its output using a bold font with a larger size.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top