Share via


HostedControl Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

This control makes it easier to create WinForm applications by wrapping the most common operations into a base class.

Namespace:   Microsoft.Uii.Csr
Assembly:  Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        System.Windows.Forms.ScrollableControl
          System.Windows.Forms.ContainerControl
            System.Windows.Forms.UserControl
              Microsoft.Uii.Csr.HostedControl
                Microsoft.Uii.Csr.HostedControlEx
                Microsoft.Uii.Desktop.Cti.Controls.CtiDesktopManager
                Microsoft.Uii.Desktop.Cti.Controls.CtiHostedControl

Syntax

[SmartPartAttribute]
public class HostedControl : UserControl, IHostedApplication4, 
    IHostedApplication3, IHostedApplication2, IHostedApplication
<SmartPartAttribute>
Public Class HostedControl
    Inherits UserControl
    Implements IHostedApplication4, IHostedApplication3, IHostedApplication2,
    IHostedApplication

Constructors

Name Description
System_CAPS_pubmethod HostedControl()

Hosted Control constructor

System_CAPS_pubmethod HostedControl(Guid, String, String)

Hosted Control constructor

Properties

Name Description
System_CAPS_pubproperty AccessibilityObject

(Inherited from Control.)

System_CAPS_pubproperty AccessibleDefaultActionDescription

(Inherited from Control.)

System_CAPS_pubproperty AccessibleDescription

(Inherited from Control.)

System_CAPS_pubproperty AccessibleName

(Inherited from Control.)

System_CAPS_pubproperty AccessibleRole

(Inherited from Control.)

System_CAPS_pubproperty ActiveControl

(Inherited from ContainerControl.)

System_CAPS_pubproperty AgentID

Useful for management apps that need to know who is logged into them. This is used for apps supporting the IHostedApplication2 interface.

System_CAPS_pubproperty AllowDrop

(Inherited from Control.)

System_CAPS_pubproperty Anchor

(Inherited from Control.)

System_CAPS_pubproperty AppHostWorkItem

For CAB integration purposes only; allows injection of current WorkItem

System_CAPS_protproperty ApplicationHost

Intended to provide access to the containing ApplicationHost instance to support advanced hosting senarios. Usage may increase coupling between AIF hosted applications, running counter to the architectural intent of AIF. Setter is for internal use only, it will have no effect.

System_CAPS_pubproperty ApplicationID

Returns the unique id for this hosted application.

System_CAPS_pubproperty ApplicationName

Returns the name of the hosted application as given in the database.

System_CAPS_pubproperty AutoScaleDimensions

(Inherited from ContainerControl.)

System_CAPS_protproperty AutoScaleFactor

(Inherited from ContainerControl.)

System_CAPS_pubproperty AutoScaleMode

(Inherited from ContainerControl.)

System_CAPS_pubproperty AutoScroll

(Inherited from ScrollableControl.)

System_CAPS_pubproperty AutoScrollMargin

(Inherited from ScrollableControl.)

System_CAPS_pubproperty AutoScrollMinSize

(Inherited from ScrollableControl.)

System_CAPS_pubproperty AutoScrollOffset

(Inherited from Control.)

System_CAPS_pubproperty AutoScrollPosition

(Inherited from ScrollableControl.)

System_CAPS_pubproperty AutoSize

(Inherited from UserControl.)

System_CAPS_pubproperty AutoSizeMode

(Inherited from UserControl.)

System_CAPS_pubproperty AutoValidate

(Inherited from UserControl.)

System_CAPS_pubproperty BackColor

(Inherited from Control.)

System_CAPS_pubproperty BackgroundImage

(Inherited from Control.)

System_CAPS_pubproperty BackgroundImageLayout

(Inherited from Control.)

System_CAPS_pubproperty BindingContext

(Inherited from ContainerControl.)

System_CAPS_pubproperty BorderStyle

(Inherited from UserControl.)

System_CAPS_pubproperty Bottom

(Inherited from Control.)

System_CAPS_pubproperty Bounds

(Inherited from Control.)

System_CAPS_pubproperty CanEmbed

Returns true if the application can be hosted within the UII panels. False if the application can only be integrated with UII via scripts.

System_CAPS_protproperty CanEnableIme

(Inherited from ContainerControl.)

System_CAPS_pubproperty CanFocus

(Inherited from Control.)

System_CAPS_protproperty CanRaiseEvents

(Inherited from Control.)

System_CAPS_pubproperty CanSelect

(Inherited from Control.)

System_CAPS_pubproperty Capture

(Inherited from Control.)

System_CAPS_pubproperty CausesValidation

