Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Text property in usercontrol

1 view
Skip to first unread message

Mark

unread,
Nov 16, 2005, 6:46:02 AM11/16/05
to
I created a usercontrol with a picturebox and a label. Now I want to make a
Text propery on the usercontrol which updates the label text. If I create a
propery 'public override string Text' I can use the property in code but not
in the designer. Am I doing something wrong ? I'm using VS2005

Sergey Bogdanov

unread,
Nov 16, 2005, 8:19:19 AM11/16/05
to
Take a look this article how to write custom controls in VS2k5:
http://www.mooseworkssoftware.com/VS2005%20Control.htm

--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com

Tim Wilson UNDERSCORE AT PERIOD

unread,
Nov 16, 2005, 11:17:36 AM11/16/05
to
You may be running into inherited attributes that are hiding this property
on you. See the thread below for more information.
http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/e2a16bb42beff72f/e3089235cb94cfe5#e3089235cb94cfe5

--
Tim Wilson
.NET Compact Framework MVP

"Mark" <Ma...@discussions.microsoft.com> wrote in message
news:6AF5774F-3674-4197...@microsoft.com...

0 new messages