P
Peter Hartlén
Hi!
What's the correct syntax for the default value design time attribute, using
classdiagram view and Custom Attributes dialog.
For a boolean:
DefaultValue(true)
DefaultValue("true")
DefaultValue("bool","true")
For a max value of a property of type _long_ (although max value is set to
max of int32)
DefaultValue(Int32.MaxValue)
DefaultValue("Int32.MaxValue")
DefaultValue("long", "Int32.MaxValue")
DefaultValue("int", "Int32.MaxValue")
For a custom enum:
DefaultValue(TextBoxNumericType.WholeNumber)
DefaultValue("TextBoxNumericType.WholeNumber")
DefaultValue("TextBoxNumericType", "TextBoxNumericType.WholeNumber")
I'm not successfull in any of the cases above...
Thanks in advance!
/ Peter
What's the correct syntax for the default value design time attribute, using
classdiagram view and Custom Attributes dialog.
For a boolean:
DefaultValue(true)
DefaultValue("true")
DefaultValue("bool","true")
For a max value of a property of type _long_ (although max value is set to
max of int32)
DefaultValue(Int32.MaxValue)
DefaultValue("Int32.MaxValue")
DefaultValue("long", "Int32.MaxValue")
DefaultValue("int", "Int32.MaxValue")
For a custom enum:
DefaultValue(TextBoxNumericType.WholeNumber)
DefaultValue("TextBoxNumericType.WholeNumber")
DefaultValue("TextBoxNumericType", "TextBoxNumericType.WholeNumber")
I'm not successfull in any of the cases above...
Thanks in advance!
/ Peter