Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to subclass control?
Message
From
20/02/2007 07:08:16
 
 
To
17/02/2007 00:43:23
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01184867
Message ID:
01197211
Views:
28
    [DefaultValue(typeof(Color), "Window")]
    public override Color BackColor
    {
        get {return base.BackColor;}
        set {base.BackColor = value;}
    }
    [DefaultValue(typeof(Color), "WindowText")]
    public override Color ForeColor
    {
        get {return base.ForeColor;}
        set {base.ForeColor= value;}
    }
In this case, the colors are assigned as a kind of "named" values.
How can I assign RGB values?
Holger Vorberg
Germany
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform