GetDesignItem Method
GetDesignItem(Object)
Gets the site of an existing, registered component.
Declaration
DesignItem GetDesignItem(object component)
Parameters
Type | Name | Description |
---|---|---|
System.Object | component |
Returns
Type | Description |
---|---|
DesignItem | The site of the component, or null if the component is not registered. |
GetDesignItem(Object, Boolean)
Gets the site of an existing, registered component.
Declaration
DesignItem GetDesignItem(object component, bool findByView)
Parameters
Type | Name | Description |
---|---|---|
System.Object | component | |
System.Boolean | findByView |
Returns
Type | Description |
---|---|
DesignItem | The site of the component, or null if the component is not registered. |