Show / Hide Table of Contents

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
IShowPropertyImpl
IntegerProperty
Implements
IShowProperty
IPropertyEntry
System.Runtime.Serialization.ISerializable
ISettingChanged
ICommandHandler
System.Runtime.Serialization.IDeserializationCallback
IJsonSerialize
IJsonSerializeDone
Inherited Members
IShowPropertyImpl.propertyTreeView
IShowPropertyImpl.labelText
IShowPropertyImpl.resourceId
IShowPropertyImpl.flagsToSuppress
IShowPropertyImpl.SuppressFlags(ShowPropertyLabelFlags)
IShowPropertyImpl.Frame
IShowPropertyImpl.IShowProperty.Added(IPropertyTreeView)
IShowPropertyImpl.Added(IPropertyTreeView)
IShowPropertyImpl.ChildSelected(IShowProperty)
IShowPropertyImpl.Opened(Boolean)
IShowPropertyImpl.ShowOpen(Boolean)
IShowPropertyImpl.Select()
IShowPropertyImpl.LabelText
IShowPropertyImpl.InfoText
IShowPropertyImpl.HelpLink
IShowPropertyImpl.EntryType
IShowPropertyImpl.SubEntriesCount
IShowPropertyImpl.SubEntries
IShowPropertyImpl.OwnerDrawHeight
IShowPropertyImpl.IShowProperty.SetTabIndex(Int32)
IShowPropertyImpl.StateChangedEvent
IShowPropertyImpl.LabelChanged(String)
IShowPropertyImpl.Hidden
IShowPropertyImpl.OnEnterPressed()
IShowPropertyImpl.OnVisibilityChanged(Boolean)
IShowPropertyImpl.IsSelected
IShowPropertyImpl.Concat(IShowProperty[], IShowProperty[])
IShowPropertyImpl.Update(IShowProperty)
IShowPropertyImpl.SelectedBckgColor
IShowPropertyImpl.SelectedTextColor
IShowPropertyImpl.UnselectedBckgColor
IShowPropertyImpl.UnselectedTextColor
IShowPropertyImpl.IPropertyEntry.IsOpen
IShowPropertyImpl.HasDropDownButton
IShowPropertyImpl.ValueIsEditable
IShowPropertyImpl.Label
IShowPropertyImpl.ResourceId
IShowPropertyImpl.Parent
IShowPropertyImpl.SubItems
IShowPropertyImpl.ButtonClicked(PropertyEntryButton)
IShowPropertyImpl.OpenOrCloseSubEntries()
IShowPropertyImpl.propertyPage
IShowPropertyImpl.Removed(IPropertyPage)
IShowPropertyImpl.GetDropDownList()
IShowPropertyImpl.IPropertyEntry.Index
IShowPropertyImpl.IPropertyEntry.IndentLevel
IShowPropertyImpl.Selected(IPropertyEntry)
IShowPropertyImpl.UnSelected(IPropertyEntry)
IShowPropertyImpl.ListBoxSelected(Int32)
IShowPropertyImpl.DeferUpdate
IShowPropertyImpl.PropertyEntryChangedStateEvent
IShowPropertyImpl.PropertyEntryChangedState(StateChangedArgs)
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
[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

ContextMenu

Declaration
public override MenuWithHandler[] ContextMenu { get; }
Property Value
Type Description
MenuWithHandler[]
Overrides
IShowPropertyImpl.ContextMenu
| Improve this Doc View Source

Flags

Declaration
public override PropertyEntryType Flags { get; }
Property Value
Type Description
PropertyEntryType
Overrides
IShowPropertyImpl.Flags
| 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

Overrides LabelType

Declaration
public override ShowPropertyLabelFlags LabelType { get; }
Property Value
Type Description
ShowPropertyLabelFlags
Overrides
IShowPropertyImpl.LabelType
| 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
IShowPropertyImpl.Value

Methods

| Improve this Doc View Source

Added(IPropertyPage)

Overrides Added(IPropertyTreeView)

Declaration
public override void Added(IPropertyPage propertyTreeView)
Parameters
Type Name Description
IPropertyPage propertyTreeView
Overrides
IShowPropertyImpl.Added(IPropertyPage)
| 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
IShowPropertyImpl.EditTextChanged(String)
| 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
IShowPropertyImpl.EndEdit(Boolean, Boolean, String)
| 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
public void IntChanged()
| Improve this Doc View Source

Refresh()

Overrides Refresh()

Declaration
public override void Refresh()
Overrides
IShowPropertyImpl.Refresh()
| Improve this Doc View Source

Removed(IPropertyTreeView)

Overrides Removed(IPropertyTreeView)

Declaration
public override void Removed(IPropertyTreeView propertyTreeView)
Parameters
Type Name Description
IPropertyTreeView propertyTreeView

the IPropertyTreeView from which it was removed

Overrides
IShowPropertyImpl.Removed(IPropertyTreeView)
| Improve this Doc View Source

Selected()

Overrides Selected()

Declaration
public override void Selected()
Overrides
IShowPropertyImpl.Selected()
| Improve this Doc View Source

SetFocus()

Overrides SetFocus()

Declaration
public override void SetFocus()
Overrides
IShowPropertyImpl.SetFocus()
| 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
IShowPropertyImpl.StartEdit(Boolean)
| Improve this Doc View Source

UnSelected()

Overrides UnSelected()

Declaration
public override void UnSelected()
Overrides
IShowPropertyImpl.UnSelected()

Events

| Improve this Doc View Source

GetIntEvent

Declaration
public event IntegerProperty.GetIntDelegate GetIntEvent
Event Type
Type Description
IntegerProperty.GetIntDelegate
| Improve this Doc View Source

SetIntEvent

Declaration
public event IntegerProperty.SetIntDelegate SetIntEvent
Event Type
Type Description
IntegerProperty.SetIntDelegate
| Improve this Doc View Source

SettingChangedEvent

Declaration
public event SettingChangedDelegate SettingChangedEvent
Event Type
Type Description
SettingChangedDelegate

Operators

| Improve this Doc View Source

Explicit(IntegerProperty to Int32)

Declaration
public static explicit operator int (IntegerProperty ip)
Parameters
Type Name Description
IntegerProperty ip
Returns
Type Description
System.Int32

Explicit Interface Implementations

| Improve this Doc View Source

IJsonSerialize.GetObjectData(IJsonWriteData)

Declaration
void IJsonSerialize.GetObjectData(IJsonWriteData data)
Parameters
Type Name Description
IJsonWriteData data
| Improve this Doc View Source

IJsonSerialize.SetObjectData(IJsonReadData)

Declaration
void IJsonSerialize.SetObjectData(IJsonReadData data)
Parameters
Type Name Description
IJsonReadData data
| 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

IShowProperty
IPropertyEntry
System.Runtime.Serialization.ISerializable
ISettingChanged
ICommandHandler
System.Runtime.Serialization.IDeserializationCallback
IJsonSerialize
IJsonSerializeDone
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX