CADability dotNET

The Filter type exposes the following members.

Constructors

  NameDescription
Protected methodFilter()()()()
Constructs an empty filter which accepts everything
Protected methodFilter(SerializationInfo, StreamingContext)
Constructor required by deserialization

Methods

  NameDescription
Public methodAccept
Checks whether an IGeoObject is accepted by this filter. To realize custom filters, override this method.
Public methodAcceptType
Adds or removes the provided type to or from the list of accepted types. The type must be derived from IGeoObject.
Public methodAdd
Adds the provided attribute to the list of accepted attributes. CADability knows the following attributes: Layer, Layer, ColorDef, LineWidth, LinePattern, DimensionStyle, HatchStyle. If you have your own attributes which are unknown to CADability, you need to override this method to handle those attributes.
Public methodAdded (Overrides IShowPropertyImpl..::..Added(IPropertyTreeView).)
Public methodStatic memberConstruct
Constructs a ne Filter or Filter-derived object
Public methodContains
Checks whether the provided attribute would be accepted
Public methodGetContextMenu
Overrides GetContextMenu()()()(), returns the context menu with the id "MenuId.Filter". (see LoadContextMenu(String, ICommandHandler))
(Overrides IShowPropertyImpl..::..GetContextMenu()()()().)
Public methodGetObjectData
Public methodLabelChanged (Overrides IShowPropertyImpl..::..LabelChanged(String).)
Public methodRemove
Removes this attribute from the list of accepted attributes. For custom attributes see Accept(IGeoObject)

Fields

  NameDescription
Public fieldStatic memberConstructor
Set this static delegate to your own method which creates your Filter-derived class.

Properties

  NameDescription
Public propertyEntryType
Overrides EntryType, returns GroupTitle.
(Overrides IShowPropertyImpl..::..EntryType.)
Public propertyIsActive
Gets or sets the active flag. Onnly active filters in a FilterList are used for filtering.
Public propertyLabelType
Overrides LabelType
(Overrides IShowPropertyImpl..::..LabelType.)
Public propertyName
Name of the Filter
Public propertySubEntries
Overrides SubEntries, returns the subentries in this property view.
(Overrides IShowPropertyImpl..::..SubEntries.)
Public propertySubEntriesCount
Overrides SubEntriesCount, returns the number of subentries in this property view.
(Overrides IShowPropertyImpl..::..SubEntriesCount.)

Explicit Interface Implementations

See Also