(Inherited from Control.)

System_CAPS_pubproperty ClientRectangle

(Inherited from Control.)

System_CAPS_pubproperty ClientSize

(Inherited from Control.)

System_CAPS_pubproperty CompanyName

(Inherited from Control.)

System_CAPS_pubproperty ConfigurationReader

Gets or set the hosted controls Configuration Value reader object.

System_CAPS_pubproperty Container

(Inherited from Component.)

System_CAPS_pubproperty ContainsFocus

(Inherited from Control.)

System_CAPS_pubproperty Context

Contains session-wide context. Modifying this also notifies other applications of the context change.

System_CAPS_pubproperty ContextMenu

(Inherited from Control.)

System_CAPS_pubproperty ContextMenuStrip

(Inherited from Control.)

System_CAPS_pubproperty Controls

(Inherited from Control.)

System_CAPS_pubproperty Created

(Inherited from Control.)

System_CAPS_protproperty CreateParams

(Inherited from UserControl.)

System_CAPS_pubproperty CurrentAutoScaleDimensions

(Inherited from ContainerControl.)

System_CAPS_pubproperty Cursor

(Inherited from Control.)

System_CAPS_pubproperty DataBindings

(Inherited from Control.)

System_CAPS_protproperty DefaultCursor

(Inherited from Control.)

System_CAPS_protproperty DefaultImeMode

(Inherited from Control.)

System_CAPS_protproperty DefaultMargin

(Inherited from Control.)

System_CAPS_protproperty DefaultMaximumSize

(Inherited from Control.)

System_CAPS_protproperty DefaultMinimumSize

(Inherited from Control.)

System_CAPS_protproperty DefaultPadding

(Inherited from Control.)

System_CAPS_protproperty DefaultSize

(Inherited from UserControl.)

System_CAPS_protproperty DesignMode

(Inherited from Component.)

System_CAPS_pubproperty DisplayGroup

The name of the UII panel this application is hosted within. This is taken from the database Application table initialization XML.

System_CAPS_pubproperty DisplayRectangle

(Inherited from ScrollableControl.)

System_CAPS_pubproperty Disposing

(Inherited from Control.)

System_CAPS_pubproperty Dock

(Inherited from Control.)

System_CAPS_protproperty DoubleBuffered

(Inherited from Control.)

System_CAPS_pubproperty EnableAutoSignOn

Get the value of private member variable enableAutoSignOn.

System_CAPS_pubproperty Enabled

(Inherited from Control.)

System_CAPS_protproperty Events

(Inherited from Component.)

System_CAPS_pubproperty Focused

(Inherited from Control.)

System_CAPS_pubproperty Font

(Inherited from Control.)

System_CAPS_protproperty FontHeight

(Inherited from Control.)

System_CAPS_pubproperty ForeColor

(Inherited from Control.)

System_CAPS_pubproperty Handle

(Inherited from Control.)

System_CAPS_pubproperty HasChildren

(Inherited from Control.)

System_CAPS_pubproperty Height

(Inherited from Control.)

System_CAPS_pubproperty HorizontalScroll

(Inherited from ScrollableControl.)

System_CAPS_protproperty HScroll

(Inherited from ScrollableControl.)

System_CAPS_pubproperty Icon

Used for hosted WinForm apps that want a simple way to set their icons.

System_CAPS_pubproperty ImeMode

(Inherited from Control.)

System_CAPS_protproperty ImeModeBase

(Inherited from Control.)

System_CAPS_pubproperty ImplementedAsCcf20

Allows system to run certain routines as CCF 2.0 or prior

System_CAPS_pubproperty InvokeRequired

(Inherited from Control.)

System_CAPS_pubproperty IsAccessible

(Inherited from Control.)

System_CAPS_pubproperty IsAdapterSessionController

Gets a boolean indicating whether the adapter is a SessionController.

System_CAPS_pubproperty IsDisposed

(Inherited from Control.)

System_CAPS_pubproperty IsDynamic

Gets or sets a value indicating whether this instance is dynamic.

System_CAPS_pubproperty IsGlobal

Tells whether the hosted application is global

System_CAPS_pubproperty IsHandleCreated

(Inherited from Control.)

System_CAPS_pubproperty IsListed

Allows to be seen but not listed in SessionExplorer or CurrentSessionUI

System_CAPS_pubproperty IsMirrored

(Inherited from Control.)

System_CAPS_pubproperty IsNavigating

Could be used to indicate an application is changing its state.

System_CAPS_pubproperty IsTagged

When true, application is dependent on workflow

System_CAPS_pubproperty LayoutEngine

(Inherited from Control.)

