Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win Namespace / ElementWindowless Class
Fields Properties Methods Events


In This Topic
    ElementWindowless Class Members
    In This Topic

    The following tables list the members exposed by ElementWindowless.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Represents the default name for shape, the name will be correct when the shape is added to the collection.  
    Top
    Protected Fields
     NameDescription
    Protected Fieldstatic (Shared in Visual Basic)Represents the default color background for the element, namely SystemColors.Control.  
    Protected Fieldstatic (Shared in Visual Basic)Represents the default text color for the element, namely SystemColors.ControlText.  
    Protected FieldRepresents the default picture margin for the element, namely 2 pixels.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the horizontal alignment of the contents of the element.  
    Public PropertyGets or sets the text alignment for the element.  
    Public PropertyGets or sets the vertical alignment of the contents of the element.  
    Public PropertyGets or sets the background color for the element.  
    Public PropertyGets or sets the background image for the control.  
    Public PropertyGets or sets the border for the element.  
    Public PropertyInternal use only.  
    Public PropertyGets or sets whether the element can receive focus.  
    Public PropertyGets whether the element currently has the input focus.  
    Public PropertyGets or sets the focus rectangle drawing style in the element.  
    Public PropertyGets or sets whether the element is enabled.  
    Public PropertyGets whether the element has focus.  
    Public PropertyGets or sets the font for the element.  
    Public PropertyGets or sets the foreground color for the element.  
    Public PropertyGets or sets the foreground image for the element.  
    Public PropertyGets or sets the margin between the bottom of the element and its contents.  
    Public PropertyGets or sets the margin between the left edge of the element and its contents.  
    Public PropertyGets or sets the margin between the right edge of the element and its contents.  
    Public PropertyGets or sets the margin between the top of the element and its contents.  
    Public PropertyGets or sets the name of the element.  
    Public PropertyInternal use only.  
    Public PropertyGets or sets the picture for the element.  
    Public PropertyGets or sets the margin between the text and the picture.  
    Public PropertyGets or sets the picture orientation for the element.  
    Public PropertyGets or sets the picture transparency color for the element.  
    Public PropertyGets or sets the picture transparency tolerance for the element.  
    Public PropertyGets the rectangular coordinates of the element.  
    Public PropertyGets or sets whether the element is allowed to paint.  
    Public PropertyGets or sets whether the control can receive focus.  
    Public PropertyGets or sets the state of the element.  
    Public PropertyInternal use only.  
    Public PropertyGets or sets the Tag object for the element.  
    Public PropertyGets or sets the text for the element.  
    Public PropertyGets or sets the text orientation for the element.  
    Public PropertyGets or sets the rotation angle of the text in the element.  
    Public PropertyGets or sets whether to wrap the text in the element.  
    Public PropertyGets or sets whether the element is visible.  
    Top
    Protected Properties
     NameDescription
    Protected PropertyGets the collection of IElement-derived objects that the current ElementWindowless object contains.  
    Protected PropertyGets the rectangular coordinates of the element.  
    Protected Property  
    Top
    Public Methods
     NameDescription
    Public MethodCopies the properties of this windowless element object into the target object.  
    Public MethodLoads the object from XML.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Draws the specified string in the specified rectangle, with the specified font, color, alignments, orientation, hotkey prefix, and wrapping.  
    Public MethodMoves the focus to the element.  
    Public MethodOverloaded. Gets the coordinates of the element.  
    Public MethodGets the Control object if the element is derived from the ElementWindowless class.  
    Public MethodGets the style for the element.  
    Public MethodGets the default font used by the element, if the Font property is null.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Gets the size of the specified text when drawn with the specified font, orientation, wrapping, hotkey prefix, and string trimming.  
    Public MethodRaises the FontChanged event when the font in the control has changed.  
    Public MethodOverloaded. Paints the element (text and picture).  
    Public MethodOverloaded. Paints the background of the element.  
    Public MethodForces the element to invalidate its client area and immediately repaint.  
    Public MethodResets the background color to its default setting.  
    Public MethodResets the border of the element to its default settings.  
    Public MethodResets the font for the element to it default value.  
    Public MethodResets the text color for the element to its default value.  
    Public MethodResets the transparency of a picture in the element to its default value.  
    Public MethodResets the transparency tolerance for a picture in the element to its default value.  
    Public MethodResets the Tag object for the element to its default value.  
    Public MethodResets the rotation angle for text in the element to its default value.  
    Public MethodSaves the object to XML.  
    Public MethodOverloaded. Sets the bounds of the element to the location and size of the bounding rectangle of the specified dimensions (in integer values).  
    Public MethodOverloaded. Sets the style for the element.  
    Public MethodSets the state of the element.  
    Public MethodIndicates whether the BackColor property should be persisted.  
    Public MethodIndicates whether the Font property should be persisted.  
    Public MethodIndicates whether the ForeColor property should be persisted.  
    Public MethodIndicates whether the PictureTransparencyColor property should be persisted.  
    Public MethodIndicates whether the PictureTransparencyTolerance property should be persisted.  
    Public MethodIndicates whether the Tag property should be persisted.  
    Public MethodIndicates whether the TextRotationAngle property should be persisted.  
    Public MethodToggles the state of the element.  
    Public Methodstatic (Shared in Visual Basic)Overloaded.   
    Public MethodCauses the control to redraw the invalidated regions with its client area.  
    Top
    Protected Methods
     NameDescription
    Protected MethodOverloaded. Gets the coordinates of the element.  
    Protected MethodGets the rectangles for the text and pictures of the element.  
    Protected MethodRaises the BackgroundImageChanged event when the background picture has changed.  
    Protected MethodRaises the Changed event when the element has changed.  
    Protected MethodRaises the Click event when the use clicks on the control.  
    Protected MethodRaises the DoubleClick event when the use double-clicks on the control.  
    Protected MethodRaises the ForegroundImageChanged event when the foreground picture has changed.  
    Protected MethodRaises the MouseDown event when the pointer button is pressed while the cursor is over the control.  
    Protected MethodRaises the MouseMove event when the pointer is moved within the control and the cursor is over the control.  
    Protected MethodRaises the MouseUp event when the pointer button is released while the cursor is over the control.  
    Protected MethodRaises the NameChanging event.  
    Protected MethodRaises the ParentChanged event when the the parent of the element has changed.  
    Protected MethodRaises the PictureChanged event when the picture has changed.  
    Protected MethodRaises the PropertyChanged event when the property on an element has changed.  
    Protected MethodPaints background color.  
    Protected MethodPaints background image.  
    Protected MethodPaints borders.  
    Protected MethodPaints elements.  
    Protected MethodPaints focus rectangle.  
    Protected MethodPaints foreground image.  
    Protected MethodPaints the picture in the element.  
    Protected MethodPaints special background.  
    Protected MethodPaints special foreground.  
    Protected MethodPaints the text of the element in the specified rectangle.  
    Protected MethodPaints the text and picture in the element.  
    Protected MethodMouseDown processing.  
    Protected MethodMouseDown processing.  
    Protected MethodResets the horizontal alignment of the element to the default value.  
    Protected MethodResets the text alignment of the element to the default value.  
    Protected MethodResets the vertical alignment of the element to the default value.  
    Protected MethodResets the background image of the element to the default value.  
    Protected MethodResets to the default value whether the element can have the focus.  
    Protected MethodResets the elements to their default settings.  
    Protected MethodResets to the default value whether the element is enabled.  
    Protected MethodResets the foreground image for the element to its default value.  
    Protected MethodResets the margin between the bottom of the element and its contents to the default value.  
    Protected MethodResets the margin between the left side of the element and its contents to the default value.  
    Protected MethodResets the margin between the right side of the element and its contents to the default value.  
    Protected MethodResets the margin between the top of the element and its contents to the default value.  
    Protected MethodInternal use only.  
    Protected MethodResets the image for the element to its default value.  
    Protected MethodResets the margin between text and picture to its default value.  
    Protected MethodResets the orientation of the picture in the element to its default value.  
    Protected MethodResets the text in an element to its default value.  
    Protected MethodResets the orientation of text in an element to its default value.  
    Protected MethodResets to the default value whether an element is visible.  
    Protected MethodSets the bounds of the element to the location and size of the bounding rectangle of the specified dimensions (in floating-point values).  
    Top
    Public Events
     NameDescription
    Public EventOccurs when the background image for the element changes.  
    Public EventOccurs when the element changes.  
    Public EventOccurs when the user clicks the element.  
    Public EventOccurs when the user double-clicks the element.  
    Public EventOccurs when the font for the element changes.  
    Public EventOccurs when the foreground image for the element changes.  
    Public EventOccurs if the user presses a mouse button while the cursor is over the element.  
    Public EventOccurs if the user moves the cursor while the cursor is over the element.  
    Public EventOccurs if the user releases a mouse button while the cursor is over the element.  
    Public EventOccurs before the Name property of the element changes.  
    Public EventOccurs when the parent of the element changes.  
    Public EventOccurs when the picture in the element changes.  
    Public EventOccurs when a property on the element changes.  
    Top
    See Also