...
Note |
---|
To select a folder name instead of a file name, use the FolderNameEditor class from the .NET Framework instead: |
Code Block | ||
---|---|---|
| ||
<%@ Assembly Name="System.Design" %> <script runat="template"> private string _outputDirectory = @"c:\temp"; [Editor(typeof(System.Windows.Forms.Design.FolderNameEditor), typeof(System.Drawing.Design.UITypeEditor)), Category("Custom"), Description("Output directory.")] public string OutputDirectory { get { get {return _outputDirectory;} set set {_outputDirectory= value;} } </script> |