Skip to main content

Microsoft Silverlight

Answered Question TextBox Control no enable/disable, readonly.RSS Feed

(0)

Kevmeister
Kevmeister

Member

Member

249 points

119 Posts

TextBox Control no enable/disable, readonly.

Fairly self-explanatory. The TextBox control does not allow itself to be disabled, and there is no mechanism to allow it to be marked read-only to prevent changing of the information in the textbox (but where it is still desirable to allow copy-to-clipboard).

I don't know how many other controls suffer from the same lack of enabling/disabling, but there should be consistency across all controls in this regard.

Jim Mangaly
Jim Mangaly

Contributor

Contributor

2622 points

381 Posts

Answered Question

Re: TextBox Control no enable/disable, readonly.

Kevmeister, TextBox has an IsReadOnly property. See http://silverlight.net/forums/p/15636/51733.aspx#51733

Jim (http://jimmangaly.blogspot.com/)

http://www.identitymine.com/

Kevmeister
Kevmeister

Member

Member

249 points

119 Posts

Re: TextBox Control no enable/disable, readonly.

Not much I can say to that, except: Oops!

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities