Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Parity] Control #23

Open
jpobst opened this issue May 25, 2020 · 0 comments
Open

[Parity] Control #23

jpobst opened this issue May 25, 2020 · 0 comments
Labels
epic This represents a large amount of work and will likely involve many issues or PRs.

Comments

@jpobst
Copy link
Collaborator

jpobst commented May 25, 2020

Tracks parity with System.Windows.Forms.Control.

Legend

  • Checked: Implemented (optional description pointing elsewhere if moved or renamed)
  • Unchecked: To be implemented
  • Strikethrough: Do not plan on implementing

Constuctors

  • Control ()
  • Control (Control, String)
    • This feels unnecessary now that we have object initializers.
  • Control (Control, String, Int32, Int32, Int32, Int32)
    • This feels unnecessary now that we have object initializers.
  • Control (String)
    • This feels unnecessary now that we have object initializers.
  • Control (String, Int32, Int32, Int32, Int32)
    • This feels unnecessary now that we have object initializers.

Properties

  • AccessbilityObject
  • AccessibleDefaultActionDescription
  • AccessibleDescription
  • AccessibleName
  • AccessibleRole
  • AllowDrop
  • Anchor
  • AutoScrollOffset
  • AutoSize
  • BackColor
    • Control.Style.BackgroundColor
  • BackgroundImage
  • BackgroundImageLayout
  • BindingContext
  • Bottom
  • Bounds
  • CanEnableIme
  • CanFocus
  • CanRaiseEvents
    • Only used for ActiveX
  • CanSelect
  • Capture
  • CausesValidation
  • CheckForIllegalCrossThreadCalls
  • ClientRectangle
  • ClientSize
  • CompanyName
    • Unneeded
  • Container
    • Unneeded
  • ContainsFocus
  • ContextMenuStrip
    • Control.ContextMenu
  • Controls
  • Created
    • Unneeded
  • CreateParams
    • Unneeded
  • Cursor
  • DataBindings
  • DefaultBackColor
    • Control.Style.BackgroundColor
  • DefaultCursor
  • DefaultFont
    • Control.Style.Font
  • DefaultForeColor
    • Control.Style.ForegroundColor
  • DefaultImeMode
  • DefaultMargin
  • DefaultMaximumSize
  • DefaultMinimumSize
  • DefaultPadding
  • DefaultSize
  • DeviceDpi
  • DisplayRectangle
  • Disposing
  • Dock
  • DoubleBuffered
    • All controls are double buffered
  • Enabled
  • Focused
  • Font
    • Control.Style.Font
  • FontHeight
    • Control.Style.FontSize
  • ForeColor
    • Control.Style.ForegroundColor
  • Handle
    • Controls do not use native OS handles
  • HasChildren
  • Height
  • ImeMode
  • ImeModeBase
  • InvokeRequired
  • IsAccessible
  • IsDisposed
  • IsHandleCreated
    • Controls do not use native OS handles
  • IsMirrored
  • LayoutEngine
  • Left
  • Location
  • Margin
  • MaximumSize
  • MinimumSize
  • ModifierKeys
  • MouseButtons
  • MousePosition
  • Name
  • Padding
  • Parent
  • PreferredSize
  • ProductName
    • Unneeded
  • ProductVersion
    • Unneeded
  • PropagatingImeMode
  • RecreatingHandle
    • Controls do not use native OS handles
  • Region
    • Probably won't support irregularly shaped controls
  • RenderRightToLeft
    • Obsolete
  • ResizeRedraw
  • Right
  • RightToLeft
  • ScaleChildren
  • ShowFocusCues
  • ShowKeyboardCues
  • Site
    • Unneeded
  • Size
  • TabIndex
  • TabStop
  • Tag
  • Text
  • Top
  • TopLevelControl
    • Unneeded since we do not support parenting a form to a control
  • UseWaitCursor
  • Visible
  • Width
  • WindowTarget
    • Unneeded

