Class IntegerProperty
Anzeige einer int Eigenschaft in einem ShowProperty Control. Dieses Objekt
kann eine int Eigenschaft eines beliebigen anderen Objektes verändern, vorausgesetzt
das Objekt selbst und der Name der betreffenden Property werden bekanntgegeben.
Dieses Objekt kann auch in den Settings verwendet werden. Dann hält es den int
Wert selbst und kann serialisiert werden.
Inheritance
System.Object
IntegerProperty
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.Serialization.IDeserializationCallback
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 IntegerProperty : IShowPropertyImpl, IShowProperty, IPropertyEntry, ISerializable, ISettingChanged, ICommandHandler, IDeserializationCallback, IJsonSerialize, IJsonSerializeDone
Constructors
|
Improve this Doc
View Source
IntegerProperty()
Declaration
protected IntegerProperty()
|
Improve this Doc
View Source
IntegerProperty(Int32, String)
Declaration
public IntegerProperty(int initialValue, string resourceId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
initialValue |
|
| System.String |
resourceId |
|
|
Improve this Doc
View Source
IntegerProperty(Object, String, String)
Declaration
public IntegerProperty(object ObjectWithInt, string PropertyName, string resourceId)
Parameters
| Type |
Name |
Description |
| System.Object |
ObjectWithInt |
|
| System.String |
PropertyName |
|
| System.String |
resourceId |
|
|
Improve this Doc
View Source
IntegerProperty(SerializationInfo, StreamingContext)
Constructor required by deserialization
Declaration
protected IntegerProperty(SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.Runtime.Serialization.SerializationInfo |
info |
SerializationInfo
|
| System.Runtime.Serialization.StreamingContext |
context |
StreamingContext
|
|
Improve this Doc
View Source
IntegerProperty(String, String)
Declaration
public IntegerProperty(string resourceId, string settingName)
Parameters
| Type |
Name |
Description |
| System.String |
resourceId |
|
| System.String |
settingName |
|
Properties
|
Improve this Doc
View Source
Declaration
public override MenuWithHandler[] ContextMenu { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Flags
Declaration
public override PropertyEntryType Flags { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Highlight
Declaration
public bool Highlight { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IntegerValue
Declaration
public int IntegerValue { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
LabelType
Declaration
public override ShowPropertyLabelFlags LabelType { get; }
Property Value
Overrides
|
Improve this Doc
View Source
NotifyOnLostFocusOnly
Declaration
public bool NotifyOnLostFocusOnly { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
ReadOnly
Declaration
public bool ReadOnly { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
UpDownOnly
Declaration
public bool UpDownOnly { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Value
Declaration
public override string Value { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
Methods
|
Improve this Doc
View Source
Added(IPropertyPage)
Declaration
public override void Added(IPropertyPage propertyTreeView)
Parameters
Overrides
|
Improve this Doc
View Source
AddSpecialValue(Int32, String)
Declaration
public void AddSpecialValue(int val, string resourceId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
val |
|
| System.String |
resourceId |
|
|
Improve this Doc
View Source
EditTextChanged(String)
Declaration
public override bool EditTextChanged(string newValue)
Parameters
| Type |
Name |
Description |
| System.String |
newValue |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
|
Improve this Doc
View Source
EndEdit(Boolean, Boolean, String)
Declaration
public override void EndEdit(bool aborted, bool modified, string newValue)
Parameters
| Type |
Name |
Description |
| System.Boolean |
aborted |
|
| System.Boolean |
modified |
|
| System.String |
newValue |
|
Overrides
|
Improve this Doc
View Source
GetObjectData(SerializationInfo, StreamingContext)
Implements System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
Declaration
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.Runtime.Serialization.SerializationInfo |
info |
The System.Runtime.Serialization.SerializationInfo to populate with data.
|
| System.Runtime.Serialization.StreamingContext |
context |
The destination (System.Runtime.Serialization.StreamingContext) for this serialization.
|
|
Improve this Doc
View Source
IntChanged()
Der Besitzer dieses Objektes muss GeoPointChanged aufrufen, um eine neue Anzeige zu erzwingen.
Declaration
|
Improve this Doc
View Source
Refresh()
Declaration
public override void Refresh()
Overrides
|
Improve this Doc
View Source
Removed(IPropertyTreeView)
Declaration
public override void Removed(IPropertyTreeView propertyTreeView)
Parameters
| Type |
Name |
Description |
| IPropertyTreeView |
propertyTreeView |
the IPropertyTreeView from which it was removed
|
Overrides
|
Improve this Doc
View Source
Selected()
Declaration
public override void Selected()
Overrides
|
Improve this Doc
View Source
SetFocus()
Declaration
public override void SetFocus()
Overrides
|
Improve this Doc
View Source
SetInt(Int32)
Declaration
public void SetInt(int d)
Parameters
| Type |
Name |
Description |
| System.Int32 |
d |
|
|
Improve this Doc
View Source
SetMinMax(Int32, Int32, Boolean)
Declaration
public void SetMinMax(int min, int max, bool showupdown)
Parameters
| Type |
Name |
Description |
| System.Int32 |
min |
|
| System.Int32 |
max |
|
| System.Boolean |
showupdown |
|
|
Improve this Doc
View Source
StartEdit(Boolean)
Declaration
public override void StartEdit(bool editValue)
Parameters
| Type |
Name |
Description |
| System.Boolean |
editValue |
|
Overrides
|
Improve this Doc
View Source
UnSelected()
Declaration
public override void UnSelected()
Overrides
Events
|
Improve this Doc
View Source
GetIntEvent
Declaration
public event IntegerProperty.GetIntDelegate GetIntEvent
Event Type
|
Improve this Doc
View Source
SetIntEvent
Declaration
public event IntegerProperty.SetIntDelegate SetIntEvent
Event Type
|
Improve this Doc
View Source
SettingChangedEvent
Declaration
public event SettingChangedDelegate SettingChangedEvent
Event Type
Operators
|
Improve this Doc
View Source
Explicit(IntegerProperty to Int32)
Declaration
public static explicit operator int (IntegerProperty ip)
Parameters
Returns
| Type |
Description |
| System.Int32 |
|
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
|
Improve this Doc
View Source
IJsonSerializeDone.SerializationDone()
Declaration
void IJsonSerializeDone.SerializationDone()
|
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 |
|
|
Improve this Doc
View Source
IDeserializationCallback.OnDeserialization(Object)
Declaration
void IDeserializationCallback.OnDeserialization(object sender)
Parameters
| Type |
Name |
Description |
| System.Object |
sender |
|
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.Serialization.IDeserializationCallback