Show / Hide Table of Contents

Class ElementHostControl

Represents a host control for lightweight control-like elements. Elements can receive mouse input however they do not support keyboard focus

Inheritance
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
ElementHostControl
PlotPane
TimeScalePane
CellView
Implements
System.Windows.Forms.IDropTarget
System.ComponentModel.ISynchronizeInvoke
System.Windows.Forms.IWin32Window
System.Windows.Forms.IBindableComponent
System.ComponentModel.IComponent
System.IDisposable
Inherited Members
System.Windows.Forms.Control.GetAccessibilityObjectById(System.Int32)
System.Windows.Forms.Control.SetAutoSizeMode(System.Windows.Forms.AutoSizeMode)
System.Windows.Forms.Control.GetAutoSizeMode()
System.Windows.Forms.Control.GetPreferredSize(System.Drawing.Size)
System.Windows.Forms.Control.AccessibilityNotifyClients(System.Windows.Forms.AccessibleEvents, System.Int32)
System.Windows.Forms.Control.AccessibilityNotifyClients(System.Windows.Forms.AccessibleEvents, System.Int32, System.Int32)
System.Windows.Forms.Control.BeginInvoke(System.Delegate)
System.Windows.Forms.Control.BeginInvoke(System.Delegate, System.Object[])
System.Windows.Forms.Control.BringToFront()
System.Windows.Forms.Control.Contains(System.Windows.Forms.Control)
System.Windows.Forms.Control.CreateAccessibilityInstance()
System.Windows.Forms.Control.CreateControlsInstance()
System.Windows.Forms.Control.CreateGraphics()
System.Windows.Forms.Control.CreateHandle()
System.Windows.Forms.Control.CreateControl()
System.Windows.Forms.Control.DefWndProc(System.Windows.Forms.Message)
System.Windows.Forms.Control.DestroyHandle()
System.Windows.Forms.Control.Dispose(System.Boolean)
System.Windows.Forms.Control.DoDragDrop(System.Object, System.Windows.Forms.DragDropEffects)
System.Windows.Forms.Control.DrawToBitmap(System.Drawing.Bitmap, System.Drawing.Rectangle)
System.Windows.Forms.Control.EndInvoke(System.IAsyncResult)
System.Windows.Forms.Control.FindForm()
System.Windows.Forms.Control.GetTopLevel()
System.Windows.Forms.Control.RaiseKeyEvent(System.Object, System.Windows.Forms.KeyEventArgs)
System.Windows.Forms.Control.RaiseMouseEvent(System.Object, System.Windows.Forms.MouseEventArgs)
System.Windows.Forms.Control.Focus()
System.Windows.Forms.Control.FromChildHandle(System.IntPtr)
System.Windows.Forms.Control.FromHandle(System.IntPtr)
System.Windows.Forms.Control.GetChildAtPoint(System.Drawing.Point, System.Windows.Forms.GetChildAtPointSkip)
System.Windows.Forms.Control.GetChildAtPoint(System.Drawing.Point)
System.Windows.Forms.Control.GetContainerControl()
System.Windows.Forms.Control.GetScaledBounds(System.Drawing.Rectangle, System.Drawing.SizeF, System.Windows.Forms.BoundsSpecified)
System.Windows.Forms.Control.GetNextControl(System.Windows.Forms.Control, System.Boolean)
System.Windows.Forms.Control.GetStyle(System.Windows.Forms.ControlStyles)
System.Windows.Forms.Control.Hide()
System.Windows.Forms.Control.InitLayout()
System.Windows.Forms.Control.Invalidate(System.Drawing.Region)
System.Windows.Forms.Control.Invalidate(System.Drawing.Region, System.Boolean)
System.Windows.Forms.Control.Invalidate()
System.Windows.Forms.Control.Invalidate(System.Boolean)
System.Windows.Forms.Control.Invalidate(System.Drawing.Rectangle)
System.Windows.Forms.Control.Invalidate(System.Drawing.Rectangle, System.Boolean)
System.Windows.Forms.Control.Invoke(System.Delegate)
System.Windows.Forms.Control.Invoke(System.Delegate, System.Object[])
System.Windows.Forms.Control.InvokePaint(System.Windows.Forms.Control, System.Windows.Forms.PaintEventArgs)
System.Windows.Forms.Control.InvokePaintBackground(System.Windows.Forms.Control, System.Windows.Forms.PaintEventArgs)
System.Windows.Forms.Control.IsKeyLocked(System.Windows.Forms.Keys)
System.Windows.Forms.Control.IsInputChar(System.Char)
System.Windows.Forms.Control.IsInputKey(System.Windows.Forms.Keys)
System.Windows.Forms.Control.IsMnemonic(System.Char, System.String)
System.Windows.Forms.Control.LogicalToDeviceUnits(System.Int32)
System.Windows.Forms.Control.ScaleBitmapLogicalToDevice(System.Drawing.Bitmap)
System.Windows.Forms.Control.NotifyInvalidate(System.Drawing.Rectangle)
System.Windows.Forms.Control.InvokeOnClick(System.Windows.Forms.Control, System.EventArgs)
System.Windows.Forms.Control.OnAutoSizeChanged(System.EventArgs)
System.Windows.Forms.Control.OnBackColorChanged(System.EventArgs)
System.Windows.Forms.Control.OnBackgroundImageChanged(System.EventArgs)
System.Windows.Forms.Control.OnBackgroundImageLayoutChanged(System.EventArgs)
System.Windows.Forms.Control.OnBindingContextChanged(System.EventArgs)
System.Windows.Forms.Control.OnCausesValidationChanged(System.EventArgs)
System.Windows.Forms.Control.OnContextMenuChanged(System.EventArgs)
System.Windows.Forms.Control.OnContextMenuStripChanged(System.EventArgs)
System.Windows.Forms.Control.OnCursorChanged(System.EventArgs)
System.Windows.Forms.Control.OnDockChanged(System.EventArgs)
System.Windows.Forms.Control.OnEnabledChanged(System.EventArgs)
System.Windows.Forms.Control.OnFontChanged(System.EventArgs)
System.Windows.Forms.Control.OnForeColorChanged(System.EventArgs)
System.Windows.Forms.Control.OnRightToLeftChanged(System.EventArgs)
System.Windows.Forms.Control.OnNotifyMessage(System.Windows.Forms.Message)
System.Windows.Forms.Control.OnParentBackColorChanged(System.EventArgs)
System.Windows.Forms.Control.OnParentBackgroundImageChanged(System.EventArgs)
System.Windows.Forms.Control.OnParentBindingContextChanged(System.EventArgs)
System.Windows.Forms.Control.OnParentCursorChanged(System.EventArgs)
System.Windows.Forms.Control.OnParentEnabledChanged(System.EventArgs)
System.Windows.Forms.Control.OnParentFontChanged(System.EventArgs)
System.Windows.Forms.Control.OnParentForeColorChanged(System.EventArgs)
System.Windows.Forms.Control.OnParentRightToLeftChanged(System.EventArgs)
System.Windows.Forms.Control.OnParentVisibleChanged(System.EventArgs)
System.Windows.Forms.Control.OnPrint(System.Windows.Forms.PaintEventArgs)
System.Windows.Forms.Control.OnTabIndexChanged(System.EventArgs)
System.Windows.Forms.Control.OnTabStopChanged(System.EventArgs)
System.Windows.Forms.Control.OnTextChanged(System.EventArgs)
System.Windows.Forms.Control.OnVisibleChanged(System.EventArgs)
System.Windows.Forms.Control.OnParentChanged(System.EventArgs)
System.Windows.Forms.Control.OnClick(System.EventArgs)
System.Windows.Forms.Control.OnClientSizeChanged(System.EventArgs)
System.Windows.Forms.Control.OnControlAdded(System.Windows.Forms.ControlEventArgs)
System.Windows.Forms.Control.OnControlRemoved(System.Windows.Forms.ControlEventArgs)
System.Windows.Forms.Control.OnCreateControl()
System.Windows.Forms.Control.OnHandleCreated(System.EventArgs)
System.Windows.Forms.Control.OnLocationChanged(System.EventArgs)
System.Windows.Forms.Control.OnHandleDestroyed(System.EventArgs)
System.Windows.Forms.Control.OnDoubleClick(System.EventArgs)
System.Windows.Forms.Control.OnDragEnter(System.Windows.Forms.DragEventArgs)
System.Windows.Forms.Control.OnDragOver(System.Windows.Forms.DragEventArgs)
System.Windows.Forms.Control.OnDragLeave(System.EventArgs)
System.Windows.Forms.Control.OnDragDrop(System.Windows.Forms.DragEventArgs)
System.Windows.Forms.Control.OnGiveFeedback(System.Windows.Forms.GiveFeedbackEventArgs)
System.Windows.Forms.Control.OnEnter(System.EventArgs)
System.Windows.Forms.Control.InvokeGotFocus(System.Windows.Forms.Control, System.EventArgs)
System.Windows.Forms.Control.OnGotFocus(System.EventArgs)
System.Windows.Forms.Control.OnHelpRequested(System.Windows.Forms.HelpEventArgs)
System.Windows.Forms.Control.OnInvalidated(System.Windows.Forms.InvalidateEventArgs)
System.Windows.Forms.Control.OnKeyDown(System.Windows.Forms.KeyEventArgs)
System.Windows.Forms.Control.OnKeyPress(System.Windows.Forms.KeyPressEventArgs)
System.Windows.Forms.Control.OnKeyUp(System.Windows.Forms.KeyEventArgs)
System.Windows.Forms.Control.OnLayout(System.Windows.Forms.LayoutEventArgs)
System.Windows.Forms.Control.OnLeave(System.EventArgs)
System.Windows.Forms.Control.InvokeLostFocus(System.Windows.Forms.Control, System.EventArgs)
System.Windows.Forms.Control.OnLostFocus(System.EventArgs)
System.Windows.Forms.Control.OnMarginChanged(System.EventArgs)
System.Windows.Forms.Control.OnMouseCaptureChanged(System.EventArgs)
System.Windows.Forms.Control.OnMouseEnter(System.EventArgs)
System.Windows.Forms.Control.OnDpiChangedBeforeParent(System.EventArgs)
System.Windows.Forms.Control.OnDpiChangedAfterParent(System.EventArgs)
System.Windows.Forms.Control.OnMouseHover(System.EventArgs)
System.Windows.Forms.Control.OnMove(System.EventArgs)
System.Windows.Forms.Control.OnPaddingChanged(System.EventArgs)
System.Windows.Forms.Control.OnPaintBackground(System.Windows.Forms.PaintEventArgs)
System.Windows.Forms.Control.OnQueryContinueDrag(System.Windows.Forms.QueryContinueDragEventArgs)
System.Windows.Forms.Control.OnRegionChanged(System.EventArgs)
System.Windows.Forms.Control.OnResize(System.EventArgs)
System.Windows.Forms.Control.OnPreviewKeyDown(System.Windows.Forms.PreviewKeyDownEventArgs)
System.Windows.Forms.Control.OnSizeChanged(System.EventArgs)
System.Windows.Forms.Control.OnChangeUICues(System.Windows.Forms.UICuesEventArgs)
System.Windows.Forms.Control.OnStyleChanged(System.EventArgs)
System.Windows.Forms.Control.OnSystemColorsChanged(System.EventArgs)
System.Windows.Forms.Control.OnValidating(System.ComponentModel.CancelEventArgs)
System.Windows.Forms.Control.OnValidated(System.EventArgs)
System.Windows.Forms.Control.RescaleConstantsForDpi(System.Int32, System.Int32)
System.Windows.Forms.Control.PerformLayout()
System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control, System.String)
System.Windows.Forms.Control.PointToClient(System.Drawing.Point)
System.Windows.Forms.Control.PointToScreen(System.Drawing.Point)
System.Windows.Forms.Control.PreProcessMessage(System.Windows.Forms.Message)
System.Windows.Forms.Control.PreProcessControlMessage(System.Windows.Forms.Message)
System.Windows.Forms.Control.ProcessCmdKey(System.Windows.Forms.Message, System.Windows.Forms.Keys)
System.Windows.Forms.Control.ProcessDialogChar(System.Char)
System.Windows.Forms.Control.ProcessDialogKey(System.Windows.Forms.Keys)
System.Windows.Forms.Control.ProcessKeyEventArgs(System.Windows.Forms.Message)
System.Windows.Forms.Control.ProcessKeyMessage(System.Windows.Forms.Message)
System.Windows.Forms.Control.ProcessKeyPreview(System.Windows.Forms.Message)
System.Windows.Forms.Control.ProcessMnemonic(System.Char)
System.Windows.Forms.Control.RaiseDragEvent(System.Object, System.Windows.Forms.DragEventArgs)
System.Windows.Forms.Control.RaisePaintEvent(System.Object, System.Windows.Forms.PaintEventArgs)
System.Windows.Forms.Control.RecreateHandle()
System.Windows.Forms.Control.RectangleToClient(System.Drawing.Rectangle)
System.Windows.Forms.Control.RectangleToScreen(System.Drawing.Rectangle)
System.Windows.Forms.Control.ReflectMessage(System.IntPtr, System.Windows.Forms.Message)
System.Windows.Forms.Control.Refresh()
System.Windows.Forms.Control.ResetMouseEventArgs()
System.Windows.Forms.Control.ResetText()
System.Windows.Forms.Control.ResumeLayout()
System.Windows.Forms.Control.ResumeLayout(System.Boolean)
System.Windows.Forms.Control.Scale(System.Drawing.SizeF)
System.Windows.Forms.Control.ScaleControl(System.Drawing.SizeF, System.Windows.Forms.BoundsSpecified)
System.Windows.Forms.Control.Select()
System.Windows.Forms.Control.Select(System.Boolean, System.Boolean)
System.Windows.Forms.Control.SelectNextControl(System.Windows.Forms.Control, System.Boolean, System.Boolean, System.Boolean, System.Boolean)
System.Windows.Forms.Control.SendToBack()
System.Windows.Forms.Control.SetBounds(System.Int32, System.Int32, System.Int32, System.Int32)
System.Windows.Forms.Control.SetBounds(System.Int32, System.Int32, System.Int32, System.Int32, System.Windows.Forms.BoundsSpecified)
System.Windows.Forms.Control.SetBoundsCore(System.Int32, System.Int32, System.Int32, System.Int32, System.Windows.Forms.BoundsSpecified)
System.Windows.Forms.Control.SetClientSizeCore(System.Int32, System.Int32)
System.Windows.Forms.Control.SizeFromClientSize(System.Drawing.Size)
System.Windows.Forms.Control.SetStyle(System.Windows.Forms.ControlStyles, System.Boolean)
System.Windows.Forms.Control.SetTopLevel(System.Boolean)
System.Windows.Forms.Control.SetVisibleCore(System.Boolean)
System.Windows.Forms.Control.RtlTranslateAlignment(System.Windows.Forms.HorizontalAlignment)
System.Windows.Forms.Control.RtlTranslateAlignment(System.Windows.Forms.LeftRightAlignment)
System.Windows.Forms.Control.RtlTranslateAlignment(System.Drawing.ContentAlignment)
System.Windows.Forms.Control.RtlTranslateHorizontal(System.Windows.Forms.HorizontalAlignment)
System.Windows.Forms.Control.RtlTranslateLeftRight(System.Windows.Forms.LeftRightAlignment)
System.Windows.Forms.Control.RtlTranslateContent(System.Drawing.ContentAlignment)
System.Windows.Forms.Control.Show()
System.Windows.Forms.Control.SuspendLayout()
System.Windows.Forms.Control.Update()
System.Windows.Forms.Control.UpdateBounds()
System.Windows.Forms.Control.UpdateBounds(System.Int32, System.Int32, System.Int32, System.Int32)
System.Windows.Forms.Control.UpdateBounds(System.Int32, System.Int32, System.Int32, System.Int32, System.Int32, System.Int32)
System.Windows.Forms.Control.UpdateZOrder()
System.Windows.Forms.Control.UpdateStyles()
System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message)
System.Windows.Forms.Control.System.Windows.Forms.IDropTarget.OnDragEnter(System.Windows.Forms.DragEventArgs)
System.Windows.Forms.Control.System.Windows.Forms.IDropTarget.OnDragOver(System.Windows.Forms.DragEventArgs)
System.Windows.Forms.Control.System.Windows.Forms.IDropTarget.OnDragLeave(System.EventArgs)
System.Windows.Forms.Control.System.Windows.Forms.IDropTarget.OnDragDrop(System.Windows.Forms.DragEventArgs)
System.Windows.Forms.Control.OnImeModeChanged(System.EventArgs)
System.Windows.Forms.Control.AccessibilityObject
System.Windows.Forms.Control.AccessibleDefaultActionDescription
System.Windows.Forms.Control.AccessibleDescription
System.Windows.Forms.Control.AccessibleName
System.Windows.Forms.Control.AccessibleRole
System.Windows.Forms.Control.AllowDrop
System.Windows.Forms.Control.Anchor
System.Windows.Forms.Control.AutoScrollOffset
System.Windows.Forms.Control.LayoutEngine
System.Windows.Forms.Control.BackColor
System.Windows.Forms.Control.BackgroundImage
System.Windows.Forms.Control.BackgroundImageLayout
System.Windows.Forms.Control.BindingContext
System.Windows.Forms.Control.Bottom
System.Windows.Forms.Control.Bounds
System.Windows.Forms.Control.CanFocus
System.Windows.Forms.Control.CanRaiseEvents
System.Windows.Forms.Control.CanSelect
System.Windows.Forms.Control.Capture
System.Windows.Forms.Control.CausesValidation
System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls
System.Windows.Forms.Control.ClientRectangle
System.Windows.Forms.Control.ClientSize
System.Windows.Forms.Control.CompanyName
System.Windows.Forms.Control.ContainsFocus
System.Windows.Forms.Control.ContextMenu
System.Windows.Forms.Control.ContextMenuStrip
System.Windows.Forms.Control.Controls
System.Windows.Forms.Control.Created
System.Windows.Forms.Control.CreateParams
System.Windows.Forms.Control.Cursor
System.Windows.Forms.Control.DataBindings
System.Windows.Forms.Control.DefaultBackColor
System.Windows.Forms.Control.DefaultCursor
System.Windows.Forms.Control.DefaultFont
System.Windows.Forms.Control.DefaultForeColor
System.Windows.Forms.Control.DefaultMargin
System.Windows.Forms.Control.DefaultMaximumSize
System.Windows.Forms.Control.DefaultMinimumSize
System.Windows.Forms.Control.DefaultPadding
System.Windows.Forms.Control.DefaultSize
System.Windows.Forms.Control.DeviceDpi
System.Windows.Forms.Control.DisplayRectangle
System.Windows.Forms.Control.IsDisposed
System.Windows.Forms.Control.Disposing
System.Windows.Forms.Control.Dock
System.Windows.Forms.Control.DoubleBuffered
System.Windows.Forms.Control.Enabled
System.Windows.Forms.Control.Focused
System.Windows.Forms.Control.Font
System.Windows.Forms.Control.FontHeight
System.Windows.Forms.Control.ForeColor
System.Windows.Forms.Control.Handle
System.Windows.Forms.Control.HasChildren
System.Windows.Forms.Control.Height
System.Windows.Forms.Control.IsHandleCreated
System.Windows.Forms.Control.InvokeRequired
System.Windows.Forms.Control.IsAccessible
System.Windows.Forms.Control.IsMirrored
System.Windows.Forms.Control.Left
System.Windows.Forms.Control.Location
System.Windows.Forms.Control.Margin
System.Windows.Forms.Control.MaximumSize
System.Windows.Forms.Control.MinimumSize
System.Windows.Forms.Control.ModifierKeys
System.Windows.Forms.Control.MouseButtons
System.Windows.Forms.Control.MousePosition
System.Windows.Forms.Control.Name
System.Windows.Forms.Control.Parent
System.Windows.Forms.Control.ProductName
System.Windows.Forms.Control.ProductVersion
System.Windows.Forms.Control.RecreatingHandle
System.Windows.Forms.Control.Region
System.Windows.Forms.Control.RenderRightToLeft
System.Windows.Forms.Control.ResizeRedraw
System.Windows.Forms.Control.Right
System.Windows.Forms.Control.RightToLeft
System.Windows.Forms.Control.ScaleChildren
System.Windows.Forms.Control.Site
System.Windows.Forms.Control.Size
System.Windows.Forms.Control.TabIndex
System.Windows.Forms.Control.TabStop
System.Windows.Forms.Control.Tag
System.Windows.Forms.Control.Text
System.Windows.Forms.Control.Top
System.Windows.Forms.Control.TopLevelControl
System.Windows.Forms.Control.ShowKeyboardCues
System.Windows.Forms.Control.ShowFocusCues
System.Windows.Forms.Control.UseWaitCursor
System.Windows.Forms.Control.Visible
System.Windows.Forms.Control.Width
System.Windows.Forms.Control.PreferredSize
System.Windows.Forms.Control.Padding
System.Windows.Forms.Control.CanEnableIme
System.Windows.Forms.Control.DefaultImeMode
System.Windows.Forms.Control.ImeMode
System.Windows.Forms.Control.ImeModeBase
System.Windows.Forms.Control.PropagatingImeMode
System.Windows.Forms.Control.BackColorChanged
System.Windows.Forms.Control.BackgroundImageChanged
System.Windows.Forms.Control.BackgroundImageLayoutChanged
System.Windows.Forms.Control.BindingContextChanged
System.Windows.Forms.Control.CausesValidationChanged
System.Windows.Forms.Control.ClientSizeChanged
System.Windows.Forms.Control.ContextMenuChanged
System.Windows.Forms.Control.ContextMenuStripChanged
System.Windows.Forms.Control.CursorChanged
System.Windows.Forms.Control.DockChanged
System.Windows.Forms.Control.EnabledChanged
System.Windows.Forms.Control.FontChanged
System.Windows.Forms.Control.ForeColorChanged
System.Windows.Forms.Control.LocationChanged
System.Windows.Forms.Control.MarginChanged
System.Windows.Forms.Control.RegionChanged
System.Windows.Forms.Control.RightToLeftChanged
System.Windows.Forms.Control.SizeChanged
System.Windows.Forms.Control.TabIndexChanged
System.Windows.Forms.Control.TabStopChanged
System.Windows.Forms.Control.TextChanged
System.Windows.Forms.Control.VisibleChanged
System.Windows.Forms.Control.Click
System.Windows.Forms.Control.ControlAdded
System.Windows.Forms.Control.ControlRemoved
System.Windows.Forms.Control.DragDrop
System.Windows.Forms.Control.DragEnter
System.Windows.Forms.Control.DragOver
System.Windows.Forms.Control.DragLeave
System.Windows.Forms.Control.GiveFeedback
System.Windows.Forms.Control.HandleCreated
System.Windows.Forms.Control.HandleDestroyed
System.Windows.Forms.Control.HelpRequested
System.Windows.Forms.Control.Invalidated
System.Windows.Forms.Control.PaddingChanged
System.Windows.Forms.Control.Paint
System.Windows.Forms.Control.QueryContinueDrag
System.Windows.Forms.Control.QueryAccessibilityHelp
System.Windows.Forms.Control.DoubleClick
System.Windows.Forms.Control.Enter
System.Windows.Forms.Control.GotFocus
System.Windows.Forms.Control.KeyDown
System.Windows.Forms.Control.KeyPress
System.Windows.Forms.Control.KeyUp
System.Windows.Forms.Control.Layout
System.Windows.Forms.Control.Leave
System.Windows.Forms.Control.LostFocus
System.Windows.Forms.Control.MouseClick
System.Windows.Forms.Control.MouseDoubleClick
System.Windows.Forms.Control.MouseCaptureChanged
System.Windows.Forms.Control.MouseDown
System.Windows.Forms.Control.MouseEnter
System.Windows.Forms.Control.MouseLeave
System.Windows.Forms.Control.DpiChangedBeforeParent
System.Windows.Forms.Control.DpiChangedAfterParent
System.Windows.Forms.Control.MouseHover
System.Windows.Forms.Control.MouseMove
System.Windows.Forms.Control.MouseUp
System.Windows.Forms.Control.MouseWheel
System.Windows.Forms.Control.Move
System.Windows.Forms.Control.PreviewKeyDown
System.Windows.Forms.Control.Resize
System.Windows.Forms.Control.ChangeUICues
System.Windows.Forms.Control.StyleChanged
System.Windows.Forms.Control.SystemColorsChanged
System.Windows.Forms.Control.Validating
System.Windows.Forms.Control.Validated
System.Windows.Forms.Control.ParentChanged
System.Windows.Forms.Control.ImeModeChanged
System.ComponentModel.Component.Dispose()
System.ComponentModel.Component.GetService(System.Type)
System.ComponentModel.Component.ToString()
System.ComponentModel.Component.Events
System.ComponentModel.Component.Container
System.ComponentModel.Component.DesignMode
System.ComponentModel.Component.Disposed
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.CreateObjRef(System.Type)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: NFX.WinForms.Elements
Assembly: NFX.WinForms.dll
Syntax
public class ElementHostControl : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IArrangedElement, IBindableComponent, IComponent, IDisposable

Constructors

ElementHostControl()

Declaration
public ElementHostControl()

Fields

MIN_ZOOM

Declaration
public const float MIN_ZOOM = 0.05F
Field Value
Type Description
System.Single

Properties

CurrentFontHeight

Returns pixel height of current font

Declaration
[Browsable(false)]
public int CurrentFontHeight { get; }
Property Value
Type Description
System.Int32

Elements

Provides access to hosted elements

Declaration
[Browsable(false)]
public IEnumerable<Element> Elements { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<Element>

MouseEnteredElement

Returns mouse-entered element or null

Declaration
[Browsable(false)]
public Element MouseEnteredElement { get; }
Property Value
Type Description
Element

Zoom

Provides access to zoom coefficient

Declaration
[Browsable(false)]
public float Zoom { get; set; }
Property Value
Type Description
System.Single

Methods

DeleteAllElements(Func<Element, Boolean>)

Deletes all elements efficiently. Calls Dispose() for each element

Declaration
public void DeleteAllElements(Func<Element, bool> keepFilter = null)
Parameters
Type Name Description
System.Func<Element, System.Boolean> keepFilter

GetClickableElementAt(Point)

Finds an element (if any) which is clickable at a certain point

Declaration
public Element GetClickableElementAt(Point point)
Parameters
Type Name Description
System.Drawing.Point point
Returns
Type Description
Element

GetElementsInRegion(Rectangle)

Returns list of elements inside specified region. Elements are returned in registration order

Declaration
public IEnumerable<Element> GetElementsInRegion(Rectangle region)
Parameters
Type Name Description
System.Drawing.Rectangle region
Returns
Type Description
System.Collections.Generic.IEnumerable<Element>

GetElementsInRegion(Rectangle, ElementZOrder)

Returns list of elements inside specified region. Elements are returned in registration order

Declaration
public IEnumerable<Element> GetElementsInRegion(Rectangle region, ElementZOrder order)
Parameters
Type Name Description
System.Drawing.Rectangle region
ElementZOrder order
Returns
Type Description
System.Collections.Generic.IEnumerable<Element>

GetElementsOutOfRegion(Rectangle)

Returns list of elements that are completely outside of region

Declaration
public IEnumerable<Element> GetElementsOutOfRegion(Rectangle region)
Parameters
Type Name Description
System.Drawing.Rectangle region
Returns
Type Description
System.Collections.Generic.IEnumerable<Element>

OnMouseClick(MouseEventArgs)

Declaration
protected override void OnMouseClick(MouseEventArgs e)
Parameters
Type Name Description
System.Windows.Forms.MouseEventArgs e
Overrides
System.Windows.Forms.Control.OnMouseClick(System.Windows.Forms.MouseEventArgs)

OnMouseDoubleClick(MouseEventArgs)

Declaration
protected override void OnMouseDoubleClick(MouseEventArgs e)
Parameters
Type Name Description
System.Windows.Forms.MouseEventArgs e
Overrides
System.Windows.Forms.Control.OnMouseDoubleClick(System.Windows.Forms.MouseEventArgs)

OnMouseDown(MouseEventArgs)

Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
Type Name Description
System.Windows.Forms.MouseEventArgs e
Overrides
System.Windows.Forms.Control.OnMouseDown(System.Windows.Forms.MouseEventArgs)

OnMouseLeave(EventArgs)

Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
Type Name Description
System.EventArgs e
Overrides
System.Windows.Forms.Control.OnMouseLeave(System.EventArgs)

OnMouseMove(MouseEventArgs)

Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Type Name Description
System.Windows.Forms.MouseEventArgs e
Overrides
System.Windows.Forms.Control.OnMouseMove(System.Windows.Forms.MouseEventArgs)

OnMouseUp(MouseEventArgs)

Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
Type Name Description
System.Windows.Forms.MouseEventArgs e
Overrides
System.Windows.Forms.Control.OnMouseUp(System.Windows.Forms.MouseEventArgs)

OnMouseWheel(MouseEventArgs)

Declaration
protected override void OnMouseWheel(MouseEventArgs e)
Parameters
Type Name Description
System.Windows.Forms.MouseEventArgs e
Overrides
System.Windows.Forms.Control.OnMouseWheel(System.Windows.Forms.MouseEventArgs)

OnPaint(PaintEventArgs)

Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
Type Name Description
System.Windows.Forms.PaintEventArgs e
Overrides
System.Windows.Forms.Control.OnPaint(System.Windows.Forms.PaintEventArgs)

ScrollElementsBy(Int32, Int32, Int32, Int32, Boolean)

Scrolls elements by delta x/y and destroys those elements that are completely out of the viewport.

Declaration
public void ScrollElementsBy(int offsetx, int offsety, int dx, int dy, bool destroy)
Parameters
Type Name Description
System.Int32 offsetx
System.Int32 offsety
System.Int32 dx
System.Int32 dy
System.Boolean destroy

UpdateZoom(Single)

Updates zoom value without invalidation of the whole control, returns true if invalidation is needed(value changed)

Declaration
public bool UpdateZoom(float value)
Parameters
Type Name Description
System.Single value
Returns
Type Description
System.Boolean

Implements

System.Windows.Forms.IDropTarget
System.ComponentModel.ISynchronizeInvoke
System.Windows.Forms.IWin32Window
System.Windows.Forms.IBindableComponent
System.ComponentModel.IComponent
System.IDisposable

Extension Methods

MiscUtils.NonNull<T>(T, Func<Exception>, String)
ObjectValueConversion.AsString(Object, String, ConvertErrorHandling)
ObjectValueConversion.AsNonNullOrEmptyString(Object)
ObjectValueConversion.AsLaconicConfig(Object, ConfigSectionNode, String, ConvertErrorHandling)
ObjectValueConversion.AsJSONConfig(Object, ConfigSectionNode, String, ConvertErrorHandling)
ObjectValueConversion.AsXMLConfig(Object, ConfigSectionNode, ConvertErrorHandling)
ObjectValueConversion.AsChar(Object, Char, ConvertErrorHandling)
ObjectValueConversion.AsNullableChar(Object, Nullable<Char>, ConvertErrorHandling)
ObjectValueConversion.AsByte(Object, Byte, ConvertErrorHandling)
ObjectValueConversion.AsNullableByte(Object, Nullable<Byte>, ConvertErrorHandling)
ObjectValueConversion.AsSByte(Object, SByte, ConvertErrorHandling)
ObjectValueConversion.AsNullableSByte(Object, Nullable<SByte>, ConvertErrorHandling)
ObjectValueConversion.AsShort(Object, Int16, ConvertErrorHandling)
ObjectValueConversion.AsNullableShort(Object, Nullable<Int16>, ConvertErrorHandling)
ObjectValueConversion.AsUShort(Object, UInt16, ConvertErrorHandling)
ObjectValueConversion.AsNullableUShort(Object, Nullable<UInt16>, ConvertErrorHandling)
ObjectValueConversion.AsInt(Object, Int32, ConvertErrorHandling)
ObjectValueConversion.AsNullableInt(Object, Nullable<Int32>, ConvertErrorHandling)
ObjectValueConversion.AsUInt(Object, UInt32, ConvertErrorHandling)
ObjectValueConversion.AsNullableUInt(Object, Nullable<UInt32>, ConvertErrorHandling)
ObjectValueConversion.AsLong(Object, Int64, ConvertErrorHandling)
ObjectValueConversion.AsNullableLong(Object, Nullable<Int64>, ConvertErrorHandling)
ObjectValueConversion.AsULong(Object, UInt64, ConvertErrorHandling)
ObjectValueConversion.AsNullableULong(Object, Nullable<UInt64>, ConvertErrorHandling)
ObjectValueConversion.AsDouble(Object, Double, ConvertErrorHandling)
ObjectValueConversion.AsNullableDouble(Object, Nullable<Double>, ConvertErrorHandling)
ObjectValueConversion.AsFloat(Object, Single, ConvertErrorHandling)
ObjectValueConversion.AsNullableFloat(Object, Nullable<Single>, ConvertErrorHandling)
ObjectValueConversion.AsDecimal(Object, Decimal, ConvertErrorHandling)
ObjectValueConversion.AsNullableDecimal(Object, Nullable<Decimal>, ConvertErrorHandling)
ObjectValueConversion.AsBool(Object, Boolean, ConvertErrorHandling)
ObjectValueConversion.AsNullableBool(Object, Nullable<Boolean>, ConvertErrorHandling)
ObjectValueConversion.AsGUID(Object, Guid, ConvertErrorHandling)
ObjectValueConversion.AsNullableGUID(Object, Nullable<Guid>, ConvertErrorHandling)
ObjectValueConversion.AsDateTime(Object)
ObjectValueConversion.AsDateTime(Object, DateTime, ConvertErrorHandling)
ObjectValueConversion.AsNullableDateTime(Object, Nullable<DateTime>, ConvertErrorHandling)
ObjectValueConversion.AsGDID(Object)
ObjectValueConversion.AsGDID(Object, GDID, ConvertErrorHandling)
ObjectValueConversion.AsNullableGDID(Object, Nullable<GDID>, ConvertErrorHandling)
ObjectValueConversion.AsGDIDSymbol(Object)
ObjectValueConversion.AsGDIDSymbol(Object, GDIDSymbol, ConvertErrorHandling)
ObjectValueConversion.AsNullableGDIDSymbol(Object, Nullable<GDIDSymbol>, ConvertErrorHandling)
ObjectValueConversion.AsTimeSpan(Object)
ObjectValueConversion.AsTimeSpan(Object, TimeSpan, ConvertErrorHandling)
ObjectValueConversion.AsNullableTimeSpan(Object, Nullable<TimeSpan>, ConvertErrorHandling)
ObjectValueConversion.AsEnum<TEnum>(Object, TEnum, ConvertErrorHandling)
ObjectValueConversion.AsNullableEnum<TEnum>(Object, Nullable<TEnum>, ConvertErrorHandling)
ObjectValueConversion.AsUri(Object, Uri, ConvertErrorHandling)
JSONExtensions.ToJSON(Object, JSONWritingOptions)
JSONExtensions.ToJSON(Object, TextWriter, JSONWritingOptions)
JSONExtensions.ToJSON(Object, Stream, JSONWritingOptions, Encoding)
ErlObject.ToErlObject(Object)
ErlObject.ToErlObject(Object, ErlTypeOrder, Boolean)
Back to top Copyright © 2006-2018 Agnicore Inc
Generated by DocFX