Show / Hide Table of Contents

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
AnimatedView
CheckedAttributes
CheckedLayerList
ColorList
DimensionStyle
DimensionStyleList
Filter
FilterList
HatchStyle
HatchStyleList
Layer
LayerList
LinePattern
LinePatternList
LineWidth
LineWidthList
Style
StyleList
AxisDrive
ColorSetting
CurveDrive
DualCurveDrive
GDI2DView
ShowPropertyPicture
ShowPropertyText
Grid
LayoutView
Model
ModelView
Project
Schedule
Settings
AttributesProperty
CheckProperty
ColorListProperty
CurveProperty
DrawingPlaneProperty
GroupProperty
IntegerProperty
ModelsProperty
MultiViewProperty
NameProperty
PointSymbolSelectionProperty
SeperatorProperty
ShowPropertyBSpline
ShowPropertyCircle
ShowPropertyEllipse
ShowPropertyGroup
ShowPropertyPath
ShowPropertyPoint
ShowPropertyPolyline
SimplePropertyGroup
Implements
IShowProperty
IPropertyEntry
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()
Namespace: CADability.UserInterface
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
Type Description
ShowPropertyLabelFlags
| Improve this Doc View Source

labelText

Overrides the label text, which is normally retrieved from the StringTable with the resourceId

Declaration
protected string labelText
Field Value
Type Description
System.String
| Improve this Doc View Source

propertyPage

Declaration
protected IPropertyPage propertyPage
Field Value
Type Description
IPropertyPage
| 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

ContextMenu

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

DeferUpdate

Declaration
public bool DeferUpdate { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

EntryType

Implementation of EntryType. Returns SimpleEntry

Declaration
public virtual ShowPropertyEntryType EntryType { get; }
Property Value
Type Description
ShowPropertyEntryType
| Improve this Doc View Source

Flags

Declaration
public virtual PropertyEntryType Flags { get; }
Property Value
Type Description
PropertyEntryType
| 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
Type Description
IFrame
| Improve this Doc View Source

HasDropDownButton

Declaration
protected virtual bool HasDropDownButton { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

HelpLink

Implementation of HelpLink, returns resourceId.

Declaration
public virtual string HelpLink { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Hidden

Implementation of Hidden.

Declaration
public virtual bool Hidden { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

InfoText

Implementation of InfoText, returns GetString(String, StringTable.Category)(resourceId+".DetailedInfo") or GetString(String, StringTable.Category)(resourceId+".ShortInfo")

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

Implementation of LabelText, returns either labelText (if not null) or GetString(String, StringTable.Category)(resourceId+".Label") Whe set, labelText is set.

Declaration
public virtual string LabelText { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

LabelType

Implementation of LabelType. Returns Selectable

Declaration
public virtual ShowPropertyLabelFlags LabelType { get; }
Property Value
Type Description
ShowPropertyLabelFlags
| Improve this Doc View Source

OwnerDrawHeight

Implementation of OwnerDrawHeight. Returns 0.

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
Type Description
IPropertyPage
| Improve this Doc View Source

ReadOnly

Implementation of Hidden.

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
Type Description
IShowProperty[]
| Improve this Doc View Source

SubEntriesCount

Implementation of SubEntriesCount. Returns 0.

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
Type Description
IPropertyEntry[]
| 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
Type Name Description
IPropertyPage pp
| Improve this Doc View Source

Added(IPropertyTreeView)

Implementation of Added(IPropertyTreeView). Momorizes the given IPropertyTreeView, raises the StateChangedEvent

Declaration
public virtual void Added(IPropertyTreeView propertyTreeView)
Parameters
Type Name Description
IPropertyTreeView propertyTreeView
| Improve this Doc View Source

ButtonClicked(PropertyEntryButton)

Declaration
public virtual void ButtonClicked(PropertyEntryButton button)
Parameters
Type Name Description
PropertyEntryButton button
| Improve this Doc View Source

ChildSelected(IShowProperty)

Implementation of ChildSelected(IShowProperty), raises the StateChangedEvent

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[])

Static helper method to concatenate two arrays of IShowProperty.

Declaration
public static IShowProperty[] Concat(IShowProperty[] left, IShowProperty[] right)
Parameters
Type Name Description
IShowProperty[] left
IShowProperty[] right
Returns
Type Description
IShowProperty[]
| 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)

Implementation of LabelChanged(String). Override if LabelType is Editable.

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()

Implements 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)

Implementation of Opened(Boolean), raises the StateChangedEvent

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
Type Name Description
StateChangedArgs args
| Improve this Doc View Source

Refresh()

Implementation of Refresh().

Declaration
public virtual void Refresh()
| Improve this Doc View Source

Removed(IPropertyPage)

Declaration
public virtual void Removed(IPropertyPage pp)
Parameters
Type Name Description
IPropertyPage pp
| Improve this Doc View Source

Removed(IPropertyTreeView)

Implementation of Removed(IPropertyTreeView), raises the StateChangedEvent

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

removed from this IPropertyTreeView

| Improve this Doc View Source

Select()

Implementation of Select(), selects this entry if it is currently contained in a IPropertyTreeView

Declaration
public virtual void Select()
| Improve this Doc View Source

Selected()

Implementation of Selected(), raises the StateChangedEvent

Declaration
public virtual void Selected()
| Improve this Doc View Source

Selected(IPropertyEntry)

Declaration
public virtual void Selected(IPropertyEntry previousSelected)
Parameters
Type Name Description
IPropertyEntry previousSelected
| 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)

Implementation of ShowOpen(Boolean), opens or closes this entry if it is currently contained in a IPropertyTreeView

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
Type Name Description
ShowPropertyLabelFlags flagsToSuppress
| Improve this Doc View Source

UnSelected()

Implementation of UnSelected(), raises the StateChangedEvent

Declaration
public virtual void UnSelected()
| Improve this Doc View Source

UnSelected(IPropertyEntry)

Declaration
public virtual void UnSelected(IPropertyEntry nowSelected)
Parameters
Type Name Description
IPropertyEntry nowSelected
| 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
Type Name Description
IShowProperty sp

Events

| Improve this Doc View Source

PropertyEntryChangedStateEvent

Implementation of PropertyEntryChangedStateEvent.

Declaration
public event PropertyEntryChangedStateDelegate PropertyEntryChangedStateEvent
Event Type
Type Description
PropertyEntryChangedStateDelegate
| Improve this Doc View Source

StateChangedEvent

Implementation of StateChangedEvent.

Declaration
public event StateChangedDelegate StateChangedEvent
Event Type
Type Description
StateChangedDelegate

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
Type Name Description
IPropertyTreeView propertyTreeView
| Improve this Doc View Source

IShowProperty.SetTabIndex(ref Int32)

Declaration
void IShowProperty.SetTabIndex(ref int TabIndex)
Parameters
Type Name Description
System.Int32 TabIndex

Implements

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