[This is preliminary documentation and is subject to change.]

Localizable version of DefaultValueAttribute. Defines default value of property. Used by PropertyGrid to visually indicate user that value was changed and by Windows Forms Designer to determine if property should be serialized or not.

Namespace:  Tools.ComponentModelT
Assembly:  Tools (in Tools.dll) Version: 1.5.2.0

Author: Đonny

Vertion history

1.5.2 (Release Candidate)
VersionAttribute and AuthorAttribute removed

Syntax

C#
public class LDefaultValueAttribute : DefaultValueAttribute
Visual Basic (Declaration)
Public Class LDefaultValueAttribute _
	Inherits DefaultValueAttribute
Visual C++
public ref class LDefaultValueAttribute : public DefaultValueAttribute
J#
public class LDefaultValueAttribute extends DefaultValueAttribute
JScript
public class LDefaultValueAttribute extends DefaultValueAttribute

Remarks

Localizable means that value can be loaded from resources (any Public Static (Shared in Visual Basic) Property). This attribute can be used in simple cases. In more complicated cases use ShouldSerialize... and Reset... methods.

Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    System.ComponentModel..::.DefaultValueAttribute
      Tools.ComponentModelT..::.LDefaultValueAttribute

See Also