Changes default value of the property of the component. You can change value only in run-time mode (then Active == false)
Namespace:
Greatis.FormDesignerAssembly: Greatis.FormDesigner (in Greatis.FormDesigner.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub ChangeDefaultValue ( _ component As IComponent, _ propName As String, _ value As Object _ ) |
C# |
---|
public void ChangeDefaultValue( IComponent component, string propName, Object value ) |
Visual C++ |
---|
public: void ChangeDefaultValue( IComponent^ component, String^ propName, Object^ value ) |
JavaScript |
---|
function changeDefaultValue(component, propName, value); |
Parameters
- component
- Type: System.ComponentModel..::.IComponent
changed component
- propName
- Type: System..::.String
changed property name
- value
- Type: System..::.Object
new default value