GoDiagram Win Reference
GoObject Class Members
Fields  Properties  Methods 


The following tables list the members exposed by GoObject.

Public Fields
 NameDescription
Public FieldBottomCenterThis represents a point in the object's bounds.  
Public FieldBottomLeftThis represents a corner point in the object's bounds.  
Public FieldBottomRightThis represents a corner point in the object's bounds.  
Public FieldChangedAddedObserverThis is a Changed subhint.  
Public FieldChangedAutoRescalesThis is a Changed subhint identifying changes to the value of the AutoRescales property.  
Public FieldChangedBoundsThis is a Changed subhint identifying changes to the value of the Bounds property.  
Public FieldChangedCopyableThis is a Changed subhint identifying changes to the value of the Copyable property.  
Public FieldChangedDeletableThis is a Changed subhint identifying changes to the value of the Deletable property.  
Public FieldChangedDragsNodeThis is a Changed subhint identifying changes to the value of the DragsNode property.  
Public FieldChangedEditableThis is a Changed subhint identifying changes to the value of the Editable property.  
Public FieldChangedInitializingThis is a Changed subhint identifying changes to the value of the Initializing property.  
Public FieldChangedMovableThis is a Changed subhint identifying changes to the value of the Movable property.  
Public FieldChangedPrintableThis is a Changed subhint identifying changes to the value of the Printable property.  
Public FieldChangedRemovedObserverThis is a Changed subhint.  
Public FieldChangedReshapableThis is a Changed subhint identifying changes to the value of the Reshapable property.  
Public FieldChangedResizableThis is a Changed subhint identifying changes to the value of the Resizable property.  
Public FieldChangedResizesRealtimeThis is a Changed subhint identifying changes to the value of the ResizesRealtime property.  
Public FieldChangedSelectableThis is a Changed subhint identifying changes to the value of the Selectable property.  
Public FieldChangedShadowedThis is a Changed subhint identifying changes to the value of the Shadowed property.  
Public FieldChangedVisibleThis is a Changed subhint identifying changes to the value of the Visible property.  
Public FieldLastChangedHintUsers can define their own Changed event subhint values greater than this value.  
Public FieldLastHandleUser-defined handles should have identifiers greater than this value.  
Public FieldLastSpotUser-defined spots should have identifiers greater than this value.  
Public FieldMiddleThis represents the point at the center of the object's bounds.  
Public FieldMiddleBottomThis represents a point in the object's bounds.  
Public FieldMiddleCenterThis represents the point at the center of the object's bounds; the same as .  
Public FieldMiddleLeftThis represents a point in the object's bounds.  
Public FieldMiddleRightThis represents a point in the object's bounds.  
Public FieldMiddleTopThis represents a point in the object's bounds.  
Public FieldNoHandleUse this handle when no particular handle seems appropriate.  
Public FieldNoSpotUse this spot when no particular spot seems appropriate.  
Public Fieldstatic (Shared in Visual Basic)NullRectThis is an empty RectangleF, which is convenient when calling Changed.  
Public FieldRepaintAllThis is a Changed subhint.  
Public FieldTopCenterThis represents a point in the object's bounds.  
Public FieldTopLeftThis represents a corner point in the object's bounds.  
Public FieldTopRightThis represents a corner point in the object's bounds.  
Top
Public Properties
 NameDescription
