Spread Windows Forms 18
FarPoint.Win Assembly / FarPoint.Win Namespace / ButtonElement Class
Fields Properties Methods Events


In This Topic
    ButtonElement Class Members
    In This Topic

    The following tables list the members exposed by ButtonElement.

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