Sitecore 5.0 API

State Properties

The properties of the State class are listed below. For a complete list of State class members, see the State Members topic.

Public Static (Shared) Properties

ActivePublishDateGets the active publish date.
ActivePublishGroupsGets the active publish groups.
AddRenderingsGets an array list of renderings to add to the default list of renderings.
ClientLanguageGets or sets the ISO language code the the current client language.
ClientUsesOSWindowsGets a value indicating whether ClientUsesOSWindows.
CommitDisabledOption to disable commits on items.
ContentDatabaseGets or sets the content database.
CurrentLayoutObsolete. Gets or sets the ID or name of the current layout.
CurrentLayoutChangedObsolete. Gets or sets a boolean that indicates if current layout was changed.
CustomLayoutGets or sets the ID or name of a custom layout to use for the current page request.
DebugModeGets or sets a boolean that indicates if Sitecore is in debug mode.
DesktopGets or sets the path of the client desktop webpage.
DisableDefaultRenderingsGets or sets a boolean that indicates if the default renderings are disabled or not.
DisableItemChangeRegisteringGets or sets a boolean that indicates of item changes are registered.
DispatchEventsGets or sets a boolean that indicates if events are dispatched.
DrawRenderingBordersGet or sets a boolean that indicates if borders are drawn around renderings.
ExpandLinkedDatabasesGets or sets a boolean that indicates if linked databases are expanded.
ExtensionObjectsGets the hash list of XSL extention objects.
FormGets or sets the current form collection from web page.
LanguageGet or sets the current language code.
LastErrorGets a hash list of sections containing the last errors.
LayoutGroupObsolete. Gets or sets the current layout group.
MasterItemGets or sets the current master item.
PreviewDateGets or sets the current date/time of a preview.
PreviewGroupsGets or sets the current publishing groups of a preview.
ProfilingGets or sets a boolean that indicates if profiling data are generated.
QueryStringGets or sets the current query string collection.
RemoveRenderingsGets a has array list of renderings that should be removed from the list of default renderings.
ResetAfterWebViewGets or sets a boolean that indicates if the web editing state should be reset after web view.
ShowEditDotsGets or sets a boolean that indicates if dots (and panel) are shown in preview and web edit mode.
ShowRenderingInfoGets or sets a boolean that indicates if rendering info is available.
ThemeGets or sets the current theme.
TracingGets or sets a boolean that indicates if tracing data is collected.
TranslatingGets a value indicating whether the current instance is translating.
WebEditingGets a value indicating whether WebEditing.

See Also

State Class | Sitecore.Configuration Namespace