FarPoint.Win
ElementWindowless Class Members
See Also  Properties  Methods  Events
FarPoint.Win Assembly > FarPoint.Win Namespace : ElementWindowless Class


The following tables list the members exposed by ElementWindowless.

Public Constructors

 NameDescription
Public ConstructorElementWindowless ConstructorOverloaded. Creates a new instance of a windowless element object.  
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 PropertyBorder Gets or sets the border for the element.  
Public PropertyCanFocus Gets or sets whether the element can receive focus.  
Public PropertyContainsFocus Gets 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 PropertyFocused Gets whether the element has focus.  
Public PropertyFont Gets or sets the font for the element.  
Public PropertyForeColor Gets or sets the foreground color for the element.  
Public PropertyForegroundImage Gets or sets the foreground image for the element.  
Public PropertyMarginBottom Gets or sets the margin between the bottom of the element and its contents.  
Public PropertyMarginLeft Gets or sets the margin between the left edge of the element and its contents.  
Public PropertyMarginRight Gets or sets the margin between the right edge of the element and its contents.  
Public PropertyMarginTop Gets or sets the margin between the top of the element and its contents.  
Public PropertyName Gets or sets the name of the element.  
Public PropertyPicture Gets or sets the picture for the element.  
Public PropertyPictureMargin Gets or sets the margin between the text and the picture.  
Public PropertyPictureOrientation Gets or sets the picture orientation for the element.  
Public PropertyPictureTransparencyColor Gets or sets the picture transparency color for the element.  
Public PropertyPictureTransparencyTolerance Gets or sets the picture transparency tolerance for the element.  
Public PropertyRectangle Gets the rectangular coordinates of the element.  
Public PropertyRedraw Gets or sets whether the element is allowed to paint.  
Public PropertySelectableGets or sets whether the user can interact with the element.  
Public PropertyState Gets or sets the state of the element.  
Public PropertyTag Gets or sets the Tag object for the element.  
Public PropertyText Gets or sets the text for the element.  
Public PropertyTextOrientation Gets or sets the text orientation for the element.  
Public PropertyTextRotationAngle Gets or sets the rotation angle of the text in the element.  
Public PropertyTextWrap Gets or sets whether to wrap the text in the element.  
Public PropertyVisible Gets or sets whether the element is visible.  
Top

Protected Properties

 NameDescription
Protected PropertyElements Gets the collection of IElement-derived objects that the current ElementWindowless object contains.  
Top

Public Methods

 NameDescription
Public MethodCopyTo Copies the properties of this windowless element object into the target object.  
Public MethodDeserialize Loads the object from XML.  
Public MethodFocus Moves the focus to the element.  
Public MethodGetElementStyle Gets 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 rotated text.  
Public MethodOnFontChanged Raises the FontChanged event when the font in the control has changed.  
Public MethodRefresh Forces the element to invalidate its client area and immediately repaint.  
Public MethodResetBackColor Resets the background color to its default setting.  
Public MethodResetBorder Resets the border of the element to its default settings.  
Public MethodResetFont Resets the font for the element to it default value.  
Public MethodResetForeColor Resets the text color for the element to its default value.  
Public MethodResetPictureTransparencyColor Resets the transparency of a picture in the element to its default value.  
Public MethodResetPictureTransparencyTolerance Resets the transparency tolerance for a picture in the element to its default value.  
Public MethodResetTag Resets the Tag object for the element to its default value.  
Public MethodResetTextRotationAngle Resets the rotation angle for text in the element to its default value.  
Public MethodSerialize Saves the object to XML.  
Public MethodSetBoundsOverloaded. Sets the bounds of the element to the specified location and size.  
Public MethodSetElementStyleOverloaded. Sets the style for the element.  
Public MethodToggleState Toggles the state of the element.  
Public MethodUpdate Causes the control to redraw the invalidated regions with its client area.  
Top

Protected Methods

 NameDescription
Protected MethodOnBackgroundImageChanged Raises the BackgroundImageChanged event when the background picture has changed.  
Protected MethodOnChanged Raises the Changed event when the element has changed.  
Protected MethodOnClick Raises the Click event when the use clicks on the control.  
Protected MethodOnDoubleClick Raises the DoubleClick event when the use double clicks on the control.  
Protected MethodOnForegroundImageChanged Raises the ForegroundImageChanged event when the foreground picture has changed.  
Protected MethodOnNameChanging Raises the NameChanging event.  
Protected MethodOnParentChanged Raises the ParentChanged event when the the parent of the element has changed.  
Protected MethodOnPictureChanged Raises the PictureChanged event when the picture has changed.  
Protected MethodOnPropertyChanged Raises the PropertyChanged event when the property on an element has changed.  
Protected MethodResetAlignHorz Resets the horizontal alignment of the element to the default value.  
Protected MethodResetAlignText Resets the text alignment of the element to the default value.  
Protected MethodResetAlignVert Resets the vertical alignment of the element to the default value.  
Protected MethodResetBackgroundImage Resets the background image of the element to the default value.  
Protected MethodResetCanFocus Resets to the default value whether the element can have the focus.  
Protected MethodResetElements Resets the elements to their default settings.  
Protected MethodResetEnabled Resets to the default value whether the element is enabled.  
Protected MethodResetForegroundImage Resets the foreground image for the element to its default value.  
Protected MethodResetMarginBottom Resets the margin between the bottom of the element and its contents to the default value.  
Protected MethodResetMarginLeft Resets the margin between the left side of the element and its contents to the default value.  
Protected MethodResetMarginRight Resets the margin between the right side of the element and its contents to the default value.  
Protected MethodResetMarginTop Resets the margin between the top of the element and its contents to the default value.  
Protected MethodResetPicture Resets the image for the element to its default value.  
Protected MethodResetPictureMargin Resets the margin between text and picture to its default value.  
Protected MethodResetPictureOrientation Resets the orientation of the picture in the element to its default value.  
Protected MethodResetText Resets the text in an element to its default value.  
Protected MethodResetTextOrientation Resets the orientation of text in an element to its default value.  
Protected MethodResetVisible Resets to the default value whether an element is visible.  
Protected MethodSetBoundsFloat Sets 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 EventBackgroundImageChanged Occurs when the background image for the element changes.  
Public EventChanged Occurs when the element changes.  
Public EventClick Occurs when the user clicks the element.  
Public EventDoubleClick Occurs when the user double-clicks the element.  
Public EventFontChanged Occurs when the font for the element changes.  
Public EventForegroundImageChanged Occurs when the foreground image for the element changes.  
Public EventMouseDown Occurs if the user presses a mouse button while the cursor is over the element.  
Public EventMouseMove Occurs if the user moves the cursor while the cursor is over the element.  
Public EventMouseUp Occurs if the user releases a mouse button while the cursor is over the element.  
Public EventNameChanging Occurs before the Name property of the element changes.  
Public EventPictureChanged Occurs when the picture in the element changes.  
Public EventPropertyChanged Occurs when a property on the element changes.  
Top

See Also