Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace > GoView Class : CssFile Property |
'Declaration <EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="System.Web.UI.Design.ImageUrlEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> <DescriptionAttribute("the Cascading Style Sheet file that holds style definitions used by the page in the browser")> <DefaultValueAttribute()> Public Property CssFile As String
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="System.Web.UI.Design.ImageUrlEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [DescriptionAttribute("the Cascading Style Sheet file that holds style definitions used by the page in the browser")] [DefaultValueAttribute()] public string CssFile {get; set;}
This defaults to "GoWeb.css", which is the name of the standard CSS file provided by GoDiagram for describing client-side context menus. You will need to make sure this CSS file is present and accessible in your web site. If the value is the empty string, the RenderCss method renders the standard style definitions inline. When this value is a non-empty string, RenderCss simply generates <link rel='stylesheet' href='...' type='text/css'>
, using this property value as the HREF
. When the value is null or the string "none", no stylesheet reference or style definition is generated.
Note that having different values for different GoViews on the same Page
can produce inconsistent results. They should all be the same, so that the order in which the controls are rendered will not matter.
GoWeb.css
, that you can copy from the GoDiagram Web Samples directory.Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2