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


combit.ListLabel25.DesignerExtensions Namespace > ColorDesignerProperty Class : ColorDesignerProperty 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.
Creates a new ColorDesignerProperty.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal defaultValue As Color _
)
public ColorDesignerProperty( 
   string name,
   Color defaultValue
)
public:
ColorDesignerProperty( 
   String^ name,
   Color 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
ColorDesignerProperty BgcolorProperty = new ColorDesignerProperty("TooltipBackgroundColor", Color.White);
BgcolorProperty.DisplayName = Resources.ToolTipBg ;
BgcolorProperty.Description = Resources.ToolTipBgDescr ;
DesignerProperties.Add(BgcolorProperty);
Dim BgcolorProperty As New ColorDesignerProperty("TooltipBackgroundColor", Color.White)
BgcolorProperty.DisplayName = Resources.ToolTipBg
BgcolorProperty.Description = Resources.ToolTipBgDescr
DesignerProperties.Add(BgcolorProperty)
Requirements

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

See Also

Reference

ColorDesignerProperty Class
ColorDesignerProperty Members