Info | ||
---|---|---|
| ||
This feature is deprecated and will be removed in a future version. |
If your custom metadata requires a complex user interface (anything beyond the simple text edit control provided by the property grid) to edit, you'll need to add designer support. Otherwise, there won't be any way for the user to enter values for properties that make use of your metadata type. To add designer support, you'll need to build an editor for your type or use an existing UITypeEditor. An editor is simply a class that subclasses the .NET System.Drawing.Design.UITypeEditor class.
...
When the user wants to edit the DropDownEditProperty and clicks in the property sheet, CodeSmith Generator will display the custom designer:
Info |
---|
For more information on building custom designers please read Building custom UITypeEditors. |
...
Name | Assembly | Obsolete | Description | |
---|---|---|---|---|
CodeSmith.Engine.CodeFileParserPicker | CodeSmith.Engine | Allows you to browse for a CSharp or VisualBasic class file. | ||
CodeSmith.Engine.XmlPropertyFilePicker | CodeSmith.Engine | This type editor can be used on a class that supports XML serialization to allow the user to pick an XML file and have that XML file deserialized into the target class. | ||
CodeSmith.Engine.XmlSchemaFilePicker | CodeSmith.Engine | Allows you to browse for an XSD Schema. | ||
CodeSmith.CustomProperties.AssemblyFilePicker | CodeSmith.CustomProperties | Allows you to browse for an assembly. | ||
CodeSmith.CustomProperties.FileNameEditor | CodeSmith.CustomProperties | Allows you to browse for a file. | ||
CodeSmith.CustomProperties.NameValueCollectionEditor | CodeSmith.CustomProperties | YES | Allows you to quickly edit an NameValueCollection. | |
CodeSmith.CustomProperties.StringCollectionEditor | CodeSmith.CustomProperties | YES | Allows you quickly edit a string collection. | |
CodeSmith.CustomProperties.XmlSerializedFilePicker | CodeSmith.CustomProperties | Allows you to browse for an Xml file. |
...