Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class design
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01401807
Message ID:
01402327
Views:
52
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>I want to subclass a DataGrid control (in .NET CE) environment. In particular, I want to have a common property _rowNumber and a common MouseUp event updating this number.
>
>This part I was able to figure out myself.
>
>Now, in addition I also want to have TableStyle as a property (can I use SET/GET the same way as with a regular property?) and a new signature for a method FormatGrid. The actual implementation of this method I'd like to have coded in the form.
>
>So, can you please just tell me what would be the syntax here to declare this method in C#?
>

You can't create a method in your subclass that can be overridden in the form. However, you can create an event that you can bind to a method in your form.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform