SmartContentEditor Class

Sidebar editor for a SmartContentSource object.


public class SmartContentEditor : UserControl

Property Description

SelectedContent

Get or set the currently selected ISmartContent object.

Event Description

ContentEdited

Event fired by the SmartContentEditor object whenever it makes a change to the underlying properties of the SmartContent object.

OnContentEdited

Fires the ContentEdited event. If this method is overridden the base class implementation should always be called.

OnSelectedContentChanged

Notification that the currently selected smart content object has changed.

SelectedContentChanged

Notification that the currently selected ISmartContent object has changed.

Method Description

Constructor

Initialize a new SmartContentEditor instance.

There is a single instance of a given SmartContentEditor created for each Windows Live Writer post editor window. The implementation of SmartContentEditor objects must therefore be stateless and assume that they will be the editor for multiple distinct ISmartContent objects.

The editor can subscribe to the SelectedContentChanged event to be notified that the user selection has changed and then update its user interface accordingly.

Inherits from:

System.Object

System.MarshalByRefObject

System.ComponentModel.Component

System.Windows.Forms.Control

System.Windows.Forms.ScrollableControl

System.Windows.Forms.ContainerControl

System.Windows.Forms.UserControl

WindowsLive.Writer.Api.SmartContentEditor

Assembly: windowslive.writer.api.dll

WindowsLive.Writer.Api

Show: