System.ComponentModel.Description("The caption index. set this to a value of 0 up to 4 to change the corresponding caption's properties.")]
publicByteCap_Idx
{
get
{
returnm_CapIdx;
}
set
{
if((m_CapIdx!=value)
&&(0<=value)
&&(value<5))
{
m_CapIdx=value;
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The color of the caption text.")]
publicColorCapColor
{
get
{
returnm_CapColor[m_CapIdx];
}
set
{
if(m_CapColor[m_CapIdx]!=value)
{
m_CapColor[m_CapIdx]=value;
CapColors=m_CapColor;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(false)]
publicColor[]CapColors
{
get
{
returnm_CapColor;
}
set
{
m_CapColor=value;
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The text of the caption.")]
publicStringCapText
{
get
{
returnm_CapText[m_CapIdx];
}
set
{
if(m_CapText[m_CapIdx]!=value)
{
m_CapText[m_CapIdx]=value;
CapsText=m_CapText;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(false)]
publicString[]CapsText
{
get
{
returnm_CapText;
}
set
{
for(Int32counter=0;counter<5;counter++)
{
m_CapText[counter]=value[counter];
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The position of the caption.")]
publicPointCapPosition
{
get
{
returnm_CapPosition[m_CapIdx];
}
set
{
if(m_CapPosition[m_CapIdx]!=value)
{
m_CapPosition[m_CapIdx]=value;
CapsPosition=m_CapPosition;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(false)]
publicPoint[]CapsPosition
{
get
{
returnm_CapPosition;
}
set
{
m_CapPosition=value;
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The center of the gauge (in the control's client area).")]
publicPointCenter
{
get
{
returnm_Center;
}
set
{
if(m_Center!=value)
{
m_Center=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The minimum value to show on the scale.")]
publicSingleMinValue
{
get
{
returnm_MinValue;
}
set
{
if((m_MinValue!=value)
&&(value<m_MaxValue))
{
m_MinValue=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The maximum value to show on the scale.")]
publicSingleMaxValue
{
get
{
returnm_MaxValue;
}
set
{
if((m_MaxValue!=value)
&&(value>m_MinValue))
{
m_MaxValue=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The color of the base arc.")]
publicColorBaseArcColor
{
get
{
returnm_BaseArcColor;
}
set
{
if(m_BaseArcColor!=value)
{
m_BaseArcColor=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The radius of the base arc.")]
publicInt32BaseArcRadius
{
get
{
returnm_BaseArcRadius;
}
set
{
if(m_BaseArcRadius!=value)
{
m_BaseArcRadius=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The start angle of the base arc.")]
publicInt32BaseArcStart
{
get
{
returnm_BaseArcStart;
}
set
{
if(m_BaseArcStart!=value)
{
m_BaseArcStart=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The sweep angle of the base arc.")]
publicInt32BaseArcSweep
{
get
{
returnm_BaseArcSweep;
}
set
{
if(m_BaseArcSweep!=value)
{
m_BaseArcSweep=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The width of the base arc.")]
publicInt32BaseArcWidth
{
get
{
returnm_BaseArcWidth;
}
set
{
if(m_BaseArcWidth!=value)
{
m_BaseArcWidth=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The color of the inter scale lines which are the middle scale lines for an uneven number of minor scale lines.")]
publicColorScaleLinesInterColor
{
get
{
returnm_ScaleLinesInterColor;
}
set
{
if(m_ScaleLinesInterColor!=value)
{
m_ScaleLinesInterColor=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The inner radius of the inter scale lines which are the middle scale lines for an uneven number of minor scale lines.")]
publicInt32ScaleLinesInterInnerRadius
{
get
{
returnm_ScaleLinesInterInnerRadius;
}
set
{
if(m_ScaleLinesInterInnerRadius!=value)
{
m_ScaleLinesInterInnerRadius=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The outer radius of the inter scale lines which are the middle scale lines for an uneven number of minor scale lines.")]
publicInt32ScaleLinesInterOuterRadius
{
get
{
returnm_ScaleLinesInterOuterRadius;
}
set
{
if(m_ScaleLinesInterOuterRadius!=value)
{
m_ScaleLinesInterOuterRadius=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The width of the inter scale lines which are the middle scale lines for an uneven number of minor scale lines.")]
publicInt32ScaleLinesInterWidth
{
get
{
returnm_ScaleLinesInterWidth;
}
set
{
if(m_ScaleLinesInterWidth!=value)
{
m_ScaleLinesInterWidth=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The number of minor scale lines.")]
publicInt32ScaleLinesMinorNumOf
{
get
{
returnm_ScaleLinesMinorNumOf;
}
set
{
if(m_ScaleLinesMinorNumOf!=value)
{
m_ScaleLinesMinorNumOf=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The color of the minor scale lines.")]
publicColorScaleLinesMinorColor
{
get
{
returnm_ScaleLinesMinorColor;
}
set
{
if(m_ScaleLinesMinorColor!=value)
{
m_ScaleLinesMinorColor=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The inner radius of the minor scale lines.")]
publicInt32ScaleLinesMinorInnerRadius
{
get
{
returnm_ScaleLinesMinorInnerRadius;
}
set
{
if(m_ScaleLinesMinorInnerRadius!=value)
{
m_ScaleLinesMinorInnerRadius=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The outer radius of the minor scale lines.")]
publicInt32ScaleLinesMinorOuterRadius
{
get
{
returnm_ScaleLinesMinorOuterRadius;
}
set
{
if(m_ScaleLinesMinorOuterRadius!=value)
{
m_ScaleLinesMinorOuterRadius=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The width of the minor scale lines.")]
publicInt32ScaleLinesMinorWidth
{
get
{
returnm_ScaleLinesMinorWidth;
}
set
{
if(m_ScaleLinesMinorWidth!=value)
{
m_ScaleLinesMinorWidth=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The step value of the major scale lines.")]
System.ComponentModel.Description("The range index. set this to a value of 0 up to 4 to change the corresponding range's properties.")]
publicByteRange_Idx
{
get
{
returnm_RangeIdx;
}
set
{
if((m_RangeIdx!=value)
&&(0<=value)
&&(value<NUMOFRANGES))
{
m_RangeIdx=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("Enables or disables the range selected by Range_Idx.")]
publicBooleanRangeEnabled
{
get
{
returnm_RangeEnabled[m_RangeIdx];
}
set
{
if(m_RangeEnabled[m_RangeIdx]!=value)
{
m_RangeEnabled[m_RangeIdx]=value;
RangesEnabled=m_RangeEnabled;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(false)]
publicBoolean[]RangesEnabled
{
get
{
returnm_RangeEnabled;
}
set
{
m_RangeEnabled=value;
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The color of the range.")]
publicColorRangeColor
{
get
{
returnm_RangeColor[m_RangeIdx];
}
set
{
if(m_RangeColor[m_RangeIdx]!=value)
{
m_RangeColor[m_RangeIdx]=value;
RangesColor=m_RangeColor;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(false)]
publicColor[]RangesColor
{
get
{
returnm_RangeColor;
}
set
{
m_RangeColor=value;
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The start value of the range, must be less than RangeEndValue.")]
publicSingleRangeStartValue
{
get
{
returnm_RangeStartValue[m_RangeIdx];
}
set
{
if((m_RangeStartValue[m_RangeIdx]!=value)
&&(value<m_RangeEndValue[m_RangeIdx]))
{
m_RangeStartValue[m_RangeIdx]=value;
RangesStartValue=m_RangeStartValue;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(false)]
publicSingle[]RangesStartValue
{
get
{
returnm_RangeStartValue;
}
set
{
m_RangeStartValue=value;
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The end value of the range. Must be greater than RangeStartValue.")]
publicSingleRangeEndValue
{
get
{
returnm_RangeEndValue[m_RangeIdx];
}
set
{
if((m_RangeEndValue[m_RangeIdx]!=value)
&&(m_RangeStartValue[m_RangeIdx]<value))
{
m_RangeEndValue[m_RangeIdx]=value;
RangesEndValue=m_RangeEndValue;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(false)]
publicSingle[]RangesEndValue
{
get
{
returnm_RangeEndValue;
}
set
{
m_RangeEndValue=value;
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The inner radius of the range.")]
publicInt32RangeInnerRadius
{
get
{
returnm_RangeInnerRadius[m_RangeIdx];
}
set
{
if(m_RangeInnerRadius[m_RangeIdx]!=value)
{
m_RangeInnerRadius[m_RangeIdx]=value;
RangesInnerRadius=m_RangeInnerRadius;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(false)]
publicInt32[]RangesInnerRadius
{
get
{
returnm_RangeInnerRadius;
}
set
{
m_RangeInnerRadius=value;
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The inner radius of the range.")]
publicInt32RangeOuterRadius
{
get
{
returnm_RangeOuterRadius[m_RangeIdx];
}
set
{
if(m_RangeOuterRadius[m_RangeIdx]!=value)
{
m_RangeOuterRadius[m_RangeIdx]=value;
RangesOuterRadius=m_RangeOuterRadius;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(false)]
publicInt32[]RangesOuterRadius
{
get
{
returnm_RangeOuterRadius;
}
set
{
m_RangeOuterRadius=value;
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The radius of the scale numbers.")]
publicInt32ScaleNumbersRadius
{
get
{
returnm_ScaleNumbersRadius;
}
set
{
if(m_ScaleNumbersRadius!=value)
{
m_ScaleNumbersRadius=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The color of the scale numbers.")]
publicColorScaleNumbersColor
{
get
{
returnm_ScaleNumbersColor;
}
set
{
if(m_ScaleNumbersColor!=value)
{
m_ScaleNumbersColor=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The format of the scale numbers.")]
publicStringScaleNumbersFormat
{
get
{
returnm_ScaleNumbersFormat;
}
set
{
if(m_ScaleNumbersFormat!=value)
{
m_ScaleNumbersFormat=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The number of the scale line to start writing numbers next to.")]
publicInt32ScaleNumbersStartScaleLine
{
get
{
returnm_ScaleNumbersStartScaleLine;
}
set
{
if(m_ScaleNumbersStartScaleLine!=value)
{
m_ScaleNumbersStartScaleLine=Math.Max(value,1);
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The number of scale line steps for writing numbers.")]
publicInt32ScaleNumbersStepScaleLines
{
get
{
returnm_ScaleNumbersStepScaleLines;
}
set
{
if(m_ScaleNumbersStepScaleLines!=value)
{
m_ScaleNumbersStepScaleLines=Math.Max(value,1);
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The angle relative to the tangent of the base arc at a scale line that is used to rotate numbers. set to 0 for no rotation or e.g. set to 90.")]
System.ComponentModel.Description("The type of the needle, currently only type 0 and 1 are supported. Type 0 looks nicers but if you experience performance problems you might consider using type 1.")]
publicInt32NeedleType
{
get
{
returnm_NeedleType[m_NeedIdx];
}
set
{
if(m_NeedleType[m_NeedIdx]!=value)
{
m_NeedleType[m_NeedIdx]=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(false)]
publicInt32[]NeedlesType
{
get
{
returnm_NeedleType;
}
set
{
m_NeedleType=value;
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The radius of the needle.")]
publicInt32NeedleRadius
{
get
{
returnm_NeedleRadius[m_NeedIdx];
}
set
{
if(m_NeedleRadius[m_NeedIdx]!=value)
{
m_NeedleRadius[m_NeedIdx]=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(false)]
publicInt32[]NeedlesRadius
{
get
{
returnm_NeedleRadius;
}
set
{
m_NeedleRadius=value;
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The first color of the needle.")]
publicNeedleColorEnumNeedleColor1
{
get
{
returnm_NeedleColor1[m_NeedIdx];
}
set
{
if(m_NeedleColor1[m_NeedIdx]!=value)
{
m_NeedleColor1[m_NeedIdx]=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(false)]
publicNeedleColorEnum[]NeedlesColor1
{
get
{
returnm_NeedleColor1;
}
set
{
m_NeedleColor1=value;
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The second color of the needle.")]
publicColorNeedleColor2
{
get
{
returnm_NeedleColor2[m_NeedIdx];
}
set
{
if(m_NeedleColor2[m_NeedIdx]!=value)
{
m_NeedleColor2[m_NeedIdx]=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(false)]
publicColor[]NeedlesColor2
{
get
{
returnm_NeedleColor2;
}
set
{
m_NeedleColor2=value;
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("The width of the needle.")]
publicInt32NeedleWidth
{
get
{
returnm_NeedleWidth[m_NeedIdx];
}
set
{
if(m_NeedleWidth[m_NeedIdx]!=value)
{
m_NeedleWidth[m_NeedIdx]=value;
drawGaugeBackground=true;
Refresh();
}
}
}
[System.ComponentModel.Browsable(false)]
publicInt32[]NeedlesWidth
{
get
{
returnm_NeedleWidth;
}
set
{
m_NeedleWidth=value;
}
}
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("AGauge"),
System.ComponentModel.Description("Enables or disables the range selected by Need_Idx.")]