System_CAPS_pubproperty Left

(Inherited from Control.)

System_CAPS_pubproperty Location

(Inherited from Control.)

System_CAPS_pubproperty Margin

(Inherited from Control.)

System_CAPS_pubproperty MaximumSize

(Inherited from Control.)

System_CAPS_pubproperty MinimumSize

(Inherited from Control.)

System_CAPS_pubproperty Name

(Inherited from Control.)

System_CAPS_pubproperty OptimumSize

The size that the applications's window will initially be if it is a floating window.

System_CAPS_pubproperty Padding

(Inherited from Control.)

System_CAPS_pubproperty Parent

(Inherited from Control.)

System_CAPS_pubproperty ParentForm

(Inherited from ContainerControl.)

System_CAPS_pubproperty PreferredSize

(Inherited from Control.)

System_CAPS_pubproperty ProductName

(Inherited from Control.)

System_CAPS_pubproperty ProductVersion

(Inherited from Control.)

System_CAPS_pubproperty RecreatingHandle

(Inherited from Control.)

System_CAPS_pubproperty Region

(Inherited from Control.)

System_CAPS_protproperty RenderRightToLeft

(Inherited from Control.)

System_CAPS_protproperty ResizeRedraw

(Inherited from Control.)

System_CAPS_pubproperty Right

(Inherited from Control.)

System_CAPS_pubproperty RightToLeft

(Inherited from Control.)

System_CAPS_protproperty ScaleChildren

(Inherited from Control.)

System_CAPS_pubproperty SessionManager

Allows hosted apps to have access to sessions

System_CAPS_protproperty ShowFocusCues

(Inherited from Control.)

System_CAPS_protproperty ShowKeyboardCues

(Inherited from Control.)

System_CAPS_pubproperty Site

(Inherited from Control.)

System_CAPS_pubproperty Size

(Inherited from Control.)

System_CAPS_pubproperty TabIndex

(Inherited from Control.)

System_CAPS_pubproperty TabStop

(Inherited from Control.)

System_CAPS_pubproperty Tag

(Inherited from Control.)

System_CAPS_pubproperty Text

Sets/Gets the text for the window or tab control containing this application.

System_CAPS_pubproperty Top

(Inherited from Control.)

System_CAPS_pubproperty TopLevelControl

(Inherited from Control.)

System_CAPS_pubproperty TopLevelWindow

Returns a control for the owning window of this hosted app. If this is an external application, then null is returned.

System_CAPS_pubproperty UseWaitCursor

(Inherited from Control.)

System_CAPS_pubproperty VerticalScroll

(Inherited from ScrollableControl.)

System_CAPS_pubproperty Visible

(Inherited from Control.)

System_CAPS_protproperty VScroll

(Inherited from ScrollableControl.)

System_CAPS_pubproperty Width

(Inherited from Control.)

Methods

Name Description
System_CAPS_protmethod AccessibilityNotifyClients(AccessibleEvents, Int32)

(Inherited from Control.)

System_CAPS_protmethod AccessibilityNotifyClients(AccessibleEvents, Int32, Int32)

(Inherited from Control.)

System_CAPS_pubmethod AddAction(Int32, String, String)

Adds an action for use from one application or the UII core to this application. An action with id of 1 is the default action and is called when initing the application. There is no requirement to have a default action though.

System_CAPS_protmethod AddImplicitAction(String)

Adds implicit action . Action Id will use the maximum available int .

System_CAPS_protmethod AdjustFormScrollbars(Boolean)

(Inherited from ContainerControl.)

System_CAPS_pubmethod BeginInvoke(Delegate)

(Inherited from Control.)

System_CAPS_pubmethod BeginInvoke(Delegate, Object[])

(Inherited from Control.)

System_CAPS_pubmethod BringToFront()

(Inherited from Control.)

System_CAPS_pubmethod Close()

Called when the app is closed.

System_CAPS_pubmethod Contains(Control)

(Inherited from Control.)

System_CAPS_protmethod CreateAccessibilityInstance()

(Inherited from Control.)

System_CAPS_pubmethod CreateControl()

(Inherited from Control.)

System_CAPS_protmethod CreateControlsInstance()

(Inherited from Control.)

System_CAPS_pubmethod CreateGraphics()

(Inherited from Control.)

System_CAPS_protmethod CreateHandle()

(Inherited from Control.)

System_CAPS_pubmethod CreateObjRef(Type)

(Inherited from MarshalByRefObject.)

System_CAPS_protmethod DefWndProc(Message)

(Inherited from Control.)

System_CAPS_protmethod DestroyHandle()

(Inherited from Control.)

