WinFormsControlAddInBase Members

Base class for a Window Forms control add-in as an alternative to the explicit implementation of the IWinFormsControlAddIn interface.

The following tables list the members exposed by the WinFormsControlAddInBase type.

Protected Constructors

  Name Description
WinFormsControlAddInBase Initializes a new instance of the WinFormsControlAddInBase class.

Top

Public Properties

(see also Protected Properties)

  Name Description
public property AllowCaptionControl Gets a value indicating whether the Microsoft Dynamics NAV Windows client displays a caption control for the control add-in.
public property Control Gets the Windows Forms control for the control add-in.

Top

Protected Properties

  Name Description
protected property Site Gets the IControlAddInSite for the control add-in.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method ApplySize This method defines the size of the control add-in specified with the parameters width and height. Use this in OnInitialize to adjust the size as the page opens.
public method Dispose Overloaded. Releases the resources used by the WinFormsControlAddInBase.
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method Initialize Sets the IControlAddInSite for the control add-in.
public method PreInitialize This is used internally only.
public method ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
protected method CreateControl Creates the Windows Forms control for the control add-in.
protected method Dispose Overloaded. Releases the resources used by the WinFormsControlAddInBase.
protected method Finalize Overridden. Finalizes an instance of the WinFormsControlAddInBase class.
protected method MemberwiseClone  (Inherited from Object)
protected method OnCaptionChanged Called when the Caption property on the Site property has changed.
protected method OnEditableChanged Called when the Editable property on the Site property has changed.
protected method OnEnabledChanged Called when the Enabled property on the Site property has changed.
protected method OnInitialize Called when Initialize is called.
protected method OnStyleChanged Called when the Style property on the Site property has changed.
protected method OnValidationResultChanged Called when the ValidationResult property on the Site property has changed.
protected method OnVisibleChanged Called when the Visible property on the Site property has changed.

Top

See Also

Reference

WinFormsControlAddInBase Class
Microsoft.Dynamics.Framework.UI.Extensibility.WinForms Namespace