Class PointSymbolSelectionProperty
- Namespace
- CADability.UserInterface
- Assembly
- CADability.dll
A property page entry to choose the PointSymbol of a Point (or of several selected points at once) via the context menu "MenuId.PointSymbol": the basic symbol (empty, dot, plus, cross or line) and the optional square and circle around it, which can be combined with the basic symbol.
public class PointSymbolSelectionProperty : IShowPropertyImpl, IShowProperty, IPropertyEntry, ICommandHandler
- Inheritance
-
PointSymbolSelectionProperty
- Implements
- Inherited Members
Constructors
PointSymbolSelectionProperty(GeoObjectList, string)
Creates the entry for the symbol of several selected points. A selection in the context menu is applied to all of them; the menu shows the common symbol, or none when the symbols differ.
public PointSymbolSelectionProperty(GeoObjectList multiPoint, string ResourceID)
Parameters
multiPointGeoObjectListThe points whose symbol is edited; all objects in the list must be Point objects
ResourceIDstringResource id of the label text
PointSymbolSelectionProperty(Point, string)
Creates the entry for the symbol of a single point.
public PointSymbolSelectionProperty(Point point, string ResourceID)
Parameters
Properties
ContextMenu
Implementation of ContextMenu: the default returns null. An entry whose LabelType contains ContextMenu must override it.
public override MenuWithHandler[] ContextMenu { get; }
Property Value
LabelType
How the label of this entry behaves (see ShowPropertyLabelFlags): whether it can be selected or edited, is bold or has a context menu. The default implementation returns Selectable.
public override ShowPropertyLabelFlags LabelType { get; }