Spread Windows Forms 9.0 Product Documentation
ElementWindowless Class Members
Properties  Methods  Events


The following tables list the members exposed by ElementWindowless.

Public Constructors
 NameDescription
Public ConstructorElementWindowless ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyAlignHorzGets or sets the horizontal alignment of the contents of the element.  
Public PropertyAlignTextGets or sets the alignment of the text in the element.  
Public PropertyAlignVertGets or sets the vertical alignment of the contents of the element.  
Public PropertyBackColorGets or sets the background color for the element.  
Public PropertyBackgroundImageGets or sets the background image for the element.  
Public PropertyBorderGets or sets the border for the element.  
Public PropertyCanFocusGets or sets whether the element can receive focus.  
Public PropertyContainsFocusGets whether the element currently has the input focus.  
Public PropertyDrawFocusRectangleGets or sets whether and how the focus rectangle is displayed in the element.  
Public PropertyEnabledGets or sets whether the object can receive focus and respond to user actions.  
Public PropertyFocusedGets whether the element has focus.  
Public PropertyFontGets or sets the font for the element.  
Public PropertyForeColorGets or sets the foreground color for the element.  
Public PropertyForegroundImageGets or sets the foreground image for the element.  
Public PropertyMarginBottomGets or sets the margin between the bottom of the element and its contents.  
Public PropertyMarginLeftGets or sets the margin between the left edge of the element and its contents.  
Public PropertyMarginRightGets or sets the margin between the right edge of the element and its contents.  
Public PropertyMarginTopGets or sets the margin between the top of the element and its contents.  
Public PropertyNameGets or sets the name of the element.  
Public PropertyPictureGets or sets the picture for the element.  
Public PropertyPictureMarginGets or sets the margin between the text and the picture.  
Public PropertyPictureOrientationGets or sets the picture orientation for the element.  
Public PropertyPictureTransparencyColorGets or sets the picture transparency color for the element.  
Public PropertyPictureTransparencyToleranceGets or sets the picture transparency tolerance for the element.  
Public PropertyRectangleGets the rectangular coordinates of the element.  
Public PropertyRedrawGets or sets whether the element is allowed to paint.  
Public PropertySelectableGets or sets whether the user can interact with the element.  
Public PropertyStateGets or sets the state of the element.  
Public PropertyTagGets or sets the Tag object for the element.  
Public PropertyTextGets or sets the text for the element.  
Public PropertyTextOrientationGets or sets the text orientation for the element.  
Public PropertyTextRotationAngleGets or sets the rotation angle of the text in the element.  
Public PropertyTextWrapGets or sets whether to wrap the text in the element.  
Public PropertyVisibleGets or sets whether the element is visible.  
Top
Protected Properties
 NameDescription
Protected PropertyElementsGets the collection of IElement-derived objects that the current ElementWindowless object contains.  
Top
Public Methods
 NameDescription
Public MethodCopyToCopies the properties of this windowless element object into the target object.  
Public MethodDeserializeLoads the object from XML.  
Public MethodFocusMoves the focus to the element.  
Public MethodGetElementStyleGets the style for the element.  
Public MethodGetFontGets the default font for the element.  
Public Methodstatic (Shared in Visual Basic)GetRotatedTextSizeOverloaded. Gets the size of the specified text when drawn with the specified font, orientation, wrapping, hotkey prefix, and string trimming.  
Public MethodOnFontChangedRaises the FontChanged event when the font in the control has changed.  
Public MethodRefreshForces the element to invalidate its client area and immediately repaint.  
Public MethodResetBackColorResets the background color to its default setting.  
Public MethodResetBorderResets the border of the element to its default settings.  
Public MethodResetFontResets the font for the element to it default value.  
Public MethodResetForeColorResets the text color for the element to its default value.  
Public MethodResetPictureTransparencyColorResets the transparency of a picture in the element to its default value.  
Public MethodResetPictureTransparencyToleranceResets the transparency tolerance for a picture in the element to its default value.  
Public MethodResetTagResets the Tag object for the element to its default value.  
Public MethodResetTextRotationAngleResets the rotation angle for text in the element to its default value.  
Public MethodSerializeSaves the object to XML.  
Public MethodSetBoundsOverloaded. Sets the bounds of the element to the location and size of the bounding rectangle of the specified dimensions (in integer values).  
Public MethodSetElementStyleOverloaded. Sets the style for the element.  
Public MethodToggleStateToggles the state of the element.  
Public MethodUpdateCauses the control to redraw the invalidated regions with its client area.  
Top
Protected Methods
 NameDescription
