IDesignPageSite Interface

IDesignPageSite Interface

This Package | All Packages

public interface IDesignPageSite

This interface defines a site for an IDesignPage. A site is a logical living space for the page and provides services for that page. DesignForm is a stock implementation of IDesignPageSite.

Methods
Name Description
getControl() Called by a page to retrieve a parenting control for the page.
setDirty() Called by a page to mark its contents as dirty.

Methods

IDesignPageSite.getControl

Syntax
public Control getControl();
Return Value

Returns the parenting control object for the page.

Description

Called by a page to retrieve a parenting control for the page.

IDesignPageSite.setDirty

Syntax
public void setDirty();
Description

Called by a page to mark its contents as dirty. This may be used to enable a parenting form's Apply button.