public override DesignerActionItemCollection GetSortedActionItems()
{
this.AddPropertyItem(new DesignerActionPropertyItem("HideInDesign", "Hide", "", "Hide the Ext.Net ResourceManager during Design-Time editing"));
this.AddPropertyItem(new DesignerActionPropertyItem("Theme", "Theme", "500", "Sets the current Theme"));
this.AddPropertyItem(new DesignerActionPropertyItem("CleanResourceUrl", "CleanResourceUrl", "500", "Specifies whether the Ext.Net ResourceManager will output 'clean' Url's when linking to Embedded Resources"));
this.AddPropertyItem(new DesignerActionPropertyItem("QuickTips", "QuickTips", "500", "Enable QuickTips"));
this.AddPropertyItem(new DesignerActionPropertyItem("DisableViewState", "DisableViewState", "500", "Disable ViewState from the page rendering"));
//this.AddPropertyItem(new DesignerActionPropertyItem("SourceFormatting", "SourceFormatting", "500", "Specifies whether the scripts rendered to the page should be formatted"));
this.AddPropertyItem(new DesignerActionPropertyItem("ScriptMode", "ScriptMode", "500", "Specifies whether the Scripts should be rendered in Release or Debug mode"));
this.AddPropertyItem(new DesignerActionPropertyItem("ScriptAdapter", "ScriptAdapter", "500", "Gets the current script Adapter"));
this.AddPropertyItem(new DesignerActionPropertyItem("InitScriptMode", "InitScriptMode", "500", "Render config script into the page or as separate JavaScript file"));
//this.AddPropertyItem(new DesignerActionPropertyItem("StateProvider", "StateProvider", "500", "Specifies the state provider"));
this.AddPropertyItem(new DesignerActionPropertyItem("RenderStyles", "RenderStyles", "500", "Determines how or if the required Styles should be rendered to the Page"));
this.AddPropertyItem(new DesignerActionPropertyItem("RenderScripts", "RenderScripts", "500", "Determines how or if the required Scripts should be rendered to the Page"));
DesignerActionPropertyItem resourcePath = new DesignerActionPropertyItem("ResourcePath", "ResourcePath", "500", "Gets the prefix of the Url path to the base ~/Ext.Net/ folder containing the resources files for this project");
if (this.RenderScripts == ResourceLocationType.File || this.RenderStyles == ResourceLocationType.File)
{
this.AddPropertyItem(resourcePath);
}
else
{
this.RemovePropertyItem(resourcePath);
}
return base.GetSortedActionItems();
}
}