Class AngleProperty
Inheritance
System.Object
AngleProperty
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 AngleProperty : EditableProperty<Angle>, IPropertyEntry, IShowProperty, IConstructProperty, ICommandHandler
Constructors
|
Improve this Doc
View Source
AngleProperty(IFrame, String)
Declaration
public AngleProperty(IFrame frame, string resourceId = null)
Parameters
| Type |
Name |
Description |
| IFrame |
frame |
|
| System.String |
resourceId |
|
|
Improve this Doc
View Source
AngleProperty(EditableProperty<Angle>.GetValueDelegate, EditableProperty<Angle>.SetValueDelegate, IFrame, String)
Declaration
public AngleProperty(EditableProperty<Angle>.GetValueDelegate getValueDelegate, EditableProperty<Angle>.SetValueDelegate setValueDelegate, IFrame frame, string resourceId = null)
Parameters
|
Improve this Doc
View Source
AngleProperty(Object, String, String, IFrame, Boolean)
Declaration
public AngleProperty(object ObjectWithAngle, string PropertyName, string resourceId, IFrame frame, bool autoModifyWithMouse = true)
Parameters
| Type |
Name |
Description |
| System.Object |
ObjectWithAngle |
|
| System.String |
PropertyName |
|
| System.String |
resourceId |
|
| IFrame |
frame |
|
| System.Boolean |
autoModifyWithMouse |
|
|
Improve this Doc
View Source
AngleProperty(String, IFrame, Boolean)
Declaration
[Obsolete("Parameter autoModifyWithMouse no longer supported, use AngleProperty(IFrame frame, string resourceId) instead")]
public AngleProperty(string resourceId, IFrame frame, bool autoModifyWithMouse)
Parameters
| Type |
Name |
Description |
| System.String |
resourceId |
|
| IFrame |
frame |
|
| System.Boolean |
autoModifyWithMouse |
|
Properties
|
Improve this Doc
View Source
PreferNegativeValues
Declaration
public bool PreferNegativeValues { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
|
Improve this Doc
View Source
AngleChanged()
Declaration
public void AngleChanged()
|
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
GetAngle()
Declaration
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
SetAngle(Double)
Declaration
public void SetAngle(double l)
Parameters
| Type |
Name |
Description |
| System.Double |
l |
|
|
Improve this Doc
View Source
TextToValue(String, out Angle)
Declaration
protected override bool TextToValue(string text, out Angle val)
Parameters
| Type |
Name |
Description |
| System.String |
text |
|
| Angle |
val |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
CADability.UserInterface.EditableProperty<CADability.Angle>.TextToValue(System.String, CADability.Angle)
|
Improve this Doc
View Source
ValueToText(Angle)
Declaration
protected override string ValueToText(Angle val)
Parameters
| Type |
Name |
Description |
| Angle |
val |
|
Returns
| Type |
Description |
| System.String |
|
Overrides
CADability.UserInterface.EditableProperty<CADability.Angle>.ValueToText(CADability.Angle)
Events
|
Improve this Doc
View Source
GetAngleEvent
Declaration
[Obsolete("use delegate AngleProperty.OnGetValue instead")]
public event AngleProperty.GetAngleDelegate GetAngleEvent
Event Type
|
Improve this Doc
View Source
LabelChangedEvent
Declaration
[Obsolete("use delegate AngleProperty.LabelTextChanged instead")]
public event AngleProperty.LabelChangedDelegate LabelChangedEvent
Event Type
|
Improve this Doc
View Source
LockedChangedEvent
Declaration
[Obsolete("use delegate AngleProperty.LockedChanged instead")]
public event EditableProperty<Angle>.LockedChangedDelegate LockedChangedEvent
Event Type
|
Improve this Doc
View Source
ModifyWithMouseEvent
Declaration
[Obsolete("use delegate AngleProperty.ModifyWithMouse instead")]
public event ModifyWithMouseDelegate ModifyWithMouseEvent
Event Type
|
Improve this Doc
View Source
SetAngleEvent
Declaration
[Obsolete("use delegate AngleProperty.OnSetValue instead")]
public event AngleProperty.SetAngleDelegate SetAngleEvent
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