The Tank type exposes the following members.

Constructors

  NameDescription
Tank
Initializes a new instance of the Tank class.

Methods

  NameDescription
Calculate (Inherited from ScaleElement.)
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.
(Inherited from Element.)
GetBoundedBox (Inherited from Element.)
GetByName
Returns the element by the name.
(Inherited from Element.)
GetColor
Returns the color by the given value.
(Inherited from ScaleElement.)
GetElementAt (Inherited from Element.)
GetFunction
Implements GetFunction(String).
(Inherited from Element.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetHitTest
Overridden. See GetHitTest(Vector).
(Overrides Element..::.GetHitTest(Vector).)
GetMaxValue
Return maximim value from represented values.
(Inherited from ValuePresenterScaleElement.)
GetMinValue
Returns minimum value from represented values.
(Inherited from ValuePresenterScaleElement.)
GetObject
Implements GetObject(String).
(Inherited from Element.)
GetSize
Implements GetSize()()().
(Overrides ScaleElement..::.GetSize()()().)
GetSmartValue
Returns value by SmartValue amd calculated value for the Auto case.
(Inherited from ValuePresenterScaleElement.)
GetStartValue
Returns start value.
(Inherited from ScaleElement.)
GetStyleOverloaded.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
InvalidateOverloaded.
IsPaint
Returns a value that shows whether it is needed to draw a scale element by the specified value on the scale.
(Inherited from ScaleElement.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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.)
OnPaintOverloaded.
OnParentChanged
Is called when the Parent property is changed.
(Inherited from ScaleElement.)
OnStrokeChanged
Is executeв if the stroke was changed.
(Inherited from Element.)
OnStyleChanged
Is called when the Style property is changed.
(Inherited from ScaleElement.)
OnVisibleChanged
Is executed if the visibility was changed.
(Inherited from Element.)
Paint (Inherited from Element.)
Recalculate
Recalculates the expressions.
(Inherited from Element.)
ResetMeasure
Implements ResetMeasure()()().
(Inherited from ScaleElement.)
SetStartDistance (Inherited from ScaleElement.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Active
Gets or sets value that indicates whether events will be passed to this element.
(Inherited from Element.)
BreakEventsBubbling
Gets or sets value that indicates whether events will be passed to parent.
(Inherited from Element.)
Colorizer
Gets or sets Colorizer for element.
(Inherited from ScaleElement.)
Depth
Gets or sets depth of the tank.
Distance
Gets or sets distance.
(Inherited from ScaleElement.)
Dock
Implements Dock.
(Inherited from ScaleElement.)
Effect3D
Gets or sets 3d effects mode.
Expressions
Gets ExpressionBindingCollection expressions that are used by this element.
(Inherited from Element.)
Fill
Gets or sets the Fill object that is used to paint over.
Instrument
Gets Instrument, which contains this element.
(Inherited from Element.)
LiquidColor
Gets or sets liquid color in this tank.
MaxLimit
Gets or sets maximum value limit.
(Inherited from ScaleElement.)
MinLimit
Gets or sets minimum value limit.
(Inherited from ScaleElement.)
Name
Gets or sets the element's name.
(Inherited from Element.)
Origin
Gets or sets scale start point that is used during scale elements allocation.
(Inherited from ScaleElement.)
Padding
Implements Padding.
(Inherited from ScaleElement.)
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.)
Scale
Gets a scale where an element is located.
(Inherited from ScaleElement.)
Smooth
Gets or sets value that indicates whether smooth will be used.
(Inherited from Element.)
Stroke
Gets or sets Stroke object that is used to trace.
(Inherited from Element.)
Style
Gets or sets the name of the used style.
(Inherited from Element.)
TankColor
Gets or sets the color of the tank.
TankWidth
Gets or sets width of the tank wall.
Value
Gets or sets represented value.
(Inherited from ValuePresenterScaleElement.)
Visible
Gets or sets a value indicating whether the element is displayed.
(Inherited from Element.)
Width
Gets or sets width of the thank.

Events

  NameDescription
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.)

See Also