Click here to Skip to main content
15,885,546 members
Home / Discussions / C#
   

C#

 
QuestionHOW TO USE TIMESTAMP Pin
ventomito30-Jan-06 6:15
ventomito30-Jan-06 6:15 
QuestionData Adapter ?? Pin
VPMahank30-Jan-06 5:29
VPMahank30-Jan-06 5:29 
QuestionMessage Box in C# Pin
idreesbadshah30-Jan-06 4:27
idreesbadshah30-Jan-06 4:27 
AnswerRe: Message Box in C# Pin
Alvaro Mendez30-Jan-06 5:46
Alvaro Mendez30-Jan-06 5:46 
GeneralRe: Message Box in C# Pin
ventomito30-Jan-06 9:46
ventomito30-Jan-06 9:46 
GeneralRe: Message Box in C# Pin
Dave Kreskowiak30-Jan-06 13:56
mveDave Kreskowiak30-Jan-06 13:56 
AnswerRe: Message Box in C# Pin
luckyv1-Feb-06 6:29
luckyv1-Feb-06 6:29 
QuestionUserControl Problem w/Exposing Property Pin
MarkMokris30-Jan-06 4:19
MarkMokris30-Jan-06 4:19 
I have created my own composite control, a "Color Check Box". I derived from UserControl and added a Picture Box (ColorCheckBoxButton) and a Label (ColoeCheckBoxLabel). I want the composite control to expose the Text property. The UserControl class already has a Text property, so I figure I must override it with the following code:

[Category("Appearance")]<br />
public override String Text<br />
{<br />
        get { return ColorCheckBoxLabel.Text; }<br />
	set { ColorCheckBoxLabel.Text = value; }<br />
} 


Programitically this works and I can assign the Text property when I use the composite control. However, the Text property of the compiste control does not seem to be exposed in the Properties window of the VS designer when I user the composite control from the Toolbox. There appears to be NO Text property.

What am I doing wrong?

Thanks!

Mark Mokris
AnswerRe: UserControl Problem w/Exposing Property Pin
kasik30-Jan-06 5:09
kasik30-Jan-06 5:09 
GeneralRe: UserControl Problem w/Exposing Property Pin
MarkMokris30-Jan-06 6:01
MarkMokris30-Jan-06 6:01 
GeneralRe: UserControl Problem w/Exposing Property Pin
kasik30-Jan-06 6:08
kasik30-Jan-06 6:08 
Question.Net Framework Pin
Net-Programer-and-developer30-Jan-06 4:10
Net-Programer-and-developer30-Jan-06 4:10 
AnswerRe: .Net Framework Pin
User 665830-Jan-06 4:43
User 665830-Jan-06 4:43 
AnswerRe: .Net Framework Pin
Dave Kreskowiak30-Jan-06 13:54
mveDave Kreskowiak30-Jan-06 13:54 
QuestionSerialization of ListDictionary Pin
zeo3330-Jan-06 3:49
zeo3330-Jan-06 3:49 
QuestionWindows forms and Test dialog in C# Pin
talbot30-Jan-06 3:37
talbot30-Jan-06 3:37 
Questionparent and child nodes Pin
dhol30-Jan-06 2:30
dhol30-Jan-06 2:30 
Questionicons for binayr files Pin
relsirc30-Jan-06 1:46
relsirc30-Jan-06 1:46 
QuestionInterfaces? Pin
FruitBatInShades30-Jan-06 1:26
FruitBatInShades30-Jan-06 1:26 
AnswerRe: Interfaces? Pin
Guffa30-Jan-06 2:25
Guffa30-Jan-06 2:25 
AnswerRe: Interfaces? Pin
User 665830-Jan-06 4:39
User 665830-Jan-06 4:39 
QuestionAnyone used/worked with iTextSharp off sourceforge.net Pin
NewbieDude30-Jan-06 1:15
NewbieDude30-Jan-06 1:15 
AnswerRe: Anyone used/worked with iTextSharp off sourceforge.net Pin
Ravi Bhavnani30-Jan-06 8:07
professionalRavi Bhavnani30-Jan-06 8:07 
QuestionDataGrid + array Pin
ita_cas30-Jan-06 1:00
ita_cas30-Jan-06 1:00 
QuestionHow to get SqlTypes of a particular column in sqlserver using C# Pin
YogeshChoudhary30-Jan-06 0:58
YogeshChoudhary30-Jan-06 0:58 

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.