Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

To select a folder name instead of a file name, use the FolderNameEditor class from the .NET Framework instead: 

Code Block
languagecsharp
<%@ 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>