Click here to Skip to main content
15,894,955 members
Home / Discussions / C#
   

C#

 
GeneralRe: Component Text Property Pin
je_gonzalez24-Mar-04 7:54
je_gonzalez24-Mar-04 7:54 
GeneralRe: Component Text Property Pin
Heath Stewart24-Mar-04 8:41
protectorHeath Stewart24-Mar-04 8:41 
GeneralRe: Component Text Property Pin
je_gonzalez24-Mar-04 8:55
je_gonzalez24-Mar-04 8:55 
GeneralRe: Component Text Property Pin
Heath Stewart24-Mar-04 9:02
protectorHeath Stewart24-Mar-04 9:02 
GeneralRe: Component Text Property Pin
je_gonzalez24-Mar-04 9:13
je_gonzalez24-Mar-04 9:13 
GeneralRe: Component Text Property Pin
Heath Stewart24-Mar-04 9:18
protectorHeath Stewart24-Mar-04 9:18 
GeneralRe: Component Text Property Pin
je_gonzalez24-Mar-04 9:26
je_gonzalez24-Mar-04 9:26 
GeneralRe: Component Text Property Pin
Heath Stewart24-Mar-04 8:47
protectorHeath Stewart24-Mar-04 8:47 
It looks like you're declaring a field, not a property. There is a difference. Also, UserControl in .NET 1.1 attributes the override with the BrowsableAttribute and the EditorBrowsableAttribute to merely hide it from designers and source code editors. It's still there and you can still call it. They removed it only from view because UserControls are typically container in which Text make little sense.

To show it again, declare your property like so:
[Browsable(true)]
[EditorBrowsable(EditorBrowsableState.Always)]
public override string Text
{
  get { return base.Text; }
  set { base.Text = value; }
}
You'll then see it again in both the designer and source code editor.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Component Text Property Pin
dbetting24-Mar-04 15:41
dbetting24-Mar-04 15:41 
GeneralRe: Component Text Property Pin
Heath Stewart24-Mar-04 17:08
protectorHeath Stewart24-Mar-04 17:08 
Generalversion numbers Pin
surgeproof24-Mar-04 6:22
surgeproof24-Mar-04 6:22 
GeneralRe: version numbers Pin
Michael Flanakin24-Mar-04 6:50
Michael Flanakin24-Mar-04 6:50 
GeneralRe: version numbers Pin
surgeproof24-Mar-04 7:15
surgeproof24-Mar-04 7:15 
GeneralRe: version numbers Pin
Heath Stewart24-Mar-04 8:55
protectorHeath Stewart24-Mar-04 8:55 
GeneralRe: version numbers Pin
surgeproof24-Mar-04 9:19
surgeproof24-Mar-04 9:19 
GeneralRe: version numbers Pin
Michael Flanakin24-Mar-04 10:32
Michael Flanakin24-Mar-04 10:32 
QuestionTransparent Label on a Progressbar? Pin
DennisMetz24-Mar-04 5:54
DennisMetz24-Mar-04 5:54 
AnswerRe: Transparent Label on a Progressbar? Pin
surgeproof24-Mar-04 6:24
surgeproof24-Mar-04 6:24 
AnswerRe: Transparent Label on a Progressbar? Pin
Heath Stewart24-Mar-04 9:54
protectorHeath Stewart24-Mar-04 9:54 
GeneralRe: Transparent Label on a Progressbar? Pin
DennisMetz24-Mar-04 11:40
DennisMetz24-Mar-04 11:40 
GeneralApps without Mice Pin
Andrew Torrance24-Mar-04 5:43
Andrew Torrance24-Mar-04 5:43 
GeneralRe: Apps without Mice Pin
surgeproof24-Mar-04 6:15
surgeproof24-Mar-04 6:15 
GeneralRe: Apps without Mice Pin
Colin Angus Mackay24-Mar-04 6:25
Colin Angus Mackay24-Mar-04 6:25 
GeneralRe: Apps without Mice Pin
Heath Stewart24-Mar-04 9:12
protectorHeath Stewart24-Mar-04 9:12 
Questionhow to wrap some dll functions from VC6 Pin
yyf24-Mar-04 5:37
yyf24-Mar-04 5:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.