NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RichControl Class

Defines a base class for controls, which are components with visual representation.

Object
   MarshalByRefObject
      MarshalByRefComponent
         Control
            RichControl

[Visual Basic]
Public Class RichControl
   Inherits Control
   Implements IOleControl, IOleObject, IOleInPlaceObject, _
   IOleInPlaceActiveObject, IViewObject2, IPersist, IPersistStreamInit, _
   IPersistPropertyBag, IPersistStorage, ISynchronizeInvoke
[C#]
public class RichControl : Control, IOleControl, IOleObject,
   IOleInPlaceObject, IOleInPlaceActiveObject, IViewObject2, IPersist,
   IPersistStreamInit, IPersistPropertyBag, IPersistStorage,
   ISynchronizeInvoke
[C++]
public __gc class RichControl : public Control, IOleControl,
   IOleObject, IOleInPlaceObject, IOleInPlaceActiveObject,
   IViewObject2, IPersist, IPersistStreamInit, IPersistPropertyBag,
   IPersistStorage, ISynchronizeInvoke
[JScript]
public class RichControl extends Control, IOleControl, IOleObject,
   IOleInPlaceObject, IOleInPlaceActiveObject, IViewObject2, IPersist,
   IPersistStreamInit, IPersistPropertyBag, IPersistStorage,
   ISynchronizeInvoke

Remarks

This class paints a control, provides context menus, and handles anchoring and docking behavior. It also implements various visual properties such as Font, ForeColor, and BackgroundImage.

Requirements

Namespace: System.WinForms

Assembly: System.WinForms.dll

See Also

RichControl Members | System.WinForms Namespace