Table of Contents

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

multiPoint GeoObjectList

The points whose symbol is edited; all objects in the list must be Point objects

ResourceID string

Resource 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

point Point

The point whose symbol is edited

ResourceID string

Resource id of the label text

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

MenuWithHandler[]

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; }

Property Value

ShowPropertyLabelFlags