Namespace: Consultingwerk.SmartComponents.Implementation
Class 
SmartDesignerSupportComponent Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.SmartComponents.Base.SmartComponent
Implements: System.ComponentModel.ICustomTypeDescriptor, Consultingwerk.SmartComponents.IHasDesignerVerbs

File:SmartDesignerSupportComponent
Purpose:Component which provides the "Insert UserControl" verb
and can be used on any Form or UserControl
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Apr 25 21:27:23 CEST 2015
Notes:Allows to work around the current limitation that we
are not able to add designer verbs to the Telerik RadControl
based Forms



Top Method Summary
Options Name Purpose
DesignerInsertUserControl () Inserts a user control instance at design time.
OnVerbClicked (character) Event Handler method for Designer Verbs
SetDesignerProperties () Sets Properties to customize Visual Designer behavior

Top Constructor Summary
Options Name Purpose
SmartDesignerSupportComponent () Constructor of the SmartDesignerSupportComponent class. Set's the DesignTime property using the LicenseManager.
SmartDesignerSupportComponent (IContainer) Constructor of the SmartDesignerSupportComponent class


Method Detail
Top

DesignerInsertUserControl ()

Purpose: Inserts a user control instance at design time.
Notes:

Top

OnVerbClicked (character)

Purpose: Event Handler method for Designer Verbs
Notes: This method is intended to be overridden

Parameters:
pcVerbText CHARACTER
The name (Label) of the Designer Verb that was invoked
Top

SetDesignerProperties ()

Purpose: Sets Properties to customize Visual Designer behavior
Notes:



Constructor Detail
Top

SmartDesignerSupportComponent ()

Purpose: Constructor of the SmartDesignerSupportComponent class. Set's the
DesignTime property using the LicenseManager.
Notes: According to
http://dotnetfacts.blogspot.com/2009/01/identifying-run-time-and-design-mode.html
that is only possible during the constructor of the class.

Top

SmartDesignerSupportComponent (IContainer)

Purpose: Constructor of the SmartDesignerSupportComponent class
Notes: Set's the DesignTime property using the LicenseManager. According to
http://dotnetfacts.blogspot.com/2009/01/identifying-run-time-and-design-mode.html
that is only possible during the constructor of the class.

Parameters:
poContainer System.ComponentModel.IContainer
The IContainer to add the SmartBusinessEntityAdapter to.


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       03.05.2026 21:39:43