Methods

  • AccessibilityNotifyClients (AccessibleEvents, Int32)
  • AccessibilityNotifyClients (AccessibleEvents, Int32, Int32)
  • BeginInvoke (Delegate)
  • BeginInvoke (Delegate, Object[])
  • BringToFront ()
  • Contains (Control)
  • CreateAccessibilityInstance ()
  • CreateControl ()
    • Controls do not use native OS handles
  • CreateControlsInstance ()
    • Handled automatically
  • CreateGraphics ()
  • CreateHandle ()
    • Controls do not use native OS handles
  • DefWndProc (Message&)
    • Controls do not use native OS messages
  • DestroyHandle ()
    • Controls do not use native OS handles
  • Dispose (Boolean)
  • DoDragDrop (Object, DragDropEffects)
  • DrawToBitmap (Bitmap, Rectangle)
  • EndInvoke (IAsyncResult)
  • FindForm ()
  • Focus ()
  • FromChildHandle (IntPtr)
    • Controls do not use native OS handles
  • FromHandle (IntPtr)
    • Controls do not use native OS handles
  • GetAccessibilityObjectById (Int32)
  • GetAutoSizeMode ()
  • GetChildAtPoint (Point, GetChildAtPointSkip)
  • GetChildAtPoint (Point)
  • GetContainerControl ()
  • GetNextControl (Control, Boolean)
  • GetPreferredSize (Size)
  • GetScaledBounds (Rectangle, SizeF, BoundsSpecified)
  • GetStyle (ControlStyles)
  • GetTopLevel ()
    • We don't support top level control (controls not in a form)
  • Hide ()
  • InitLayout ()
  • Invalidate (Region)
    • Probably won't support irregularly shaped controls
  • Invalidate (Region, Boolean)
    • Probably won't support irregularly shaped controls
  • Invalidate ()
  • Invalidate (Boolean)
  • Invalidate (Rectangle)
  • Invalidate (Rectangle, Boolean)
  • Invoke (Delegate)
  • Invoke (Delegate, Object[])
  • InvokeGotFocus (Control, EventArgs)
  • InvokeLostFocus (Control, EventArgs)
  • InvokeOnClick (Control, EventArgs)
  • InvokePaint (Control, PaintEventArgs)
  • InvokePaintBackground (Control, PaintEventArgs)
  • IsInputChar (Char)
  • IsInputKey (Keys)
  • IsKeyLocked (Keys)
  • IsMnemonic (Char, String)
  • LogicalToDeviceUnits (Int32)
  • LogicalToDeviceUnits (Size)
  • NotifyInvalidate (Rectangle)
  • OnAutoSizeChanged (EventArgs)
  • OnBackColorChanged (EventArgs)
  • OnBackgroundImageChanged (EventArgs)
  • OnBackgroundImageLayoutChanged (EventArgs)
  • OnBindingContextChanged (EventArgs)
  • OnCausesValidationChanged (EventArgs)
  • OnChangeUICues (UICuesEventArgs)
  • OnClick (EventArgs)
  • OnClientSizeChanged (EventArgs)
  • OnContextMenuStripChanged (EventArgs)
  • OnControlAdded (ControlEventArgs)
  • OnControlRemoved (ControlEventArgs)
  • OnCreateControl ()
    • Controls do not use native OS handles
  • OnCursorChanged (EventArgs)
  • OnDockChanged (EventArgs)
  • OnDoubleClick (EventArgs)
  • OnDpiChangedAfterParent (EventArgs)
  • OnDpiChangedBeforeParent (EventArgs)
  • OnDragDrop (DragEventArgs)
  • OnDragEnter (DragEventArgs)
  • OnDragLeave (EventArgs)
  • OnDragOver (DragEventArgs)
  • OnEnabledChanged (EventArgs)
  • OnEnter (EventArgs)
  • OnFontChanged (EventArgs)
  • OnForeColorChanged (EventArgs)
  • OnGiveFeedback (GiveFeedbackEventArgs)
  • OnGotFocus (EventArgs)
  • OnHandleCreated (EventArgs)
    • Controls do not use native OS handles
  • OnHandleDestroyed (EventArgs)
    • Controls do not use native OS handles
  • OnHelpRequested (HelpEventArgs)
  • OnImeModeChanged (EventArgs)
  • OnInvalidated (InvalidateEventArgs)
  • OnKeyDown (KeyEventArgs)
  • OnKeyPress (KeyPressEventArgs)
  • OnKeyUp (KeyEventArgs)
  • OnLayout (LayoutEventArgs)
  • OnLeave (EventArgs)
  • OnLocationChanged (EventArgs)
  • OnLostFocus (EventArgs)
  • OnMarginChanged (EventArgs)
  • OnMouseCaptureChanged (EventArgs)
  • OnMouseClick (MouseEventArgs)
    • Redundant with OnClick
  • OnMouseDoubleClick (MouseEventArgs)
    • Redundant with OnDoubleClick
  • OnMouseDown (MouseEventArgs)
  • OnMouseEnter (EventArgs)
  • OnMouseHover (EventArgs)
  • OnMouseLeave (EventArgs)
  • OnMouseMove (MouseEventArgs)
  • OnMouseUp (MouseEventArgs)
  • OnMouseWheel (MouseEventArgs)
  • OnMove (EventArgs)
  • OnNotifyMessage (Message)
    • Controls do not use native OS messages
  • OnPaddingChanged (EventArgs)
  • OnPaint (PaintEventArgs)
  • OnPaintBackground (PaintEventArgs)
  • OnParentBackColorChanged (EventArgs)
  • OnParentBackgroundImageChanged (EventArgs)
  • OnParentBindingContextChanged (EventArgs)
  • OnParentChanged (EventArgs)
  • OnParentCursorChanged (EventArgs)
  • OnParentEnabledChanged (EventArgs)
  • OnParentFontChanged (EventArgs)
  • OnParentForeColorChanged (EventArgs)
  • OnParentRightToLeftChanged (EventArgs)
  • OnParentVisibleChanged (EventArgs)
  • OnPreviewKeyDown (PreviewKeyDownEventArgs)
  • OnPrint (PaintEventArgs)
  • OnQueryContinueDrag (QueryContinueDragEventArgs)
  • OnRegionChanged (EventArgs)
    • Probably won't support irregularly shaped controls
  • OnResize (EventArgs)
  • OnRightToLeftChanged (EventArgs)
  • OnSizeChanged (EventArgs)
  • OnStyleChanged (EventArgs)
  • OnSystemColorsChanged (EventArgs)
  • OnTabIndexChanged (EventArgs)
  • OnTabStopChanged (EventArgs)
  • OnTextChanged (EventArgs)
  • OnValidated (EventArgs)
  • OnValidating (CancelEventArgs)
  • OnVisibleChanged (EventArgs)
  • PerformLayout ()
  • PerformLayout (Control, String)
  • PointToClient (Point)
  • PointToScreen (Point)
  • PreProcessControlMessage (Message&)
    • Controls do not use native OS messages
  • PreProcessMessage (Message&)
    • Controls do not use native OS messages
  • ProcessCmdKey (Message&, Keys)
  • ProcessDialogChar (Char)
  • ProcessDialogKey (Keys)
  • ProcessKeyEventArgs (Message&)
    • Controls do not use native OS messages
  • ProcessKeyMessage (Message&)
    • Controls do not use native OS messages
  • ProcessKeyPreview (Message&)
    • Controls do not use native OS messages
  • ProcessMnemonic (Char)
  • RaiseDragEvent (Object, DragEventArgs)
  • RaiseKeyEvent (Object, KeyEventArgs)
  • RaiseMouseEvent (Object, MouseEventArgs)
  • RaisePaintEvent (Object, PaintEventArgs)
  • RecreateHandle ()
    • Controls do not use native OS handles
  • RectangleToClient (Rectangle)
  • RectangleToScreen (Rectangle)
  • ReflectMessage (IntPtr, Message&)
    • Controls do not use native OS messages
  • Refresh ()
    • Probably won't support this
  • RescaleConstantsForDpi (Int32, Int32)
  • ResetBackColor ()
    • Used by designer
  • ResetBindings ()
    • Used by designer
  • ResetCursor ()
    • Used by designer
  • ResetFont ()
    • Used by designer
  • ResetForeColor ()
    • Used by designer
  • ResetImeMode ()
    • Used by designer
  • ResetMouseEventArgs ()
    • Used by designer
  • ResetRightToLeft ()
    • Used by designer
  • ResetText ()
    • Used by designer
  • ResumeLayout ()
  • ResumeLayout (Boolean)
  • RtlTranslateAlignment (HorizontalAlignment)
  • RtlTranslateAlignment (LeftRightAlignment)
  • RtlTranslateAlignment (ContentAlignment)
  • RtlTranslateContent (ContentAlignment)
  • RtlTranslateHorizontal (HorizontalAlignment)
  • RtlTranslateLeftRight (LeftRightAlignment)
  • Scale (Single)
  • Scale (Single, Single)
  • Scale (SizeF)
  • ScaleBitmapLogicalToDevice (Bitmap&)
  • ScaleControl (SizeF, BoundsSpecified)
  • ScaleCore (Single, Single)
  • Select ()
  • Select (Boolean, Boolean)
  • SelectNextControl (Control, Boolean, Boolean, Boolean, Boolean)
  • SendToBack ()
  • SetAutoSizeMode (AutoSizeMode)
  • SetBounds (Int32, Int32, Int32, Int32)
  • SetBounds (Int32, Int32, Int32, Int32, BoundsSpecified)
  • SetBoundsCore (Int32, Int32, Int32, Int32, BoundsSpecified)
  • SetClientSizeCore (Int32, Int32)
  • SetStyle (ControlStyles, Boolean)
  • SetTopLevel (Boolean)
    • We don't support top level controls
  • SetVisibleCore (Boolean)
  • Show ()
  • SizeFromClientSize (Size)
  • SuspendLayout ()
  • Update ()
  • UpdateBounds ()
  • UpdateBounds (Int32, Int32, Int32, Int32)
  • UpdateBounds (Int32, Int32, Int32, Int32, Int32, Int32)
  • UpdateStyles ()
  • UpdateZOrder ()
    • NA because controls do not have native OS handles
  • WndProc (Message&)
    • Controls do not use native OS messages

