Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DefaultValue for Tab Control ItemSize
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
DefaultValue for Tab Control ItemSize
Miscellaneous
Thread ID:
01057791
Message ID:
01057791
Views:
88
Hi

I am trying to set a DefaultValue for the ItemSize of a TabControl but I can't just get it right...
<DefaultValue(New System.Drawing.Size(0, 1))> Public Shadows Property ItemSize() As System.Drawing.Size
            Get
                Return MyBase.ItemSize
            End Get
            Set(ByVal Value As System.Drawing.Size)
                MyBase.ItemSize = Value
            End Set
        End Property
I get "Constant Expression is required." but I don't really understand...

Thanks for any help...

Chris
Chris Maiden
Email
Web
Next
Reply
Map
View

Click here to load this message in the networking platform