Spread Windows Forms 10.0 Product Documentation
ElementWindowless Class Methods


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

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 Methodstatic (Shared in Visual Basic)ToGrayscaleOverloaded.   
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
See Also

Reference

ElementWindowless Class
FarPoint.Win Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.