GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoText Class
Fields Properties Methods


In This Topic
    GoText Class Members
    In This Topic

    The following tables list the members exposed by GoText.

    Public Constructors
     NameDescription
    Public Constructor The constructor produces an object that is not resizable by the user and does not automatically rescale the font size when the size is changed. However, it does automatically change the size to fit the text when the text is changed.  
    Top
    Public Fields
     NameDescription
    Public FieldThis is a Changed subhint identifying changes to the value of the Alignment property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the AutoResizes property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the BackgroundColor property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the BackgroundOpaqueWhenSelected property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the Bold property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the Bordered property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the Choices property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the Clipping property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the DropDownList property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the EditableWhenSelected property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the EditorStyle property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the FamilyName property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the FontSize property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the GdiCharSet property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the Italic property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the Maximum property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the Minimum property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the Multiline property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the RightToLeft property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the RightToLeftFromView property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the StrikeThrough property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the StringTrimming property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the Text property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the TextColor property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the TransparentBackground property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the Underline property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the Wrapping property.  
    Public FieldThis is a Changed subhint identifying changes to the value of the WrappingWidth property.  
    Top
    Public Properties
     NameDescription
    Public Property Gets or sets how the text is aligned.  
    Public Property Gets or sets whether this object automatically rescales its appearance when its size changes. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the bounds are recalculated when the text changes.  
    Public PropertyGets or sets the background color for this text object, shown when TransparentBackground is false.  
    Public Property Gets or sets whether the text background is displayed when selected.  
    Public Property Gets whether this object is in the process of being removed from its layer or group. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the font style is bold.  
    Public Property Gets or sets whether a simple border is drawn around the text.  
    Public Property Gets or sets this object's bottom coordinate. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets the bounding rectangle for this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets this object's center position. (Inherited from Northwoods.Go.GoObject)
    Public PropertyWhen the EditorStyle is GoTextEditorStyle.ComboBox, this holds the list of choices that are presented in the drop down list.  
    Public Property Gets or sets whether the text drawing is clipped by this object's bounds.  
    Public Property Gets or sets whether the user can copy this object. (Inherited from Northwoods.Go.GoObject)
    Public Propertystatic (Shared in Visual Basic)Gets or sets the font family face name used when constructing a GoText object.  
    Public Propertystatic (Shared in Visual Basic)Gets or sets the font size used when constructing a GoText object.  
    Public Property Gets or sets whether the user can delete this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets the document that this object belongs to, or null if this is not in a layer or if this is in a view layer. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets the object that will be dragged instead of this selected object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether this object, when selected and a child of a group, and when dragged, drags the parent node instead. (Inherited from Northwoods.Go.GoObject)
    Public PropertyWhen the EditorStyle is GoTextEditorStyle.ComboBox, this controls whether the user must choose from the list of Choices, or whether the user can type in an arbitrary string.  
    Public Property Gets or sets whether the user can edit this object. (Inherited from Northwoods.Go.GoObject)
    Public PropertyGets or sets whether OnSingleClick should only start editing if this label is part of an object that was already selected before it was clicked.  
    Public PropertyOverridden. Gets the GoControl used to represent a text editing Control.  
    Public Property The kind of editor Control used when the user edits the text string in-place.  
    Public Property Gets or sets the font family face name.  
    Public PropertyGets the Font currently being used by this text object.  
    Public Property Gets or sets the font size.  
    Public Property Gets or sets the GDI character set used for the text.  
    Public Property Gets or sets this object's height. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether this object is in the process of being initialized. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets whether this object belongs to a document. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets whether this object belongs to a view. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets whether this object is a top-level object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the font style is italic.  
    Public Property Gets the layer to which this object belongs. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets this object's left coordinate, the X position. (Inherited from Northwoods.Go.GoObject)
    Public Property Compute how many lines of text are displayed.  
    Public PropertyOverridden.  A text object's natural location is determined by its Alignment.  
    Public PropertyWhen the EditorStyle is GoTextEditorStyle.NumericUpDown, this specifies the maximum value.  
    Public PropertyWhen the EditorStyle is GoTextEditorStyle.NumericUpDown, this specifies the minimum value.  
    Public Property Gets or sets whether the user can move this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the text is displayed in multiple lines, according to any NewLine character sequences in the text string.  
    Public Property Gets an enumerator over the list of observer objects of this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets the parent group for this object. (Inherited from Northwoods.Go.GoObject)
    Public PropertyThis convenience property gets the highest-level object in the Parent chain that is not a GoSubGraphBase. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets this object's top-left corner's position. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the view can print this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the user can reshape this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the user can resize this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets 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.] (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets this object's right coordinate. (Inherited from Northwoods.Go.GoObject)
    Public PropertyGets or sets whether this text should be drawn from right to left, when the RightToLeftFromView property is false.  
    Public PropertyGets or sets whether the view's RightToLeft property governs how the string is drawn, or whether this text object's RightToLeft property takes precedence.  
    Public Property Gets or sets whether the user can select this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets the object that gets selection handles when this object is selected. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether this object is painted with a drop shadow. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets this object's dimensions. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the UndoManager is notified upon a change to this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the font style includes strike-through.  
    Public PropertyGets or sets how characters are removed when AutoResizes is false.  
    Public Property Gets or sets whether any document Changed event handlers are called upon a change to this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets the string that this text object displays.  
    Public Property Gets or sets the color of the text.  
    Public Property Gets or sets this object's top coordinate, the Y position. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets the top-level object for this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the background color is painted.  
    Public Property Gets or sets whether the font style includes underline.  
    Public Property Gets the view that this object belongs to, or null if this is not in a layer or if this is in a document layer. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the user can see this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets this object's width. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the text is wrapped when the text reaches the wrapping width.  
    Public Property Gets or sets the width at which text is wrapped.  
    Top
    Protected Properties
     NameDescription
    Protected Property Gets or sets whether the bounds are up to date. (Inherited from Northwoods.Go.GoObject)
    Top
    Public Methods
     NameDescription
    Public Method Register an object as an observer of changes to this object. (Inherited from Northwoods.Go.GoObject)
    Public MethodOverridden.  Implement a custom selection indicator if BackgroundOpaqueWhenSelected is true.  
    Public Method Called to see if the user can copy this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the user can delete this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the user can edit this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the user can move this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the view can print this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the user can reshape this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the user can resize this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the user can select this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the user can see this object. (Inherited from Northwoods.Go.GoObject)
    Public MethodNotify 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. (Inherited from Northwoods.Go.GoObject)
    Public MethodOverridden.  Performs changes for undo and redo.  
    Public Method Notify this object's document or view that some part of this object's state is about to be changed. (Inherited from Northwoods.Go.GoObject)
    Public Method Calculate a new string value for this object as a result of an edit.  
    Public Method Calculate a new location for this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Calculate a new bounding rectangle for this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Determine if a given rectangle completely encloses this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Determine if a given point is inside and on this object. (Inherited from Northwoods.Go.GoObject)
    Public MethodThis convenience method just makes a copy of the object itself, using a generic GoCopyDictionary. (Inherited from Northwoods.Go.GoObject)
    Public MethodPreserve any mutable state needed to perform an IGoUndoableEdit.Redo. (Inherited from Northwoods.Go.GoObject)
    Public MethodOverridden.  This makes a copy of this text object.  
    Public MethodFor 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). (Inherited from Northwoods.Go.GoObject)
    Public MethodPreserve any mutable state needed to perform an IGoUndoableEdit.Undo. (Inherited from Northwoods.Go.GoObject)
    Public Method Create a bounding handle for this object. (Inherited from Northwoods.Go.GoObject)
    Public MethodOverridden. This creates a GoControl that will create a TextBox, a ComboBox, or a NumericUpDown when the GoControl is painted in a GoView.  
    Public Method Create a resize handle for this object, given a handle ID. (Inherited from Northwoods.Go.GoObject)
    Public MethodOverridden.  Bring up a TextBox or other Control to allow the user to edit the text string in-place.  
    Public Method Called when a user tries to commit a text edit.  
    Public MethodOverridden.  Stop editing this text object.  
    Public Method Called when a user moves this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called when a user resizes this object. (Inherited from Northwoods.Go.GoObject)
    Public MethodOverridden.  Consider any shadow when calculating the paint bounds.  
    Public MethodCalled to get a GoContextMenu to display for this object. (Inherited from Northwoods.Go.GoObject)
    Public MethodCalled to get a ContextMenuStrip to display for this object. (Inherited from Northwoods.Go.GoObject)
    Public MethodCalled by OnMouseOver to determine the cursor, if any, to display over this object. (Inherited from Northwoods.Go.GoObject)
    Public Method (Inherited from Northwoods.Go.GoObject)
    Public MethodReturn 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. (Inherited from Northwoods.Go.GoObject)
    Public Method Get the position of a spot in a rectangle. (Inherited from Northwoods.Go.GoObject)
    Public Method Get a Brush for painting a drop shadow in the given view. (Inherited from Northwoods.Go.GoObject)
    Public Method Gets the size of a drop shadow for this object in the given view. (Inherited from Northwoods.Go.GoObject)
    Public Method Get a Pen for painting a drop shadow in the given view. (Inherited from Northwoods.Go.GoObject)
    Public Method Get the position of a spot on this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to get a String to display as a tooltip for this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Cause all views to repaint this object when they get a chance. (Inherited from Northwoods.Go.GoObject)
    Public Method Determines if this object is a child, perhaps indirectly, of the given object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called when the user context clicks on this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called when the user double clicks on this object. (Inherited from Northwoods.Go.GoObject)
    Public MethodCalled 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. (Inherited from Northwoods.Go.GoObject)
    Public Method Called when this object becomes selected. (Inherited from Northwoods.Go.GoObject)
    Public Method Called when the user hovers over this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called when this object becomes unselected. (Inherited from Northwoods.Go.GoObject)
    Public Method Called when the user moves the mouse over this object when not dragging or resizing. (Inherited from Northwoods.Go.GoObject)
    Public Method Called after the user has dropped the selection on this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called 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. (Inherited from Northwoods.Go.GoObject)
    Public MethodOverridden.  Start editing this text object on a single click if this object is editable.  
    Public MethodOverridden.  Draw a text string according to the attributes specified by this object's properties.  
    Public Method This method is responsible for alternative painting when the scale is small.  
    Public Method Return an object at a point, perhaps only a selectable one. (Inherited from Northwoods.Go.GoObject)
    Public Method This convenience method just removes this object from its container, if there is any. (Inherited from Northwoods.Go.GoObject)
    Public Method Make sure an object is not an observer of changes to this object. (Inherited from Northwoods.Go.GoObject)
    Public MethodOverridden.  Implement a custom selection indicator if BackgroundOpaqueWhenSelected is true.  
    Public Method Modify a rectangle such that its new spot location is at a given point. (Inherited from Northwoods.Go.GoObject)
    Public MethodOverridden.  This method can be called to change the size of this object without changing its location.  
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoObject)
    Public Method Get the spot that is on the opposite side of a given spot. (Inherited from Northwoods.Go.GoObject)
    Top
    Protected Methods
     NameDescription
    Protected Method Recalculates the actual bounding rectangle for this object when it might be invalid. (Inherited from Northwoods.Go.GoObject)
    Protected MethodOverridden.  Handle any change in size.  
    Protected MethodOverridden.  Handle any change in layers.  
    Protected Method Called when an observed object has been changed. (Inherited from Northwoods.Go.GoObject)
    Protected Method Called when this object's parent is changed. (Inherited from Northwoods.Go.GoObject)
    Top
    See Also