System_CAPS_pubmethod Dispose()

(Inherited from Component.)

System_CAPS_protmethod Dispose(Boolean)

(Inherited from ContainerControl.)

System_CAPS_pubmethod DoAction(Action, String)

Obsolete. Method to override in the implemention to handle the action.

System_CAPS_pubmethod DoAction(Int32, String)

Obsolete. Called to perform the action configured in the database. Do not override this method! To handle DoAction in your implementation override DoAction(RequestActionEventArgs) instead.

System_CAPS_protmethod DoAction(RequestActionEventArgs)

Method to override in the implementation to handle the action.

System_CAPS_pubmethod DoAction(String, String)

Obsolete. Called to perform the action configured in the database.

System_CAPS_pubmethod DoDefaultAction()

Performs this hosted application's default action, if there is one. The default action is the one with an id of 1, but it is not required.

System_CAPS_pubmethod DoDragDrop(Object, DragDropEffects)

(Inherited from Control.)

System_CAPS_pubmethod DrawToBitmap(Bitmap, Rectangle)

(Inherited from Control.)

System_CAPS_pubmethod EndInvoke(IAsyncResult)

(Inherited from Control.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod ErrorMsg(String, String)

So hosted winform applications can use this and have the same error message style as the rest of the desktop.

System_CAPS_pubmethod FindForm()

(Inherited from Control.)

System_CAPS_pubmethod FireChangeContext(ContextEventArgs)

Informs all the other applications that the context has changed.

System_CAPS_pubmethod FireRequestAction(RequestActionEventArgs)

Sends a request to perform some action to another application. If the RequestActionEventArgs has a target of *, then all apps get the action.

System_CAPS_pubmethod Focus()

(Inherited from Control.)

System_CAPS_protmethod GetAccessibilityObjectById(Int32)

(Inherited from Control.)

System_CAPS_protmethod GetAutoSizeMode()

(Inherited from Control.)

System_CAPS_pubmethod GetChildAtPoint(Point)

(Inherited from Control.)

System_CAPS_pubmethod GetChildAtPoint(Point, GetChildAtPointSkip)

(Inherited from Control.)

System_CAPS_pubmethod GetContainerControl()

(Inherited from Control.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetIconList()

Gets the icon images

System_CAPS_pubmethod GetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethod GetNextControl(Control, Boolean)

(Inherited from Control.)

System_CAPS_pubmethod GetPreferredSize(Size)

(Inherited from Control.)

System_CAPS_protmethod GetScaledBounds(Rectangle, SizeF, BoundsSpecified)

(Inherited from Control.)

System_CAPS_protmethod GetScrollState(Int32)

(Inherited from ScrollableControl.)

System_CAPS_protmethod GetService(Type)

(Inherited from Component.)

System_CAPS_pubmethod GetStateData()

Gets the application state data for the windows application For now we retrieve only the InputText value

System_CAPS_protmethod GetStyle(ControlStyles)

(Inherited from Control.)

System_CAPS_protmethod GetTopLevel()

(Inherited from Control.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod HandleRequestAction(Object, RequestActionEventArgs)

This is for internal UII use only. Please do not use directly. Public visibility necessary for CAB integration.

System_CAPS_pubmethod HandleRequestDefaultAction(Object, DataEventArgs<ApplicationProperties>)

This is for internal UII use only. Please do not use directly. Public visibility necessary for CAB integration.

System_CAPS_pubmethod Hide()

(Inherited from Control.)

System_CAPS_pubmethod Initialize()

Called when the application should initialize its internal state

System_CAPS_pubmethod InitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethod InitLayout()

(Inherited from Control.)

System_CAPS_pubmethod Invalidate()

(Inherited from Control.)

System_CAPS_pubmethod Invalidate(Boolean)

(Inherited from Control.)

System_CAPS_pubmethod Invalidate(Rectangle)

(Inherited from Control.)

System_CAPS_pubmethod Invalidate(Rectangle, Boolean)

(Inherited from Control.)

System_CAPS_pubmethod Invalidate(Region)

(Inherited from Control.)

System_CAPS_pubmethod Invalidate(Region, Boolean)

(Inherited from Control.)

System_CAPS_pubmethod Invoke(Delegate)

(Inherited from Control.)

System_CAPS_pubmethod Invoke(Delegate, Object[])

(Inherited from Control.)

System_CAPS_protmethod InvokeGotFocus(Control, EventArgs)

(Inherited from Control.)

System_CAPS_protmethod InvokeLostFocus(Control, EventArgs)

(Inherited from Control.)

System_CAPS_protmethod InvokeOnClick(Control, EventArgs)

(Inherited from Control.)

System_CAPS_protmethod InvokePaint(Control, PaintEventArgs)

(Inherited from Control.)

System_CAPS_protmethod InvokePaintBackground(Control, PaintEventArgs)

(Inherited from Control.)

System_CAPS_protmethod IsInputChar(Char)

(Inherited from Control.)

System_CAPS_protmethod IsInputKey(Keys)

(Inherited from Control.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone(Boolean)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethod NotifyContextChange(Context)

Event which happens whenever the context is changed.

System_CAPS_pubmethod NotifyContextChange(String)

Obsolete. Event which happens whenever the context is changed. This is called by the applicationHost

System_CAPS_protmethod NotifyInvalidate(Rectangle)

(Inherited from Control.)

System_CAPS_protmethod OnAutoSizeChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnAutoValidateChanged(EventArgs)

(Inherited from ContainerControl.)

System_CAPS_protmethod OnBackColorChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnBackgroundImageChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnBackgroundImageLayoutChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnBindingContextChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnCausesValidationChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnChangeUICues(UICuesEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnClick(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnClientSizeChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnContextMenuChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnContextMenuStripChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnControlAdded(ControlEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnControlRemoved(ControlEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnCreateControl()

(Inherited from UserControl.)

System_CAPS_protmethod OnCursorChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnDockChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnDoubleClick(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnDragDrop(DragEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnDragEnter(DragEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnDragLeave(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnDragOver(DragEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnEnabledChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnEnter(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnFontChanged(EventArgs)

(Inherited from ContainerControl.)

System_CAPS_protmethod OnForeColorChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnGiveFeedback(GiveFeedbackEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnGotFocus(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnHandleCreated(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnHandleDestroyed(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnHelpRequested(HelpEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnImeModeChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnInvalidated(InvalidateEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnKeyDown(KeyEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnKeyPress(KeyPressEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnKeyUp(KeyEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnLayout(LayoutEventArgs)

(Inherited from ContainerControl.)

System_CAPS_protmethod OnLeave(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnLoad(EventArgs)

(Inherited from UserControl.)

System_CAPS_protmethod OnLocationChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnLostFocus(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnMarginChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnMouseCaptureChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnMouseClick(MouseEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnMouseDoubleClick(MouseEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnMouseDown(MouseEventArgs)

(Inherited from UserControl.)

System_CAPS_protmethod OnMouseEnter(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnMouseHover(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnMouseLeave(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnMouseMove(MouseEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnMouseUp(MouseEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnMouseWheel(MouseEventArgs)

(Inherited from ScrollableControl.)

System_CAPS_protmethod OnMove(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnNotifyMessage(Message)

(Inherited from Control.)

System_CAPS_protmethod OnPaddingChanged(EventArgs)

(Inherited from ScrollableControl.)

System_CAPS_protmethod OnPaint(PaintEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnPaintBackground(PaintEventArgs)

(Inherited from ScrollableControl.)

System_CAPS_protmethod OnParentBackColorChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnParentBackgroundImageChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnParentBindingContextChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnParentChanged(EventArgs)

(Inherited from ContainerControl.)

System_CAPS_protmethod OnParentCursorChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnParentEnabledChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnParentFontChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnParentForeColorChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnParentRightToLeftChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnParentVisibleChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnPreviewKeyDown(PreviewKeyDownEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnPrint(PaintEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnQueryContinueDrag(QueryContinueDragEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnRegionChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnResize(EventArgs)

(Inherited from UserControl.)

System_CAPS_protmethod OnRightToLeftChanged(EventArgs)

(Inherited from ScrollableControl.)

System_CAPS_protmethod OnScroll(ScrollEventArgs)

(Inherited from ScrollableControl.)

System_CAPS_protmethod OnSizeChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnStyleChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnSystemColorsChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnTabIndexChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnTabStopChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnTextChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnValidated(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnValidating(CancelEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnVisibleChanged(EventArgs)

(Inherited from ScrollableControl.)

System_CAPS_pubmethod PerformAutoScale()

(Inherited from ContainerControl.)

System_CAPS_pubmethod PerformLayout()

(Inherited from Control.)

System_CAPS_pubmethod PerformLayout(Control, String)

(Inherited from Control.)

System_CAPS_pubmethod PointToClient(Point)

(Inherited from Control.)

System_CAPS_pubmethod PointToScreen(Point)

(Inherited from Control.)

System_CAPS_pubmethod PreProcessControlMessage(Message)

(Inherited from Control.)

System_CAPS_pubmethod PreProcessMessage(Message)

(Inherited from Control.)

System_CAPS_protmethod ProcessCmdKey(Message, Keys)

(Inherited from ContainerControl.)

System_CAPS_protmethod ProcessDialogChar(Char)

(Inherited from ContainerControl.)

System_CAPS_protmethod ProcessDialogKey(Keys)

(Inherited from ContainerControl.)

System_CAPS_protmethod ProcessKeyEventArgs(Message)

(Inherited from Control.)

System_CAPS_protmethod ProcessKeyMessage(Message)

(Inherited from Control.)

System_CAPS_protmethod ProcessKeyPreview(Message)

(Inherited from Control.)

System_CAPS_protmethod ProcessMnemonic(Char)

(Inherited from ContainerControl.)

System_CAPS_protmethod ProcessTabKey(Boolean)

(Inherited from ContainerControl.)

System_CAPS_protmethod RaiseDragEvent(Object, DragEventArgs)

(Inherited from Control.)

System_CAPS_protmethod RaiseKeyEvent(Object, KeyEventArgs)

(Inherited from Control.)

System_CAPS_protmethod RaiseMouseEvent(Object, MouseEventArgs)

(Inherited from Control.)

System_CAPS_protmethod RaisePaintEvent(Object, PaintEventArgs)

(Inherited from Control.)

System_CAPS_protmethod RecreateHandle()

(Inherited from Control.)

System_CAPS_pubmethod RectangleToClient(Rectangle)

(Inherited from Control.)

System_CAPS_pubmethod RectangleToScreen(Rectangle)

(Inherited from Control.)

System_CAPS_pubmethod Refresh()

(Inherited from Control.)

System_CAPS_protmethod ResetMouseEventArgs()

(Inherited from Control.)

System_CAPS_pubmethod ResetText()

(Inherited from Control.)

System_CAPS_pubmethod ResumeLayout()

(Inherited from Control.)

System_CAPS_pubmethod ResumeLayout(Boolean)

(Inherited from Control.)

System_CAPS_protmethod RtlTranslateAlignment(ContentAlignment)

(Inherited from Control.)

System_CAPS_protmethod RtlTranslateAlignment(HorizontalAlignment)

(Inherited from Control.)

System_CAPS_protmethod RtlTranslateAlignment(LeftRightAlignment)

(Inherited from Control.)

System_CAPS_protmethod RtlTranslateContent(ContentAlignment)

(Inherited from Control.)

System_CAPS_protmethod RtlTranslateHorizontal(HorizontalAlignment)

(Inherited from Control.)

System_CAPS_protmethod RtlTranslateLeftRight(LeftRightAlignment)

(Inherited from Control.)

System_CAPS_pubmethod Scale(SizeF)

(Inherited from Control.)

System_CAPS_protmethod ScaleControl(SizeF, BoundsSpecified)

(Inherited from ScrollableControl.)

System_CAPS_pubmethod ScrollControlIntoView(Control)

(Inherited from ScrollableControl.)

System_CAPS_protmethod ScrollToControl(Control)

(Inherited from ScrollableControl.)

System_CAPS_pubmethod Select()

(Inherited from Control.)

System_CAPS_protmethod Select(Boolean, Boolean)

(Inherited from ContainerControl.)

System_CAPS_pubmethod SelectNextControl(Control, Boolean, Boolean, Boolean, Boolean)

(Inherited from Control.)

System_CAPS_pubmethod SendToBack()

(Inherited from Control.)

System_CAPS_pubmethod SessionChange(Boolean, Guid)

Called for global applications when the session is activated or deactivated Not called for non-global applications.

System_CAPS_pubmethod SetAutoScrollMargin(Int32, Int32)

(Inherited from ScrollableControl.)

System_CAPS_protmethod SetAutoSizeMode(AutoSizeMode)

(Inherited from Control.)

System_CAPS_pubmethod SetBounds(Int32, Int32, Int32, Int32)

(Inherited from Control.)

System_CAPS_pubmethod SetBounds(Int32, Int32, Int32, Int32, BoundsSpecified)

(Inherited from Control.)

System_CAPS_protmethod SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)

(Inherited from Control.)

System_CAPS_protmethod SetClientSizeCore(Int32, Int32)

(Inherited from Control.)

System_CAPS_pubmethod SetContext(Context)

Obsolete. This is used to set the context from applicationhost without causing further notifications. It exists so that context can be updated quietly before doing the 'real' context notification because some applications fire actions onto other apps when the context changes and some actions are designed to depend upon context. In otherwords, a race condition.

System_CAPS_pubmethod SetContext(String)

Obsolete. This is used to set the context from applicationhost without causing further notifications. It exists so that context can be updated quietly before doing the 'real' context notification because some applications fire actions onto other apps when the context changes and some actions are designed to depend upon context. In otherwords, a race condition.

System_CAPS_protmethod SetDisplayRectLocation(Int32, Int32)

(Inherited from ScrollableControl.)

System_CAPS_protmethod SetScrollState(Int32, Boolean)

(Inherited from ScrollableControl.)

System_CAPS_pubmethod SetStateData(String)

Sets the StateData to the controls

System_CAPS_protmethod SetStyle(ControlStyles, Boolean)

(Inherited from Control.)

System_CAPS_protmethod SetTopLevel(Boolean)

(Inherited from Control.)

System_CAPS_protmethod SetVisibleCore(Boolean)

(Inherited from Control.)

System_CAPS_pubmethod Show()

(Inherited from Control.)

System_CAPS_protmethod SizeFromClientSize(Size)

(Inherited from Control.)

System_CAPS_pubmethod SuspendLayout()

(Inherited from Control.)

System_CAPS_pubmethod ToString()

(Inherited from Component.)

System_CAPS_pubmethod Update()

(Inherited from Control.)

System_CAPS_protmethod UpdateBounds()

(Inherited from Control.)

System_CAPS_protmethod UpdateBounds(Int32, Int32, Int32, Int32)

(Inherited from Control.)

System_CAPS_protmethod UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32)

(Inherited from Control.)

System_CAPS_protmethod UpdateDefaultButton()

(Inherited from ContainerControl.)

System_CAPS_protmethod UpdateStyles()

(Inherited from Control.)

System_CAPS_protmethod UpdateZOrder()

(Inherited from Control.)

System_CAPS_pubmethod Validate()

(Inherited from ContainerControl.)

System_CAPS_pubmethod Validate(Boolean)

(Inherited from ContainerControl.)

System_CAPS_pubmethod ValidateChildren()

(Inherited from UserControl.)

System_CAPS_pubmethod ValidateChildren(ValidationConstraints)

(Inherited from UserControl.)

System_CAPS_protmethod WndProc(Message)

(Inherited from UserControl.)

Fields

Name Description
System_CAPS_protfield actions

Dictionary of actions

System_CAPS_protfield actionsByID

Dictionary of actions

Events

Name Description
System_CAPS_pubevent ActionCompleted

Obsolete. For internal use

System_CAPS_pubevent ActionCompletedEvent

Event to notify ApplicationHost that an action has completed. Using CAB's EventBroker to publish the event topic.

System_CAPS_pubevent AutoSizeChanged

(Inherited from UserControl.)

System_CAPS_pubevent AutoValidateChanged

(Inherited from UserControl.)

System_CAPS_pubevent BackColorChanged

(Inherited from Control.)

System_CAPS_pubevent BackgroundImageChanged

(Inherited from Control.)

System_CAPS_pubevent BackgroundImageLayoutChanged

(Inherited from Control.)

System_CAPS_pubevent BindingContextChanged

(Inherited from Control.)

System_CAPS_pubevent CausesValidationChanged

(Inherited from Control.)

System_CAPS_pubevent ChangeContext

This event is for internal UII use only and should not be used directly. If your hosted control wants to recieve context change notification, you should be overriding NotifyContextChange method in your implementation.

System_CAPS_pubevent ChangeUICues

(Inherited from Control.)

System_CAPS_pubevent Click

(Inherited from Control.)

System_CAPS_pubevent ClientSizeChanged

(Inherited from Control.)

System_CAPS_pubevent ContextMenuChanged

(Inherited from Control.)

System_CAPS_pubevent ContextMenuStripChanged

(Inherited from Control.)

System_CAPS_pubevent ControlAdded

(Inherited from Control.)

System_CAPS_pubevent ControlRemoved

(Inherited from Control.)

System_CAPS_pubevent CursorChanged

(Inherited from Control.)

System_CAPS_pubevent Disposed

(Inherited from Component.)

System_CAPS_pubevent DockChanged

(Inherited from Control.)

System_CAPS_pubevent DoubleClick

(Inherited from Control.)

System_CAPS_pubevent DragDrop

(Inherited from Control.)

System_CAPS_pubevent DragEnter

(Inherited from Control.)

System_CAPS_pubevent DragLeave

(Inherited from Control.)

System_CAPS_pubevent DragOver

(Inherited from Control.)

System_CAPS_pubevent EnabledChanged

(Inherited from Control.)

System_CAPS_pubevent Enter

(Inherited from Control.)

System_CAPS_pubevent FontChanged

(Inherited from Control.)

System_CAPS_pubevent ForeColorChanged

(Inherited from Control.)

System_CAPS_pubevent GiveFeedback

(Inherited from Control.)

System_CAPS_pubevent GotFocus

(Inherited from Control.)

System_CAPS_pubevent HandleCreated

(Inherited from Control.)

System_CAPS_pubevent HandleDestroyed

(Inherited from Control.)

System_CAPS_pubevent HelpRequested

(Inherited from Control.)

System_CAPS_pubevent ImeModeChanged

(Inherited from Control.)

System_CAPS_pubevent Invalidated

(Inherited from Control.)

System_CAPS_pubevent KeyDown

(Inherited from Control.)

System_CAPS_pubevent KeyPress

(Inherited from Control.)

System_CAPS_pubevent KeyUp

(Inherited from Control.)

System_CAPS_pubevent Layout

(Inherited from Control.)

System_CAPS_pubevent Leave

(Inherited from Control.)

System_CAPS_pubevent Load

(Inherited from UserControl.)

System_CAPS_pubevent LocationChanged

(Inherited from Control.)

System_CAPS_pubevent LostFocus

(Inherited from Control.)

System_CAPS_pubevent MarginChanged

(Inherited from Control.)

System_CAPS_pubevent MouseCaptureChanged

(Inherited from Control.)

System_CAPS_pubevent MouseClick

(Inherited from Control.)

System_CAPS_pubevent MouseDoubleClick

(Inherited from Control.)

System_CAPS_pubevent MouseDown

(Inherited from Control.)

System_CAPS_pubevent MouseEnter

(Inherited from Control.)

System_CAPS_pubevent MouseHover

(Inherited from Control.)

System_CAPS_pubevent MouseLeave

(Inherited from Control.)

System_CAPS_pubevent MouseMove

(Inherited from Control.)

System_CAPS_pubevent MouseUp

(Inherited from Control.)

System_CAPS_pubevent MouseWheel

(Inherited from Control.)

System_CAPS_pubevent Move

(Inherited from Control.)

System_CAPS_pubevent PaddingChanged

(Inherited from Control.)

System_CAPS_pubevent Paint

(Inherited from Control.)

System_CAPS_pubevent ParentChanged

(Inherited from Control.)

System_CAPS_pubevent PreviewKeyDown

(Inherited from Control.)

System_CAPS_pubevent QueryAccessibilityHelp

(Inherited from Control.)

System_CAPS_pubevent QueryContinueDrag

(Inherited from Control.)

System_CAPS_pubevent RegionChanged

(Inherited from Control.)

System_CAPS_pubevent RequestAction

Obsolete. For internal use

System_CAPS_pubevent RequestActionEvent

Event to request an action of another application to be invoked. Using CAB's EventBroker to publish the event topic.

System_CAPS_pubevent RequestActionStatusEvent

Event to notify ApplicationHost of action status.

System_CAPS_pubevent Resize

(Inherited from Control.)

System_CAPS_pubevent RightToLeftChanged

(Inherited from Control.)

System_CAPS_pubevent Scroll

(Inherited from ScrollableControl.)

System_CAPS_pubevent SizeChanged

(Inherited from Control.)

System_CAPS_pubevent StyleChanged

(Inherited from Control.)

System_CAPS_pubevent SystemColorsChanged

(Inherited from Control.)

System_CAPS_pubevent TabIndexChanged

(Inherited from Control.)

System_CAPS_pubevent TabStopChanged

(Inherited from Control.)

System_CAPS_pubevent TextChanged

(Inherited from Control.)

System_CAPS_pubevent Validated

(Inherited from Control.)

System_CAPS_pubevent Validating

(Inherited from Control.)

System_CAPS_pubevent VisibleChanged

(Inherited from Control.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_protmethod Object.Finalize()

(Inherited from Component.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IContainerControl.ActivateControl(Control)

(Inherited from ContainerControl.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IDropTarget.OnDragDrop(DragEventArgs)

(Inherited from Control.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IDropTarget.OnDragEnter(DragEventArgs)

(Inherited from Control.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IDropTarget.OnDragLeave(EventArgs)

(Inherited from Control.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IDropTarget.OnDragOver(DragEventArgs)

(Inherited from Control.)

Remarks

It would be better to make this an abstract class and have the DoAction( Action ) method also be abstract. However doing so causes the VS 2003 UI designer to not allow drag-n-drop layout which most people will want. Thus, the obvious abstract-ness of this class is not being coded.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Uii.Csr Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright