Class StringProperty
Inheritance
System.Object
StringProperty
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 StringProperty : EditableProperty<string>, IPropertyEntry, IShowProperty, IConstructProperty, ISerializable, ISettingChanged
Constructors
|
Improve this Doc
View Source
StringProperty(Object, String, String)
Declaration
public StringProperty(object ObjectWithProperty, string PropertyName, string resourceId)
Parameters
| Type |
Name |
Description |
| System.Object |
ObjectWithProperty |
|
| System.String |
PropertyName |
|
| System.String |
resourceId |
|
|
Improve this Doc
View Source
StringProperty(SerializationInfo, StreamingContext)
Declaration
protected StringProperty(SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.Runtime.Serialization.SerializationInfo |
info |
|
| System.Runtime.Serialization.StreamingContext |
context |
|
|
Improve this Doc
View Source
StringProperty(String, String)
Declaration
public StringProperty(string stringValue, string resourceId)
Parameters
| Type |
Name |
Description |
| System.String |
stringValue |
|
| System.String |
resourceId |
|
Properties
|
Improve this Doc
View Source
NotifyOnLostFocusOnly
Declaration
[Obsolete("use DeferUpdate instead")]
public bool NotifyOnLostFocusOnly { set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
|
Improve this Doc
View Source
GetString()
Declaration
[Obsolete("use GetValue instead")]
public string GetString()
Returns
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
SetString(String)
Declaration
[Obsolete("use SetValue instead")]
public void SetString(string val)
Parameters
| Type |
Name |
Description |
| System.String |
val |
|
|
Improve this Doc
View Source
TextToValue(String, out String)
Declaration
protected override bool TextToValue(string text, out string val)
Parameters
| Type |
Name |
Description |
| System.String |
text |
|
| System.String |
val |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
CADability.UserInterface.EditableProperty<System.String>.TextToValue(System.String, System.String)
|
Improve this Doc
View Source
ValueToText(String)
Declaration
protected override string ValueToText(string val)
Parameters
| Type |
Name |
Description |
| System.String |
val |
|
Returns
| Type |
Description |
| System.String |
|
Overrides
CADability.UserInterface.EditableProperty<System.String>.ValueToText(System.String)
Events
|
Improve this Doc
View Source
GetStringEvent
Declaration
[Obsolete("use delegate StringProperty.OnGetValue instead")]
public event StringProperty.GetStringDelegate GetStringEvent
Event Type
|
Improve this Doc
View Source
SetStringEvent
Declaration
[Obsolete("use delegate StringProperty.OnSetValue instead")]
public event StringProperty.SetStringDelegate SetStringEvent
Event Type
|
Improve this Doc
View Source
SettingChangedEvent
Declaration
public event SettingChangedDelegate SettingChangedEvent
Event Type
|
Improve this Doc
View Source
StringChangedEvent
Declaration
[Obsolete("use delegate StringProperty.OnSetValue instead")]
public event StringProperty.StringChangedDelegate StringChangedEvent
Event Type
Explicit Interface Implementations
|
Improve this Doc
View Source
ISerializable.GetObjectData(SerializationInfo, StreamingContext)
Declaration
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.Runtime.Serialization.SerializationInfo |
info |
|
| System.Runtime.Serialization.StreamingContext |
context |
|
Implements
System.Runtime.Serialization.ISerializable