combit List & Label 25 - .NET Online Web Help
NumericDesignerProperty Constructor
Example 


combit.ListLabel25.DesignerExtensions Namespace > NumericDesignerProperty Class : NumericDesignerProperty Constructor
Name of the property. This name will be used to identify the property in the project file. Changing the name after reports containing the property have been deployed is a breaking change. To change the name that is displayed to the user, set the DisplayName property instead.
Default value of the property.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal defaultValue As Object _
)
public NumericDesignerProperty( 
   string name,
   object defaultValue
)
public:
NumericDesignerProperty( 
   String^ name,
   Object^ defaultValue
)

Parameters

name
Name of the property. This name will be used to identify the property in the project file. Changing the name after reports containing the property have been deployed is a breaking change. To change the name that is displayed to the user, set the DisplayName property instead.
defaultValue
Default value of the property.
Example
NumericDesignerProperty NumericProperty = new NumericDesignerProperty("Latitude", 47.662473);
NumericProperty.DisplayName = Resources.Latitude ;
NumericProperty.Description = Resources.LatitudeDescr;
NumericProperty.Signed = false;
DesignerProperties.Add(NumericProperty);
Dim NumericProperty As New NumericDesignerProperty("Latitude", 47.662473)
NumericProperty.DisplayName = Resources.Latitude
NumericProperty.Description = Resources.LatitudeDescr
NumericProperty.Signed = False
DesignerProperties.Add(NumericProperty)
Requirements

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

NumericDesignerProperty Class
NumericDesignerProperty Members