DoublePart Class
Represents a Double
part.
public class DoublePart : FormattedPartBase<double?>, ISpinnablePart<double?>, IPart
- Inheritance:
- object PartBase<double?> FormattedPartBase<double?> object
- Implements:
- ISpinnablePart<double?> IPart
Constructors
DoublePart()
Initializes an instance of the class.
public DoublePart()
Properties
IsComposited
Gets whether the part is composited with other parts in an exit box.
protected virtual bool IsComposited { get; }
Property Value
- bool:
true
if the part is composited with other parts in an exit box; otherwise,false
.
Methods
ApplyIncrementalChange(IncrementalChangeRequest<double?>)
Applies an incremental change to the part's value.
public bool ApplyIncrementalChange(IncrementalChangeRequest<double?> request)
Parameter | Type | Description |
---|---|---|
request | IncrementalChangeRequest<double?> | The incremental change request. |
Returns
- bool:
true
if an incremental change was made; otherwise,false
.
TryParseText(IList<IPart>, string, int, CultureInfo, out int)
Tries to parse the text starting offset and returns the offset through which parsing was completed.
public override bool TryParseText(IList<IPart> parts, string text, int startOffset, CultureInfo culture, out int offset)
Parameter | Type | Description |
---|---|---|
parts | IList<IPart> | The part collection in which this part is a member. |
text | string | The text to examine. |
startOffset | int | The start offset. |
culture | CultureInfo | The CultureInfo to use. |
offset | int | Returns the offset through which parsing was completed. |
Returns
- bool:
true
if parsing was successful; otherwise,false
.
Inherited Members
- FormattedPartBase<double?>.CoerceFormat(string)
- FormattedPartBase<double?>.Format
- PartBase<double?>.IsEditable
- PartBase<double?>.IsLiteral
- PartBase<double?>.IsOptional
- PartBase<double?>.Length
- PartBase<double?>.StartOffset
- PartBase<double?>.StringValue
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()