Class LengthProperty
Inheritance
System.Object
LengthProperty
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
public class LengthProperty : EditableProperty<double>, IPropertyEntry, IShowProperty, IConstructProperty, ICommandHandler
Constructors
|
Improve this Doc
View Source
LengthProperty(IFrame, String)
Declaration
public LengthProperty(IFrame frame, string resourceId = null)
Parameters
| Type |
Name |
Description |
| IFrame |
frame |
|
| System.String |
resourceId |
|
|
Improve this Doc
View Source
LengthProperty(EditableProperty<Double>.GetValueDelegate, EditableProperty<Double>.SetValueDelegate, IFrame, String)
Declaration
public LengthProperty(EditableProperty<double>.GetValueDelegate getValueDelegate, EditableProperty<double>.SetValueDelegate setValueDelegate, IFrame frame, string resourceId = null)
Parameters
|
Improve this Doc
View Source
LengthProperty(Object, String, String, IFrame, Boolean)
Declaration
public LengthProperty(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
LengthProperty(String, IFrame, Boolean)
Declaration
[Obsolete("Parameter autoModifyWithMouse no longer supported, use LengthProperty(IFrame frame, string resourceId) instead")]
public LengthProperty(string resourceId, IFrame frame, bool autoModifyWithMouse)
Parameters
| Type |
Name |
Description |
| System.String |
resourceId |
|
| IFrame |
frame |
|
| System.Boolean |
autoModifyWithMouse |
|
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
GetLength()
Declaration
public double GetLength()
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
LengthChanged()
Declaration
public void LengthChanged()
|
Improve this Doc
View Source
SetLength(Double)
Declaration
public void SetLength(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
GetLengthEvent
Declaration
[Obsolete("use delegate LengthProperty.OnGetValue instead")]
public event LengthProperty.GetLengthDelegate GetLengthEvent
Event Type
|
Improve this Doc
View Source
LabelChangedEvent
Declaration
[Obsolete("use delegate LengthProperty.LabelTextChanged instead")]
public event EditableProperty<double>.LabelChangedDelegate LabelChangedEvent
Event Type
|
Improve this Doc
View Source
LockedChangedEvent
Declaration
[Obsolete("use delegate LengthProperty.LockedChanged instead")]
public event EditableProperty<double>.LockedChangedDelegate LockedChangedEvent
Event Type
|
Improve this Doc
View Source
ModifyWithMouseEvent
Declaration
[Obsolete("use delegate LengthProperty.ModifyWithMouse instead")]
public event ModifyWithMouseDelegate ModifyWithMouseEvent
Event Type
|
Improve this Doc
View Source
SetLengthEvent
Declaration
[Obsolete("use delegate LengthProperty.OnSetValue instead")]
public event LengthProperty.SetLengthDelegate SetLengthEvent
Event Type
Explicit Interface Implementations
|
Improve this Doc
View Source
ICommandHandler.OnCommand(String)
Declaration
bool ICommandHandler.OnCommand(string MenuId)
Parameters
| Type |
Name |
Description |
| System.String |
MenuId |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
ICommandHandler.OnSelected(MenuWithHandler, Boolean)
Declaration
void ICommandHandler.OnSelected(MenuWithHandler selectedMenuItem, bool selected)
Parameters
| Type |
Name |
Description |
| MenuWithHandler |
selectedMenuItem |
|
| System.Boolean |
selected |
|
|
Improve this Doc
View Source
ICommandHandler.OnUpdateCommand(String, CommandState)
Declaration
bool ICommandHandler.OnUpdateCommand(string MenuId, CommandState CommandState)
Parameters
| Type |
Name |
Description |
| System.String |
MenuId |
|
| CommandState |
CommandState |
|
Returns
| Type |
Description |
| System.Boolean |
|
Implements