Class IShowPropertyImpl
Deprecated: for new objects use IPropertyEntry instead.
Deprecated standard implementation of IShowProperty. Implements many interface methods in a
standard way as a virtual method to give derived classes the possibility to override
these implementations.
Inheritance
System.Object
IShowPropertyImpl
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 IShowPropertyImpl : IShowProperty, IPropertyEntry
Constructors
|
Improve this Doc
View Source
IShowPropertyImpl()
Declaration
protected IShowPropertyImpl()
|
Improve this Doc
View Source
IShowPropertyImpl(IFrame)
Declaration
protected IShowPropertyImpl(IFrame frame)
Parameters
| Type |
Name |
Description |
| IFrame |
frame |
|
Fields
|
Improve this Doc
View Source
flagsToSuppress
Declaration
protected ShowPropertyLabelFlags flagsToSuppress
Field Value
|
Improve this Doc
View Source
labelText
Declaration
protected string labelText
Field Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
propertyPage
Declaration
protected IPropertyPage propertyPage
Field Value
|
Improve this Doc
View Source
resourceId
The resourceId specifies both the label text and the tooltip text. The label text
is loaded from the StringTable with the ID resourceId+".Label" the
tooltip text is loaded with the id resourceId+".ShortInfo" or resourceId+".DetailedInfo".
You may extend the StringTable and ues your own resourceId values according to this scheme. (see
AddStrings(Stream))
Declaration
protected string resourceId
Field Value
| Type |
Description |
| System.String |
|
Properties
|
Improve this Doc
View Source
Declaration
public virtual MenuWithHandler[] ContextMenu { get; }
Property Value
|
Improve this Doc
View Source
DeferUpdate
Declaration
public bool DeferUpdate { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
EntryType
Declaration
public virtual ShowPropertyEntryType EntryType { get; }
Property Value
|
Improve this Doc
View Source
Flags
Declaration
public virtual PropertyEntryType Flags { get; }
Property Value
|
Improve this Doc
View Source
Frame
Returns a IFrame when this IShowProperty has been added to a IPropertyTreeView,
returns null otherwise.
Declaration
public virtual IFrame Frame { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
protected virtual bool HasDropDownButton { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
HelpLink
Declaration
public virtual string HelpLink { get; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Hidden
Declaration
public virtual bool Hidden { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
InfoText
Declaration
public virtual string InfoText { get; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
IsSelected
Declaration
public virtual bool IsSelected { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Label
Declaration
public virtual string Label { get; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
LabelText
Declaration
public virtual string LabelText { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
LabelType
Declaration
public virtual ShowPropertyLabelFlags LabelType { get; }
Property Value
|
Improve this Doc
View Source
OwnerDrawHeight
Declaration
public virtual int OwnerDrawHeight { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
Parent
Declaration
public object Parent { get; set; }
Property Value
| Type |
Description |
| System.Object |
|
|
Improve this Doc
View Source
propertyTreeView
Declaration
protected IPropertyPage propertyTreeView { get; }
Property Value
|
Improve this Doc
View Source
ReadOnly
Declaration
public virtual bool ReadOnly { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
ResourceId
Declaration
public string ResourceId { get; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
SelectedBckgColor
Declaration
public static Color SelectedBckgColor { get; }
Property Value
| Type |
Description |
| System.Drawing.Color |
|
|
Improve this Doc
View Source
SelectedTextColor
Declaration
public static Color SelectedTextColor { get; }
Property Value
| Type |
Description |
| System.Drawing.Color |
|
|
Improve this Doc
View Source
SubEntries
Implementation of SubEntries.
Returns an empty array.
Declaration
public virtual IShowProperty[] SubEntries { get; }
Property Value
|
Improve this Doc
View Source
SubEntriesCount
Declaration
public virtual int SubEntriesCount { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
SubItems
Declaration
public virtual IPropertyEntry[] SubItems { get; }
Property Value
|
Improve this Doc
View Source
UnselectedBckgColor
Declaration
public static Color UnselectedBckgColor { get; }
Property Value
| Type |
Description |
| System.Drawing.Color |
|
|
Improve this Doc
View Source
UnselectedTextColor
Declaration
public static Color UnselectedTextColor { get; }
Property Value
| Type |
Description |
| System.Drawing.Color |
|
|
Improve this Doc
View Source
Value
Declaration
public virtual string Value { get; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
ValueIsEditable
Declaration
protected virtual bool ValueIsEditable { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
|
Improve this Doc
View Source
Added(IPropertyPage)
Declaration
public virtual void Added(IPropertyPage pp)
Parameters
|
Improve this Doc
View Source
Added(IPropertyTreeView)
Declaration
public virtual void Added(IPropertyTreeView propertyTreeView)
Parameters
|
Improve this Doc
View Source
ButtonClicked(PropertyEntryButton)
Declaration
public virtual void ButtonClicked(PropertyEntryButton button)
Parameters
|
Improve this Doc
View Source
ChildSelected(IShowProperty)
Declaration
public virtual void ChildSelected(IShowProperty theSelectedChild)
Parameters
| Type |
Name |
Description |
| IShowProperty |
theSelectedChild |
the now selected child property
|
|
Improve this Doc
View Source
Concat(IShowProperty[], IShowProperty[])
Declaration
public static IShowProperty[] Concat(IShowProperty[] left, IShowProperty[] right)
Parameters
Returns
|
Improve this Doc
View Source
EditTextChanged(String)
Declaration
public virtual bool EditTextChanged(string newValue)
Parameters
| Type |
Name |
Description |
| System.String |
newValue |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
EndEdit(Boolean, Boolean, String)
Declaration
public virtual void EndEdit(bool aborted, bool modified, string newValue)
Parameters
| Type |
Name |
Description |
| System.Boolean |
aborted |
|
| System.Boolean |
modified |
|
| System.String |
newValue |
|
|
Improve this Doc
View Source
GetDropDownList()
Declaration
public string[] GetDropDownList()
Returns
| Type |
Description |
| System.String[] |
|
|
Improve this Doc
View Source
LabelChanged(String)
Declaration
public virtual void LabelChanged(string NewText)
Parameters
| Type |
Name |
Description |
| System.String |
NewText |
the new text
|
|
Improve this Doc
View Source
ListBoxSelected(Int32)
Declaration
public virtual void ListBoxSelected(int selectedIndex)
Parameters
| Type |
Name |
Description |
| System.Int32 |
selectedIndex |
|
|
Improve this Doc
View Source
OnEnterPressed()
Declaration
public virtual void OnEnterPressed()
|
Improve this Doc
View Source
OnVisibilityChanged(Boolean)
Declaration
public virtual void OnVisibilityChanged(bool isVisible)
Parameters
| Type |
Name |
Description |
| System.Boolean |
isVisible |
|
|
Improve this Doc
View Source
Opened(Boolean)
Declaration
public virtual void Opened(bool IsOpen)
Parameters
| Type |
Name |
Description |
| System.Boolean |
IsOpen |
true: now open, false: now closed
|
|
Improve this Doc
View Source
OpenOrCloseSubEntries()
Declaration
public int OpenOrCloseSubEntries()
Returns
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
PropertyEntryChangedState(StateChangedArgs)
Declaration
protected void PropertyEntryChangedState(StateChangedArgs args)
Parameters
|
Improve this Doc
View Source
Refresh()
Declaration
public virtual void Refresh()
|
Improve this Doc
View Source
Removed(IPropertyPage)
Declaration
public virtual void Removed(IPropertyPage pp)
Parameters
|
Improve this Doc
View Source
Removed(IPropertyTreeView)
Declaration
public virtual void Removed(IPropertyTreeView propertyTreeView)
Parameters
|
Improve this Doc
View Source
Select()
Declaration
public virtual void Select()
|
Improve this Doc
View Source
Selected()
Declaration
public virtual void Selected()
|
Improve this Doc
View Source
Selected(IPropertyEntry)
Declaration
public virtual void Selected(IPropertyEntry previousSelected)
Parameters
|
Improve this Doc
View Source
SetFocus()
Implementation of SetFocus().
Does nothing, override when needed.
Declaration
public virtual void SetFocus()
|
Improve this Doc
View Source
ShowOpen(Boolean)
Declaration
public virtual void ShowOpen(bool open)
Parameters
| Type |
Name |
Description |
| System.Boolean |
open |
true: open, false: close
|
|
Improve this Doc
View Source
StartEdit(Boolean)
Declaration
public virtual void StartEdit(bool editValue)
Parameters
| Type |
Name |
Description |
| System.Boolean |
editValue |
|
|
Improve this Doc
View Source
SuppressFlags(ShowPropertyLabelFlags)
Declaration
public void SuppressFlags(ShowPropertyLabelFlags flagsToSuppress)
Parameters
|
Improve this Doc
View Source
UnSelected()
Declaration
public virtual void UnSelected()
|
Improve this Doc
View Source
UnSelected(IPropertyEntry)
Declaration
public virtual void UnSelected(IPropertyEntry nowSelected)
Parameters
|
Improve this Doc
View Source
Update(IShowProperty)
Calls the Refresh method of several standard implementations of IShowProperty.
Declaration
public static void Update(IShowProperty sp)
Parameters
Events
|
Improve this Doc
View Source
PropertyEntryChangedStateEvent
Declaration
public event PropertyEntryChangedStateDelegate PropertyEntryChangedStateEvent
Event Type
|
Improve this Doc
View Source
StateChangedEvent
Declaration
public event StateChangedDelegate StateChangedEvent
Event Type
Explicit Interface Implementations
|
Improve this Doc
View Source
IPropertyEntry.IndentLevel
Declaration
int IPropertyEntry.IndentLevel { get; set; }
Returns
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
IPropertyEntry.Index
Declaration
int IPropertyEntry.Index { get; set; }
Returns
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
IPropertyEntry.IsOpen
Declaration
bool IPropertyEntry.IsOpen { get; set; }
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IShowProperty.Added(IPropertyTreeView)
Declaration
void IShowProperty.Added(IPropertyTreeView propertyTreeView)
Parameters
|
Improve this Doc
View Source
IShowProperty.SetTabIndex(ref Int32)
Declaration
void IShowProperty.SetTabIndex(ref int TabIndex)
Parameters
| Type |
Name |
Description |
| System.Int32 |
TabIndex |
|
Implements