Public PropertyAutoRescalesGets or sets whether this object automatically rescales its appearance when its size changes.  
Public PropertyBottomGets or sets this object's bottom coordinate.  
Public PropertyCopyableGets or sets whether the user can copy this object.  
Public PropertyDeletableGets or sets whether the user can delete this object.  
Public PropertyDocumentGets the document that this object belongs to, or null if this is not in a layer or if this is in a view layer.  
Public PropertyDraggingObjectGets the object that will be dragged instead of this selected object.  
Public PropertyDragsNodeGets or sets whether this object, when selected and a child of a group, and when dragged, drags the parent node instead.  
Public PropertyEditableGets or sets whether the user can edit this object.  
Public PropertyHeightGets or sets this object's height.  
Public PropertyLayerGets the layer to which this object belongs.  
Public PropertyLeftGets or sets this object's left coordinate, the X position.  
Public PropertyLocationGets or sets this object's natural position.  
Public PropertyMovableGets or sets whether the user can move this object.  
Public PropertyObserversGets an enumerator over the list of observer objects of this object.  
Public PropertyParentGets the parent group for this object.  
Public PropertyPrintableGets or sets whether the view can print this object.  
Public PropertyReshapableGets or sets whether the user can reshape this object.  
Public PropertyResizableGets or sets whether the user can resize this object.  
Public PropertyResizesRealtimeGets or sets whether this object continuously changes its size during a user resizing operation. [In Web Forms there is no continuous visual feedback of a resize.]  
Public PropertyRightGets or sets this object's right coordinate.  
Public PropertySelectableGets or sets whether the user can select this object.  
Public PropertySelectionObjectGets the object that gets selection handles when this object is selected.  
Public PropertyShadowedGets or sets whether this object is painted with a drop shadow.  
Public PropertyTopGets or sets this object's top coordinate, the Y position.  
Public PropertyViewGets the view that this object belongs to, or null if this is not in a layer or if this is in a document layer.  
Public PropertyVisibleGets or sets whether the user can see this object.  
Public PropertyWidthGets or sets this object's width.  
Top
Public Methods
 NameDescription
Public MethodAddObserverRegister an object as an observer of changes to this object.  
Public MethodAddSelectionHandlesAdd selection handles for this object for the given selection collection.  
Public MethodCanCopyCalled to see if the user can copy this object.  
Public MethodCanDeleteCalled to see if the user can delete this object.  
Public MethodCanEditCalled to see if the user can edit this object.  
Public MethodCanMoveCalled to see if the user can move this object.  
Public MethodCanPrintCalled to see if the view can print this object.  
Public MethodCanReshapeCalled to see if the user can reshape this object.  
Public MethodCanResizeCalled to see if the user can resize this object.  
Public MethodCanSelectCalled to see if the user can select this object.  
Public MethodCanViewCalled to see if the user can see this object.  
Public MethodChangedNotify this object's document or view that some part of this object's state has been changed, via the GoDocument.Changed event and using the GoChangedEventArgs event args class.  
Public MethodChangeValuePerform an undo or redo, given a GoChangedEventArgs representing a change on this object.  
Public MethodChangingNotify this object's document or view that some part of this object's state is about to be changed.  
Public MethodComputeMoveCalculate a new location for this object.  
Public MethodComputeResizeCalculate a new bounding rectangle for this object.  
Public MethodContainedByRectangleDetermine if a given rectangle completely encloses this object.  
Public MethodContainsPointDetermine if a given point is inside and on this object.  
Public MethodCopyThis convenience method just makes a copy of the object itself, using a generic GoCopyDictionary.  
Public MethodCopyNewValueForRedoPreserve any mutable state needed to perform an IGoUndoableEdit.Redo.  
Public MethodCopyObjectCalled during the first phase of the copy process to produce a copy of this object within the given copy dictionary.  
Public MethodCopyObjectDelayedFor objects that require a second pass to complete the copying, this method is called after the first pass of copying all of the objects in CopyFromCollection(IGoCollection).  
Public MethodCopyOldValueForUndoPreserve any mutable state needed to perform an IGoUndoableEdit.Undo.  
Public MethodCreateBoundingHandleCreate a bounding handle for this object.  
Public MethodCreateEditorCreate a GoControl that implements an editor for this object in the given view.  
Public MethodCreateResizeHandleCreate a resize handle for this object, given a handle ID.  
Public MethodDoBeginEditStart editing this object in the given view.  
Public MethodDoEndEditStop editing this object in the given view.  
Public MethodDoMoveCalled when a user moves this object.  
Public MethodDoResizeCalled when a user resizes this object.  
Public MethodExpandPaintBoundsExpand a bounding rectangle to better represent where this object is painted.  
Public Methodstatic (Shared in Visual Basic)FindCommonParentFind the GoGroup that is closest parent group for this object and another.  
Public MethodGetContextMenuCalled to get a GoContextMenu to display for this object.  
Public MethodGetContextMenuStripCalled to get a ContextMenuStrip to display for this object.  
Public MethodGetCursorNameCalled by OnMouseOver to determine the cursor, if any, to display over this object.  
Public MethodGetNearestIntersectionPointOverloaded. Find the closest point in this object to a given point that is on a line from that point.  
Public MethodGetPartInfoReturn a GoPartInfo that describes this object and that can be transmitted to the client (user agent) as JavaScript data structures that can be used by code running on the client.  
Public MethodGetRectangleSpotLocationGet the position of a spot in a rectangle.  
Public MethodGetShadowBrushGet a Brush for painting a drop shadow in the given view.  
Public MethodGetShadowOffsetGets the size of a drop shadow for this object in the given view.  
Public MethodGetShadowPenGet a Pen for painting a drop shadow in the given view.  
Public MethodGetSpotLocationGet the position of a spot on this object.  
Public MethodGetToolTipCalled to get a String to display as a tooltip for this object.  
Public MethodInvalidateViewsCause all views to repaint this object when they get a chance.  
Public MethodIsChildOfDetermines if this object is a child, perhaps indirectly, of the given object.  
Public Methodstatic (Shared in Visual Basic)LargestSizeKeepingAspectRatioCompute a SizeF that fits in target while maintaining the aspect ratio given by aspect.  
Public Methodstatic (Shared in Visual Basic)MakeRectOverloaded. A static method for converting a float to a RectangleF, for calls to Changed.  
Public MethodOnContextClickCalled when the user context clicks on this object.  
Public MethodOnDoubleClickCalled when the user double clicks on this object.  
Public MethodOnEnterLeaveCalled when the document object immediately under the mouse changes as the mouse moves when no particular tool is running or when the GoToolDragging tool is running.  
Public MethodOnGotSelectionCalled when this object becomes selected.  
Public MethodOnHoverCalled when the user hovers over this object.  
Public MethodOnLostSelectionCalled when this object becomes unselected.  
Public MethodOnMouseOverCalled when the user moves the mouse over this object when not dragging or resizing.  
Public MethodOnSelectionDroppedCalled after the user has dropped the selection on this object.  
Public MethodOnSelectionDropRejectCalled during a user's drag of the view's Selection when the mouse is over this object, to give this object a chance to veto a drop.  
Public MethodOnSingleClickCalled when the user single clicks on this object.  
Public MethodPaintRender this object to a Graphics object.  
Public MethodPickReturn an object at a point, perhaps only a selectable one.  
Public MethodRemoveThis convenience method just removes this object from its container, if there is any.  
Public MethodRemoveObserverMake sure an object is not an observer of changes to this object.  
Public MethodRemoveSelectionHandlesRemove all selection handles for this object for the given selection collection.  
Public MethodSetRectangleSpotLocationModify a rectangle such that its new spot location is at a given point.  
Public MethodSetSizeKeepingLocationSets a new size for this object while maintaining the same location.  
Public MethodSetSpotLocationOverloaded. Move this object so this object's given spot is at the given location.  
Public MethodSpotOppositeGet the spot that is on the opposite side of a given spot.  
Top
Protected Methods
 NameDescription
Protected MethodComputeBoundsRecalculates the actual bounding rectangle for this object when it might be invalid.  
Protected MethodOnBoundsChangedCalled after this object's bounds has changed.  
Protected MethodOnLayerChangedCalled when this object's layer is changed.  
Protected MethodOnObservedChangedCalled when an observed object has been changed.  
Protected MethodOnParentChangedCalled when this object's parent is changed.  
Top
See Also

Reference

GoObject Class
Northwoods.Go Namespace

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback