CADability dotNET
The Style type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Style()()()() | ||
Style(String) | ||
Style(SerializationInfo, StreamingContext) |
Constructor required by deserialization
|
Methods
Name | Description | |
---|---|---|
Added |
Overrides Added(IPropertyTreeView) (Overrides IShowPropertyImpl..::..Added(IPropertyTreeView).) | |
Apply |
Applies this style to the given GeoObject. Since the style knows better about the different
kinds of interfaces and attributes, this is implemented in the Style class not in IGeoObjectImpl.
| |
Check |
Checks whether the given GeoObject accords to this style
| |
Clone | ||
GetContextMenu |
Overrides GetContextMenu()()()(),
returns the context menu with the id "MenuId.StyleEntry".
(see LoadContextMenu(String, ICommandHandler))
(Overrides IShowPropertyImpl..::..GetContextMenu()()()().) | |
GetDefault |
Returns a default (empty) Style. Use this function if you need a Style
and dont have access to a StyleList.
| |
GetObjectData | ||
IsDefaultFor | ||
LabelChanged |
Overrides LabelChanged(String) (Overrides IShowPropertyImpl..::..LabelChanged(String).) | |
Removed |
Overrides Removed(IPropertyTreeView) (Overrides IShowPropertyImpl..::..Removed(IPropertyTreeView).) | |
RemoveDefaultFor | ||
SetDefaultFor |
Properties
Name | Description | |
---|---|---|
ColorDef | ||
DefaultFor | ||
DimensionStyle | ||
EntryType |
Overrides EntryType,
returns GroupTitle.
(Overrides IShowPropertyImpl..::..EntryType.) | |
HatchStyle | ||
LabelText |
Implements LabelText.
(Overrides IShowPropertyImpl..::..LabelText.) | |
LabelType |
Overrides LabelType (Overrides IShowPropertyImpl..::..LabelType.) | |
Layer | ||
LinePattern | ||
LineWidth | ||
Name |
The name of the Style. Different Styles in the same list must have different names.
| |
Parent |
The StyleList that contains this Style. May be null.
| |
SubEntries |
Overrides SubEntries,
returns the subentries in this property view.
(Overrides IShowPropertyImpl..::..SubEntries.) | |
SubEntriesCount |
Overrides SubEntriesCount,
returns the number of subentries in this property view.
(Overrides IShowPropertyImpl..::..SubEntriesCount.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICloneable..::..Clone | ||
IColorDef..::..SetTopLevel | ||
ICommandHandler..::..OnCommand | ||
ICommandHandler..::..OnUpdateCommand | ||
INamedAttribute..::..GetSelectionProperty | ||
INamedAttribute..::..Parent |