Spread Windows Forms 8.0 Product Documentation
ElementControl Class Methods


For a list of all members of this type, see ElementControl members.

Public Methods
 NameDescription
Public MethodBeginInvokeOverloaded. Executes the specified delegate asynchronously on the thread that the control's underlying handle was created on. (Inherited from System.Windows.Forms.Control)
Public MethodBringToFrontBrings the control to the front of the z-order. (Inherited from System.Windows.Forms.Control)
Public MethodContainsRetrieves a value indicating whether the specified control is a child of the control. (Inherited from System.Windows.Forms.Control)
Public MethodCreateControlForces the creation of the visible control, including the creation of the handle and any visible child controls. (Inherited from System.Windows.Forms.Control)
Public MethodCreateGraphicsCreates the System.Drawing.Graphics for the control. (Inherited from System.Windows.Forms.Control)
Public MethodDrawToBitmapSupports rendering to the specified bitmap. (Inherited from System.Windows.Forms.Control)
Public MethodEndInvokeRetrieves the return value of the asynchronous operation represented by the System.IAsyncResult passed. (Inherited from System.Windows.Forms.Control)
Public MethodFindFormRetrieves the form that the control is on. (Inherited from System.Windows.Forms.Control)
Public MethodFocusMoves the focus to the control.  
Public MethodGetChildAtPointOverloaded. Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type. (Inherited from System.Windows.Forms.Control)
Public MethodGetContainerControlReturns the next System.Windows.Forms.ContainerControl up the control's chain of parent controls. (Inherited from System.Windows.Forms.Control)
Public MethodGetControlGets the control.  
Public MethodGetElementStyleGets the style for the element.  
Public MethodGetFontGets the current font or the default font if no font is specified.  
Public MethodGetNextControlRetrieves the next control forward or back in the tab order of child controls. (Inherited from System.Windows.Forms.Control)
Public MethodGetPreferredSizeRetrieves the size of a rectangular area into which a control can be fitted. (Inherited from System.Windows.Forms.Control)
Public MethodHideConceals the control from the user. (Inherited from System.Windows.Forms.Control)
Public MethodInvalidateOverloaded. Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. (Inherited from System.Windows.Forms.Control)
Public MethodInvokeOverloaded. Executes the specified delegate on the thread that owns the control's underlying window handle. (Inherited from System.Windows.Forms.Control)
Public MethodOnPaintOverloaded. Overridden. Raises the Paint event when the element has been asked to repaint itself.  
Public MethodOnPaintBackgroundOverloaded. Paints the background of the element.  
Public MethodPerformLayoutOverloaded. Forces the control to apply layout logic to all its child controls. (Inherited from System.Windows.Forms.Control)
Public MethodPointToClientComputes the location of the specified screen point into client coordinates. (Inherited from System.Windows.Forms.Control)
Public MethodPointToScreenComputes the location of the specified client point into screen coordinates. (Inherited from System.Windows.Forms.Control)
Public MethodPreProcessControlMessagePreprocesses keyboard or input messages within the message loop before they are dispatched. (Inherited from System.Windows.Forms.Control)
Public MethodRectangleToClientComputes the size and location of the specified screen rectangle in client coordinates. (Inherited from System.Windows.Forms.Control)
Public MethodRectangleToScreenComputes the size and location of the specified client rectangle in screen coordinates. (Inherited from System.Windows.Forms.Control)
Public MethodRefreshForces the control to invalidate its client area and immediately redraw itself and any child controls. (Inherited from System.Windows.Forms.Control)
Public MethodResetBackColorOverridden. Resets the background color of the control to its default value.  
Public MethodResetBorderResets the border of the control to its default settings.  
Public MethodResetFontOverridden. Resets the font of the control to its default value.  
Public MethodResetForeColorOverridden. Resets the text color of the control to its default value.  
Public MethodResetPictureResets the picture for the control to its default value.  
Public MethodResetPictureTransparencyColorResets the picture transparency color to its default color.  
Public MethodResetPictureTransparencyToleranceResets the transparency tolerance for a picture in the element to its default value.  
Public MethodResetTextOverridden. Resets the contents to the default value.  
Public MethodResumeLayoutOverloaded. Resumes usual layout logic. (Inherited from System.Windows.Forms.Control)
Public MethodScale (Inherited from System.Windows.Forms.Control)
Public MethodSelectNextControlActivates the next control. (Inherited from System.Windows.Forms.Control)
Public MethodSendToBackSends the control to the back of the z-order. (Inherited from System.Windows.Forms.Control)
Public MethodSetBoundsOverloaded. Sets the bounds of the element to the position and size of the bounding rectangle of the specified dimensions.  
Public MethodSetElementStyleSets the style for the element.  
Public MethodShowDisplays the control to the user. (Inherited from System.Windows.Forms.Control)
Public MethodSuspendLayoutTemporarily suspends the layout logic for the control. (Inherited from System.Windows.Forms.Control)
Public MethodToggleStateChanges the control state to the Inverted or Normal settings of the ElementState enumeration.  
Public MethodUpdateForces the control to repaint immediately any region that has become invalid.  
Top
Protected Methods
 NameDescription
Protected MethodCreateAccessibilityInstanceCreates a new accessibility object for the control. (Inherited from System.Windows.Forms.Control)
Protected MethodCreateControlsInstanceCreates a new instance of the control collection for the control. (Inherited from System.Windows.Forms.Control)
Protected MethodCreateHandleCreates a handle for the control. (Inherited from System.Windows.Forms.Control)
Protected MethodDestroyHandleDestroys the handle associated with the control. (Inherited from System.Windows.Forms.Control)
Protected MethodFinalizeThe destructor method of FpElement  
Protected MethodGetAccessibilityObjectByIdRetrieves the specified System.Windows.Forms.AccessibleObject. (Inherited from System.Windows.Forms.Control)
Protected MethodGetAutoSizeModeRetrieves a value indicating how a control will behave when its System.Windows.Forms.Control.AutoSize property is enabled. (Inherited from System.Windows.Forms.Control)
Protected MethodGetScaledBoundsRetrieves the bounds within which the control is scaled. (Inherited from System.Windows.Forms.Control)
Protected MethodGetService (Inherited from System.ComponentModel.Component)
Protected MethodGetStyleRetrieves the value of the specified control style bit for the control. (Inherited from System.Windows.Forms.Control)
Protected MethodGetTopLevelDetermines if the control is a top-level control. (Inherited from System.Windows.Forms.Control)
Protected MethodInvokeGotFocusRaises the System.Windows.Forms.Control.GotFocus event for the specified control. (Inherited from System.Windows.Forms.Control)
Protected MethodInvokeLostFocusRaises the System.Windows.Forms.Control.LostFocus event for the specified control. (Inherited from System.Windows.Forms.Control)
Protected MethodInvokeOnClickRaises the System.Windows.Forms.Control.Click event for the specified control. (Inherited from System.Windows.Forms.Control)
Protected MethodInvokePaintRaises the System.Windows.Forms.Control.Paint event for the specified control. (Inherited from System.Windows.Forms.Control)
Protected MethodInvokePaintBackgroundRaises the PaintBackground event for the specified control. (Inherited from System.Windows.Forms.Control)
Protected MethodMemberwiseCloneOverloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject)
Protected MethodOnAutoSizeChangedRaises the System.Windows.Forms.Control.AutoSizeChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnBackColorChangedRaises the System.Windows.Forms.Control.BackColorChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnBackgroundImageChangedRaises the BackgroundImageChanged event when the background picture has changed.  
Protected MethodOnBackgroundImageLayoutChangedRaises the System.Windows.Forms.Control.BackgroundImageLayoutChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnBindingContextChangedRaises the System.Windows.Forms.Control.BindingContextChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnChangeUICuesRaises the System.Windows.Forms.Control.ChangeUICues event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnClickOverridden. Raises the Click event when the user clicks with the cursor over the control.  
Protected MethodOnClientSizeChangedRaises the System.Windows.Forms.Control.ClientSizeChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnContextMenuChangedRaises the System.Windows.Forms.Control.ContextMenuChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnContextMenuStripChangedRaises the System.Windows.Forms.Control.ContextMenuStripChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnControlAddedRaises the System.Windows.Forms.Control.ControlAdded event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnControlRemovedRaises the System.Windows.Forms.Control.ControlRemoved event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnCreateControlRaises the System.Windows.Forms.Control.CreateControl method. (Inherited from System.Windows.Forms.Control)
Protected MethodOnCursorChangedRaises the System.Windows.Forms.Control.CursorChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnDockChangedRaises the System.Windows.Forms.Control.DockChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnDoubleClickOverridden. Raises the DoubleClick event when the user clicks with the cursor over the control.  
Protected MethodOnDragDropRaises the System.Windows.Forms.Control.DragDrop event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnDragEnterRaises the System.Windows.Forms.Control.DragEnter event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnDragLeaveRaises the System.Windows.Forms.Control.DragLeave event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnDragOverRaises the System.Windows.Forms.Control.DragOver event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnEnabledChangedRaises the System.Windows.Forms.Control.EnabledChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnEnterRaises the System.Windows.Forms.Control.Enter event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnFontChangedRaises the System.Windows.Forms.Control.FontChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnForeColorChangedRaises the System.Windows.Forms.Control.ForeColorChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnForegroundImageChangedRaises the ForegroundImageChanged event when the foreground picture has changed.  
Protected MethodOnGiveFeedbackRaises the System.Windows.Forms.Control.GiveFeedback event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnHandleCreatedRaises the System.Windows.Forms.Control.HandleCreated event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnHandleDestroyedRaises the System.Windows.Forms.Control.HandleDestroyed event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnHelpRequestedRaises the System.Windows.Forms.Control.HelpRequested event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnImeModeChangedRaises the System.Windows.Forms.Control.ImeModeChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnInvalidatedRaises the System.Windows.Forms.Control.Invalidated event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnKeyDownRaises the System.Windows.Forms.Control.KeyDown event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnKeyPressRaises the System.Windows.Forms.Control.KeyPress event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnKeyUpRaises the System.Windows.Forms.Control.KeyUp event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnLayoutRaises the System.Windows.Forms.Control.Layout event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnLeaveRaises the System.Windows.Forms.Control.Leave event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnLocationChangedRaises the System.Windows.Forms.Control.LocationChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnMarginChangedRaises the System.Windows.Forms.Control.MarginChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnMouseCaptureChangedRaises the System.Windows.Forms.Control.MouseCaptureChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnMouseClickRaises the System.Windows.Forms.Control.MouseClick event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnMouseDoubleClickRaises the System.Windows.Forms.Control.MouseDoubleClick event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnMoveRaises the System.Windows.Forms.Control.Move event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnNotifyMessageNotifies the control of Windows messages. (Inherited from System.Windows.Forms.Control)
Protected MethodOnPaddingChangedRaises the System.Windows.Forms.Control.PaddingChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnParentBackColorChangedRaises the System.Windows.Forms.Control.BackColorChanged event when the System.Windows.Forms.Control.BackColor property value of the control's container changes. (Inherited from System.Windows.Forms.Control)
Protected MethodOnParentBackgroundImageChangedRaises the System.Windows.Forms.Control.BackgroundImageChanged event when the System.Windows.Forms.Control.BackgroundImage property value of the control's container changes. (Inherited from System.Windows.Forms.Control)
Protected MethodOnParentBindingContextChangedRaises the System.Windows.Forms.Control.BindingContextChanged event when the System.Windows.Forms.Control.BindingContext property value of the control's container changes. (Inherited from System.Windows.Forms.Control)
Protected MethodOnParentCursorChangedRaises the System.Windows.Forms.Control.CursorChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnParentEnabledChangedRaises the System.Windows.Forms.Control.EnabledChanged event when the System.Windows.Forms.Control.Enabled property value of the control's container changes. (Inherited from System.Windows.Forms.Control)
Protected MethodOnParentFontChangedRaises the System.Windows.Forms.Control.FontChanged event when the System.Windows.Forms.Control.Font property value of the control's container changes. (Inherited from System.Windows.Forms.Control)
Protected MethodOnParentForeColorChangedRaises the System.Windows.Forms.Control.ForeColorChanged event when the System.Windows.Forms.Control.ForeColor property value of the control's container changes. (Inherited from System.Windows.Forms.Control)
Protected MethodOnParentRightToLeftChangedRaises the System.Windows.Forms.Control.RightToLeftChanged event when the System.Windows.Forms.Control.RightToLeft property value of the control's container changes. (Inherited from System.Windows.Forms.Control)
Protected MethodOnParentVisibleChangedRaises the System.Windows.Forms.Control.VisibleChanged event when the System.Windows.Forms.Control.Visible property value of the control's container changes. (Inherited from System.Windows.Forms.Control)
Protected MethodOnPictureChangedRaises the PictureChanged event when the picture has changed.  
Protected MethodOnPreviewKeyDownRaises the System.Windows.Forms.Control.PreviewKeyDown event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnPrintRaises the System.Windows.Forms.Control.Paint event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnQueryContinueDragRaises the System.Windows.Forms.Control.QueryContinueDrag event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnRegionChangedRaises the System.Windows.Forms.Control.RegionChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnResizeRaises the System.Windows.Forms.Control.Resize event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnRightToLeftChangedRaises the System.Windows.Forms.Control.RightToLeftChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnSizeChangedRaises the System.Windows.Forms.Control.SizeChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnStyleChangedRaises the System.Windows.Forms.Control.StyleChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnSystemColorsChangedRaises the System.Windows.Forms.Control.SystemColorsChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnTabIndexChangedRaises the System.Windows.Forms.Control.TabIndexChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnTabStopChangedRaises the System.Windows.Forms.Control.TabStopChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnTextChangedRaises the System.Windows.Forms.Control.TextChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnValidatedRaises the System.Windows.Forms.Control.Validated event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnValidatingRaises the System.Windows.Forms.Control.Validating event. (Inherited from System.Windows.Forms.Control)
Protected MethodOnVisibleChangedRaises the System.Windows.Forms.Control.VisibleChanged event. (Inherited from System.Windows.Forms.Control)
Protected MethodRecreateHandleForces the re-creation of the handle for the control. (Inherited from System.Windows.Forms.Control)
Protected MethodResetElementsResets the elements to their default settings.  
Protected MethodRtlTranslateAlignmentOverloaded. Converts the specified System.Windows.Forms.HorizontalAlignment to the appropriate System.Windows.Forms.HorizontalAlignment to support right-to-left text. (Inherited from System.Windows.Forms.Control)
Protected MethodRtlTranslateHorizontalConverts the specified System.Windows.Forms.HorizontalAlignment to the appropriate System.Windows.Forms.HorizontalAlignment to support right-to-left text. (Inherited from System.Windows.Forms.Control)
Protected MethodRtlTranslateLeftRightConverts the specified System.Windows.Forms.LeftRightAlignment to the appropriate System.Windows.Forms.LeftRightAlignment to support right-to-left text. (Inherited from System.Windows.Forms.Control)
Protected MethodScaleControl (Inherited from System.Windows.Forms.Control)
Protected MethodSetAutoSizeModeSets a value indicating how a control will behave when its System.Windows.Forms.Control.AutoSize property is enabled. (Inherited from System.Windows.Forms.Control)
Protected MethodSetStyleSets a specified System.Windows.Forms.ControlStyles flag to either true or false. (Inherited from System.Windows.Forms.Control)
Protected MethodSetTopLevelSets the control as the top-level control. (Inherited from System.Windows.Forms.Control)
Protected MethodSizeFromClientSize (Inherited from System.Windows.Forms.Control)
Protected MethodUpdateStylesForces the assigned styles to be reapplied to the control. (Inherited from System.Windows.Forms.Control)
Protected MethodUpdateZOrderUpdates the control in its parent's z-order. (Inherited from System.Windows.Forms.Control)
Top
See Also

Reference

ElementControl Class
FarPoint.Win Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.