The Element type exposes the following members.

Constructors

  NameDescription
Element
Initializes a new instance of the Element class

Methods

  NameDescription
AddElement
Registers the element type for the use in the designer tool box.
Calculate
Calculates the expressions and sets the result to the corresponded properties.
DisposeOverloaded.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Overridden. Releases unmanaged resources and performs other cleanup operations before the Element is reclaimed by garbage collection.
(Overrides Object..::.Finalize()()().)
GetBoundedBox
GetByName
Returns the element by the name.
GetElementAt
GetFunction
Implements GetFunction(String).
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetHitTest
Returns the elements that are placed at the given point.
GetObject
Implements GetObject(String).
GetStyleOverloaded.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
InvalidateOverloaded.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnFillChanged
Executes if the fill was changed.
OnMouseDown
Raises the MouseDown event.
OnMouseEnter
Raises the MouseEnter event.
OnMouseLeave
Raises the MouseLeave event.
OnMouseMove
Raises the MouseMove event.
OnMouseUp
Raises the MouseUp event.
OnPaintOverloaded.
OnParentChanged
Is executed if the parent was changed.
OnStrokeChanged
Is executeв if the stroke was changed.
OnStyleChanged
Executes if the style was changed.
OnVisibleChanged
Is executed if the visibility was changed.
Paint
Recalculate
Recalculates the expressions.
RegisterType
Registers the element's type.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
ControlTypes
Types of the register's elements.

Properties

  NameDescription
Active
Gets or sets value that indicates whether events will be passed to this element.
BreakEventsBubbling
Gets or sets value that indicates whether events will be passed to parent.
Expressions
Gets ExpressionBindingCollection expressions that are used by this element.
Fill
Gets or sets Fill object that is used to paint over.
Instrument
Gets Instrument, which contains this element.
Name
Gets or sets the element's name.
Parent
Implements Parent.
RecalculateAll
Gets or sets value that indicates whether expressions will be recalculate for all elemnts or for of these elements only.
Smooth
Gets or sets value that indicates whether smooth will be used.
Stroke
Gets or sets Stroke object that is used to trace.
Style
Gets or sets the name of the used style.
Visible
Gets or sets a value indicating whether the element is displayed.

Events

  NameDescription
MouseDown
Occurs when the mouse pointer is over the element and a mouse button is pressed.
MouseEnter
Occurs when the mouse pointer enters the element.
MouseLeave
Occurs when the mouse pointer leaves the element.
MouseMove
Occurs when the mouse pointer is moved over the element.
MouseUp
Occurs when the mouse pointer is over the element and a mouse button is released.

See Also