Protected MethodOnBackgroundImageChangedRaises the BackgroundImageChanged event when the background picture has changed.  
Protected MethodOnChangedRaises the Changed event when the element has changed.  
Protected MethodOnClickRaises the Click event when the use clicks on the control.  
Protected MethodOnDoubleClickRaises the DoubleClick event when the use double-clicks on the control.  
Protected MethodOnForegroundImageChangedRaises the ForegroundImageChanged event when the foreground picture has changed.  
Protected MethodOnNameChangingRaises the NameChanging event.  
Protected MethodOnParentChangedRaises the ParentChanged event when the the parent of the element has changed.  
Protected MethodOnPictureChangedRaises the PictureChanged event when the picture has changed.  
Protected MethodOnPropertyChangedRaises the PropertyChanged event when the property on an element has changed.  
Protected MethodResetAlignHorzResets the horizontal alignment of the element to the default value.  
Protected MethodResetAlignTextResets the text alignment of the element to the default value.  
Protected MethodResetAlignVertResets the vertical alignment of the element to the default value.  
Protected MethodResetBackgroundImageResets the background image of the element to the default value.  
Protected MethodResetCanFocusResets to the default value whether the element can have the focus.  
Protected MethodResetElementsResets the elements to their default settings.  
Protected MethodResetEnabledResets to the default value whether the element is enabled.  
Protected MethodResetForegroundImageResets the foreground image for the element to its default value.  
Protected MethodResetMarginBottomResets the margin between the bottom of the element and its contents to the default value.  
Protected MethodResetMarginLeftResets the margin between the left side of the element and its contents to the default value.  
Protected MethodResetMarginRightResets the margin between the right side of the element and its contents to the default value.  
Protected MethodResetMarginTopResets the margin between the top of the element and its contents to the default value.  
Protected MethodResetParentInternal use only.  
Protected MethodResetPictureResets the image for the element to its default value.  
Protected MethodResetPictureMarginResets the margin between text and picture to its default value.  
Protected MethodResetPictureOrientationResets the orientation of the picture in the element to its default value.  
Protected MethodResetTextResets the text in an element to its default value.  
Protected MethodResetTextOrientationResets the orientation of text in an element to its default value.  
Protected MethodResetVisibleResets to the default value whether an element is visible.  
Protected MethodSetBoundsFloatSets 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 EventBackgroundImageChangedOccurs when the background image for the element changes.  
Public EventChangedOccurs when the element changes.  
Public EventClickOccurs when the user clicks the element.  
Public EventDoubleClickOccurs when the user double-clicks the element.  
Public EventFontChangedOccurs when the font for the element changes.  
Public EventForegroundImageChangedOccurs when the foreground image for the element changes.  
Public EventMouseDownOccurs if the user presses a mouse button while the cursor is over the element.  
Public EventMouseMoveOccurs if the user moves the cursor while the cursor is over the element.  
Public EventMouseUpOccurs if the user releases a mouse button while the cursor is over the element.  
Public EventNameChangingOccurs before the Name property of the element changes.  
Public EventPictureChangedOccurs when the picture in the element changes.  
Public EventPropertyChangedOccurs when a property on the element changes.  
Top
See Also

Reference

ElementWindowless Class
FarPoint.Win Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.