Class DoubleProperty
Inheritance
System.Object
DoubleProperty
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: CADability.dll
Syntax
[Serializable]
public class DoubleProperty : EditableProperty<double>, IPropertyEntry, IShowProperty, IConstructProperty, IJsonSerialize, ISerializable
Constructors
|
Improve this Doc
View Source
DoubleProperty()
Empty constructor for IJsonSerialize deserialisation
Declaration
protected DoubleProperty()
|
Improve this Doc
View Source
DoubleProperty(IFrame, String)
Declaration
public DoubleProperty(IFrame frame, string resourceId = null)
Parameters
| Type |
Name |
Description |
| IFrame |
frame |
|
| System.String |
resourceId |
|
|
Improve this Doc
View Source
DoubleProperty(EditableProperty<Double>.GetValueDelegate, EditableProperty<Double>.SetValueDelegate, IFrame, String)
Declaration
public DoubleProperty(EditableProperty<double>.GetValueDelegate getValueDelegate, EditableProperty<double>.SetValueDelegate setValueDelegate, IFrame frame, string resourceId = null)
Parameters
|
Improve this Doc
View Source
DoubleProperty(Object, String, String, IFrame, Boolean)
Declaration
public DoubleProperty(object ObjectWithLength, string PropertyName, string resourceId, IFrame frame, bool autoModifyWithMouse = true)
Parameters
| Type |
Name |
Description |
| System.Object |
ObjectWithLength |
|
| System.String |
PropertyName |
|
| System.String |
resourceId |
|
| IFrame |
frame |
|
| System.Boolean |
autoModifyWithMouse |
|
|
Improve this Doc
View Source
DoubleProperty(SerializationInfo, StreamingContext)
Declaration
protected DoubleProperty(SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.Runtime.Serialization.SerializationInfo |
info |
|
| System.Runtime.Serialization.StreamingContext |
context |
|
|
Improve this Doc
View Source
DoubleProperty(String, IFrame)
Declaration
[Obsolete("Parameter autoModifyWithMouse no longer supported, use DoubleProperty(IFrame frame, string resourceId) instead")]
public DoubleProperty(string resourceId, IFrame frame)
Parameters
| Type |
Name |
Description |
| System.String |
resourceId |
|
| IFrame |
frame |
|
|
Improve this Doc
View Source
DoubleProperty(String, String, Double, IFrame)
Declaration
public DoubleProperty(string SettingName, string resourceId, double initialValue, IFrame frame)
Parameters
| Type |
Name |
Description |
| System.String |
SettingName |
|
| System.String |
resourceId |
|
| System.Double |
initialValue |
|
| IFrame |
frame |
|
Properties
|
Improve this Doc
View Source
DecimalDigits
Declaration
public int DecimalDigits { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
DoubleValue
Declaration
[Obsolete("Use DoubleProperty.GetDouble or DoubleProperty.SetDouble instead")]
public double DoubleValue { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
Methods
|
Improve this Doc
View Source
Declaration
[Obsolete("method has no functionality, remove this call")]
public void CheckMouseButton(bool Check)
Parameters
| Type |
Name |
Description |
| System.Boolean |
Check |
|
|
Improve this Doc
View Source
DoubleChanged()
Declaration
public void DoubleChanged()
|
Improve this Doc
View Source
GetDouble()
Declaration
public double GetDouble()
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
GetObjectData(SerializationInfo, StreamingContext)
Declaration
public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.Runtime.Serialization.SerializationInfo |
info |
|
| System.Runtime.Serialization.StreamingContext |
context |
|
|
Improve this Doc
View Source
SetDouble(Double)
Declaration
public void SetDouble(double l)
Parameters
| Type |
Name |
Description |
| System.Double |
l |
|
|
Improve this Doc
View Source
TextToValue(String, out Double)
Declaration
protected override bool TextToValue(string text, out double val)
Parameters
| Type |
Name |
Description |
| System.String |
text |
|
| System.Double |
val |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
CADability.UserInterface.EditableProperty<System.Double>.TextToValue(System.String, System.Double)
|
Improve this Doc
View Source
ValueToText(Double)
Declaration
protected override string ValueToText(double val)
Parameters
| Type |
Name |
Description |
| System.Double |
val |
|
Returns
| Type |
Description |
| System.String |
|
Overrides
CADability.UserInterface.EditableProperty<System.Double>.ValueToText(System.Double)
Events
|
Improve this Doc
View Source
GetDoubleEvent
Declaration
[Obsolete("use delegate DoubleProperty.OnGetValue instead")]
public event DoubleProperty.GetDoubleDelegate GetDoubleEvent
Event Type
|
Improve this Doc
View Source
LabelChangedEvent
Declaration
[Obsolete("use delegate DoubleProperty.LabelTextChanged instead")]
public event DoubleProperty.LabelChangedDelegate LabelChangedEvent
Event Type
|
Improve this Doc
View Source
LockedChangedEvent
Declaration
[Obsolete("use delegate DoubleProperty.LockedChanged instead")]
public event EditableProperty<double>.LockedChangedDelegate LockedChangedEvent
Event Type
|
Improve this Doc
View Source
ModifyWithMouseEvent
Declaration
[Obsolete("use delegate DoubleProperty.ModifyWithMouse instead")]
public event ModifyWithMouseDelegate ModifyWithMouseEvent
Event Type
|
Improve this Doc
View Source
SetDoubleEvent
Declaration
[Obsolete("use delegate DoubleProperty.OnSetValue instead")]
public event DoubleProperty.SetDoubleDelegate SetDoubleEvent
Event Type
Explicit Interface Implementations
|
Improve this Doc
View Source
IJsonSerialize.GetObjectData(IJsonWriteData)
Declaration
void IJsonSerialize.GetObjectData(IJsonWriteData data)
Parameters
|
Improve this Doc
View Source
IJsonSerialize.SetObjectData(IJsonReadData)
Declaration
void IJsonSerialize.SetObjectData(IJsonReadData data)
Parameters
Implements
System.Runtime.Serialization.ISerializable