Events

  • AutoSizeChanged
  • BackColorChanged
  • BackgroundImageChanged
  • BackgroundImageLayoutChanged
  • BindingContextChanged
  • CausesValidationChanged
  • ChangeUICues
  • Click
  • ClientSizeChanged
  • ContextMenuStripChanged
  • ControlAdded
  • ControlRemoved
  • CursorChanged
  • DockChanged
  • DoubleClick
  • DpiChangedAfterParent
  • DpiChangedBeforeParent
  • DragDrop
  • DragEnter
  • DragLeave
  • DragOver
  • EnabledChanged
  • Enter
  • FontChanged
  • ForeColorChanged
  • GiveFeedback
  • GotFocus
  • HandleCreated
    • Controls do not use native OS handles
  • HandleDestroyed
    • Controls do not use native OS handles
  • HelpRequested
  • ImeModeChanged
  • Invalidated
  • KeyDown
  • KeyPress
  • KeyUp
  • Layout
  • Leave
  • LocationChanged
  • LostFocus
  • MarginChanged
  • MouseCaptureChanged
  • MouseClick
    • Redundant with Click
  • MouseDoubleClick
    • Redundant with DoubleClick
  • MouseDown
  • MouseEnter
  • MouseHover
  • MouseLeave
  • MouseMove
  • MouseUp
  • MouseWheel
  • Move
  • PaddingChanged
  • Paint
  • ParentChanged
  • PreviewKeyDown
  • QueryAccessibilityHelp
  • QueryContinueDrag
  • RegionChanged
  • Resize
  • RightToLeftChanged
  • SizeChanged
  • StyleChanged
  • SystemColorsChanged
  • TabIndexChanged
  • TabStopChanged
  • TextChanged
  • Validated
  • Validating
  • VisibleChanged
@jpobst jpobst added the epic This represents a large amount of work and will likely involve many issues or PRs. label May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic This represents a large amount of work and will likely involve many issues or PRs.
Projects
None yet
Development

No branches or pull requests

1 participant