Click or drag to resize

CustomPropertyPrefixAttribute Class

Add a prefix and number to the custom property name.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Demo3D.GuiCustomPropertyPrefixAttribute

Namespace:  Demo3D.Gui
Assembly:  WpfControls (in WpfControls.dll) Version: 15.0.2.11458
Syntax
C#
public class CustomPropertyPrefixAttribute : Attribute

The CustomPropertyPrefixAttribute type exposes the following members.

Constructors
  NameDescription
Public methodCustomPropertyPrefixAttribute
Initializes a new instance of the CustomPropertyPrefixAttribute class
Top
Properties
  NameDescription
Public propertyPrefix
The prefix to add to custom property name. Can be null.
Public propertyRenameFirstInstance
When true, renames the first instance of the custom property name, otherwise only rename additional instances.
Public propertySeparator
The separating string between the prefix and the custom property name. Can be null.
Top
Remarks
The attribute can be applied to either the class containing the custom property declarations or the custom property declaration itself. The final name of the custom property will be in the form of <Prefix><instanceIndex><Separator><CustomPropertyName>
See Also