The Instrument type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Instrument | Initializes a new instance of the Instrument class. |
Methods
| Name | Description | |
|---|---|---|
| BeginUpdate | Starts the group operations, where Invalidate method will be called once for the whole group. | |
| BringToFront | Sends the elements to front. (Inherited from Composite.) | |
| Calculate | Overridden. See Calculate()()(). (Inherited from Composite.) | |
| CanMoveBack | Determines whether the elements can move to back. (Inherited from Composite.) | |
| CanMoveForward | Determines whether the elements can move to forward. (Inherited from Composite.) | |
| ChildElementAdded | This method is called when the child element is added. (Inherited from Composite.) | |
| ChildElementRemoved | This method is called when the child element is removed. (Inherited from Composite.) | |
| CreateEmptyInstrument | Creates new empty instrument. | |
| CreateImage | Overloaded. | |
| CreateInstrumentDesignerForm | Creates specific instrument designer. | |
| Dispose | Overloaded. | |
| EndUpdate | Completes the group operations, where Invalidate method was called once for whole group. | |
| Equals | (Inherited from Object.) | |
| Finalize | Overridden. Releases unmanaged resources and performs other cleanup operations before the Element is reclaimed by garbage collection. (Inherited from Element.) | |
| GetBoundedBox | Implements GetBoundedBox()()(). (Overrides Element..::.GetBoundedBox()()().) | |
| GetByName | Overridden. See GetByName(String). (Inherited from Composite.) | |
| GetDockingBounds | Gets rectangular area in which the inner content will be located. | |
| GetElementAt | Implements GetElementAt(Vector). (Overrides Composite..::.GetElementAt(Vector).) | |
| GetFunction | Implements GetFunction(String). (Overrides Element..::.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. (Inherited from Element.) | |
| GetObject | Implements GetObject(String). (Overrides Element..::.GetObject(String).) | |
| GetParameterValue | Returns value of the instrument parameter by its name. | |
| GetPropertyNames | ||
| GetStyle | Overloaded. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Invalidate | Overloaded. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MoveBackward | Moves the elements on the one position to backward. (Inherited from Composite.) | |
| MoveForward | Moves elements on the one position to forward. (Inherited from Composite.) | |
| OnFillChanged | Executes if the fill was changed. (Inherited from Element.) | |
| OnMouseDown | Raises the MouseDown event. (Inherited from Element.) | |
| OnMouseEnter | Raises the MouseEnter event. (Inherited from Element.) | |
| OnMouseLeave | Raises the MouseLeave event. (Inherited from Element.) | |
| OnMouseMove | Raises the MouseMove event. (Inherited from Element.) | |
| OnMouseUp | Raises the MouseUp event. (Inherited from Element.) | |
| OnPaint | Overloaded. | |
| OnParentChanged | Is executed if the parent was changed. (Inherited from Element.) | |
| OnStrokeChanged | Is executeв if the stroke was changed. (Inherited from Element.) | |
| OnStyleChanged | Executes if the style was changed. (Inherited from Element.) | |
| OnVisibleChanged | Is executed if the visibility was changed. (Inherited from Element.) | |
| Paint | Implements Paint(PaintArguments). (Inherited from Element.) | |
| PutToBack | Sends the elements to back. (Inherited from Composite.) | |
| Read | Overloaded. | |
| Recalculate | Recalculates the expressions. (Inherited from Element.) | |
| ResetDataSources | Resets selected data sources. | |
| SaveAsImage | Overloaded. | |
| SetParameterValue | Sets value of the instrument parameter by its name. | |
| ToString | (Inherited from Object.) | |
| Write | Overloaded. |
Properties
| Name | Description | |
|---|---|---|
| Active | Gets or sets value that indicates whether events will be passed to this element. (Inherited from Element.) | |
| Bevel | Gets or sets Bevel which sets the drawing style of the bevel around the instrument. | |
| Bounds | Gets the bounds of the instrument. | |
| BreakEventsBubbling | Gets or sets value that indicates whether events will be passed to parent. | |
| CustomFunctions | Gets collection of user defined functions to use in expressions specially set for this instrument. | |
| DataContext | Gets or sets IDataContext object for data provide. | |
| DefaultStyleName | ||
| Elements | Implements Elements. (Inherited from Composite.) | |
| Enabled | Gets or sets whether the instrument handles the mouse events. | |
| Expressions | Gets ExpressionBindingCollection expressions that are used by this element. (Inherited from Element.) | |
| Fill | Gets or sets Fill object that is used to paint over. (Inherited from Element.) | |
| Focused | Gets or sets whether the instrument has the focus. | |
| GridStep | Gets or sets the step of the grid in the design mode. | |
| Instrument | Gets Instrument, which contains this element. (Inherited from Element.) | |
| IsFixed | Gets or sets the value which indicates that the instrument size is not changed. | |
| MeasureUnit | Gets and sets the measure unit for the instrument. | |
| Name | Gets or sets the element's name. (Inherited from Element.) | |
| Parent | Implements Parent. (Inherited from Element.) | |
| RecalculateAll | Gets or sets value that indicates whether expressions will be recalculate for all elemnts or for of these elements only. (Inherited from Element.) | |
| ShowGrid | Gets and sets whether the grid should be displayed in the design mode. | |
| Size | Gets or sets the instrument size. | |
| Smooth | Gets or sets value that indicates whether smoothing will be applied. | |
| SnapToGrid | Gets and sets whether objects should be snapped to grid in the design mode. | |
| Stroke | Gets or sets the Stroke object that is used to trace. | |
| Style | Gets or sets the name of the used style. (Inherited from Element.) | |
| StyleProvider | ||
| Styles | Gets the collection of styles. | |
| Visible | Gets or sets a value indicating whether the element is displayed. (Inherited from Element.) |
Events
| Name | Description | |
|---|---|---|
| Invalidated | Occurs after the element's display requires redrawing. | |
| MouseDown | Occurs when the mouse pointer is over the element and a mouse button is pressed. (Inherited from Element.) | |
| MouseEnter | Occurs when the mouse pointer enters the element. (Inherited from Element.) | |
| MouseLeave | Occurs when the mouse pointer leaves the element. (Inherited from Element.) | |
| MouseMove | Occurs when the mouse pointer is moved over the element. (Inherited from Element.) | |
| MouseUp | Occurs when the mouse pointer is over the element and a mouse button is released. (Inherited from Element.) |