Class ModelsProperty
The IShowProperty implementation for the models contained in a Project.
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 ModelsProperty : IShowPropertyImpl, IShowProperty, IPropertyEntry, ICommandHandler
Constructors
| Improve this Doc View SourceModelsProperty(Project)
Declaration
public ModelsProperty(Project project)
Parameters
| Type | Name | Description |
|---|---|---|
| Project | project |
Properties
| Improve this Doc View SourceContextMenu
Declaration
public override MenuWithHandler[] ContextMenu { get; }
Property Value
| Type | Description |
|---|---|
| MenuWithHandler[] |
Overrides
| Improve this Doc View SourceEntryType
Overrides EntryType, returns GroupTitle.
Declaration
public override ShowPropertyEntryType EntryType { get; }
Property Value
| Type | Description |
|---|---|
| ShowPropertyEntryType |
Overrides
| Improve this Doc View SourceLabelType
Overrides LabelType
Declaration
public override ShowPropertyLabelFlags LabelType { get; }
Property Value
| Type | Description |
|---|---|
| ShowPropertyLabelFlags |
Overrides
| Improve this Doc View SourceProject
Declaration
public Project Project { get; }
Property Value
| Type | Description |
|---|---|
| Project |
SubEntries
Overrides SubEntries, returns the subentries in this property view.
Declaration
public override IShowProperty[] SubEntries { get; }
Property Value
| Type | Description |
|---|---|
| IShowProperty[] |
Overrides
| Improve this Doc View SourceSubEntriesCount
Overrides SubEntriesCount, returns the number of subentries in this property view.
Declaration
public override int SubEntriesCount { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Overrides
Methods
| Improve this Doc View SourceRefresh()
Declaration
public void Refresh()
Explicit Interface Implementations
| Improve this Doc View SourceICommandHandler.OnCommand(String)
Declaration
bool ICommandHandler.OnCommand(string MenuId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | MenuId |
Returns
| Type | Description |
|---|---|
| System.Boolean |
ICommandHandler.OnSelected(MenuWithHandler, Boolean)
Declaration
void ICommandHandler.OnSelected(MenuWithHandler selectedMenuItem, bool selected)
Parameters
| Type | Name | Description |
|---|---|---|
| MenuWithHandler | selectedMenuItem | |
| System.Boolean | selected |
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 |