Show / Hide Table of Contents

Class LengthProperty

Inheritance
System.Object
PropertyEntryImpl
EditableProperty<System.Double>
LengthProperty
Implements
IPropertyEntry
IShowProperty
IConstructProperty
ICommandHandler
Inherited Members
EditableProperty<Double>.hotspotPosition
EditableProperty<Double>.ModifyWithMouse
EditableProperty<Double>.LockedChanged
EditableProperty<Double>.OnGetValue
EditableProperty<Double>.OnSetValue
EditableProperty<Double>.GetConnectedObject()
EditableProperty<Double>.GetConnectedPropertyName()
EditableProperty<Double>.UserData
EditableProperty<Double>.LabelIsEditable
EditableProperty<Double>.GetHotspotPosition()
EditableProperty<Double>.StartModifyWithMouse()
EditableProperty<Double>.SetHotspotPosition(GeoPoint)
EditableProperty<Double>.PrependContextMenu
EditableProperty<Double>.IsSelected
EditableProperty<Double>.ShowMouseButton
EditableProperty<Double>.Lockable
EditableProperty<Double>.Locked
EditableProperty<Double>.Highlight
EditableProperty<Double>.SetContextMenu(String, ICommandHandler)
EditableProperty<Double>.GetContextMenuId()
EditableProperty<Double>.FireModifyWithMouse(Boolean)
EditableProperty<Double>.SetFocus()
EditableProperty<Double>.LabelTextChanged
EditableProperty<Double>.LabelChanged(String)
EditableProperty<Double>.GetValue()
EditableProperty<Double>.SetValue(Double, Boolean)
EditableProperty<Double>.Flags
EditableProperty<Double>.Added(IPropertyPage)
EditableProperty<Double>.Value
EditableProperty<Double>.ContextMenu
EditableProperty<Double>.StartEdit(Boolean)
EditableProperty<Double>.EditTextChanged(String)
EditableProperty<Double>.EndEdit(Boolean, Boolean, String)
PropertyEntryImpl.resourceId
PropertyEntryImpl.labelText
PropertyEntryImpl.PropertyEntryChangedState(StateChangedArgs)
PropertyEntryImpl.Frame
PropertyEntryImpl.Refresh()
PropertyEntryImpl.propertyPage
PropertyEntryImpl.propertyTreeView
PropertyEntryImpl.IsOpen
PropertyEntryImpl.Label
PropertyEntryImpl.LabelText
PropertyEntryImpl.ResourceId
PropertyEntryImpl.Parent
PropertyEntryImpl.Index
PropertyEntryImpl.IndentLevel
PropertyEntryImpl.SubItems
PropertyEntryImpl.DeferUpdate
PropertyEntryImpl.PropertyEntryChangedStateEvent
PropertyEntryImpl.ButtonClicked(PropertyEntryButton)
PropertyEntryImpl.GetDropDownList()
PropertyEntryImpl.ListBoxSelected(Int32)
PropertyEntryImpl.Opened(Boolean)
PropertyEntryImpl.OpenOrCloseSubEntries()
PropertyEntryImpl.Removed(IPropertyPage)
PropertyEntryImpl.Select()
PropertyEntryImpl.Selected(IPropertyEntry)
PropertyEntryImpl.UnSelected(IPropertyEntry)
PropertyEntryImpl.ReadOnly
PropertyEntryImpl.StateChangedEvent
PropertyEntryImpl.IShowProperty.LabelText
PropertyEntryImpl.IShowProperty.HelpLink
PropertyEntryImpl.IShowProperty.InfoText
PropertyEntryImpl.IShowProperty.LabelType
PropertyEntryImpl.IShowProperty.EntryType
PropertyEntryImpl.SubEntriesCount
PropertyEntryImpl.SubEntries
PropertyEntryImpl.IShowProperty.OwnerDrawHeight
PropertyEntryImpl.IShowProperty.Hidden
PropertyEntryImpl.IShowProperty.IsSelected
PropertyEntryImpl.IShowProperty.Added(IPropertyTreeView)
PropertyEntryImpl.IShowProperty.Selected()
PropertyEntryImpl.IShowProperty.UnSelected()
PropertyEntryImpl.IShowProperty.ChildSelected(IShowProperty)
PropertyEntryImpl.Concat(IPropertyEntry[], IPropertyEntry[])
PropertyEntryImpl.IShowProperty.Removed(IPropertyTreeView)
PropertyEntryImpl.IShowProperty.ShowOpen(Boolean)
PropertyEntryImpl.IShowProperty.SetTabIndex(Int32)
PropertyEntryImpl.IShowProperty.LabelChanged(String)
PropertyEntryImpl.IShowProperty.SetFocus()
PropertyEntryImpl.IShowProperty.Refresh()
PropertyEntryImpl.IShowProperty.OnEnterPressed()
PropertyEntryImpl.IShowProperty.OnVisibilityChanged(Boolean)
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()
Namespace: CADability.UserInterface
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
Type Name Description
EditableProperty.GetValueDelegate<> getValueDelegate
EditableProperty.SetValueDelegate<> setValueDelegate
IFrame frame
System.String resourceId
| 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

CheckMouseButton(Boolean)

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
Type Description
LengthProperty.GetLengthDelegate
| Improve this Doc View Source

LabelChangedEvent

Declaration
[Obsolete("use delegate LengthProperty.LabelTextChanged instead")]
public event EditableProperty<double>.LabelChangedDelegate LabelChangedEvent
Event Type
Type Description
EditableProperty.LabelChangedDelegate<>
| Improve this Doc View Source

LockedChangedEvent

Declaration
[Obsolete("use delegate LengthProperty.LockedChanged instead")]
public event EditableProperty<double>.LockedChangedDelegate LockedChangedEvent
Event Type
Type Description
EditableProperty.LockedChangedDelegate<>
| Improve this Doc View Source

ModifyWithMouseEvent

Declaration
[Obsolete("use delegate LengthProperty.ModifyWithMouse instead")]
public event ModifyWithMouseDelegate ModifyWithMouseEvent
Event Type
Type Description
ModifyWithMouseDelegate
| Improve this Doc View Source

SetLengthEvent

Declaration
[Obsolete("use delegate LengthProperty.OnSetValue instead")]
public event LengthProperty.SetLengthDelegate SetLengthEvent
Event Type
Type Description
LengthProperty.SetLengthDelegate

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

IPropertyEntry
IShowProperty
IConstructProperty
ICommandHandler
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX