WebUIServiceHostShowComponentEditor Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Attempts to display a ComponentEditorForm for a component.

Namespace: ContentStudio.Site.Controls
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public bool ShowComponentEditor(
	Object component,
	IWin32Window parent
)

Parameters

component
Type: SystemObject
The component for which to display a ComponentEditorForm.
parent
Type: System.Windows.FormsIWin32Window
The IWin32Window to parent any dialog boxes to.

Return Value

Type: Boolean
true if the attempt is successful; otherwise, false.

Implements

IUIServiceShowComponentEditor(Object, IWin32Window)
Exceptions

ExceptionCondition
ArgumentException The component does not support component editors.
See Also

Reference