CADability dotNET
The Filter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Filter()()()() |
Constructs an empty filter which accepts everything
|
![]() | Filter(SerializationInfo, StreamingContext) |
Constructor required by deserialization
|
Methods
Name | Description | |
---|---|---|
![]() | Accept |
Checks whether an IGeoObject is accepted by this filter.
To realize custom filters, override this method.
|
![]() | AcceptType |
Adds or removes the provided type to or from the list of accepted types. The type
must be derived from IGeoObject.
|
![]() | Add |
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.
|
![]() | Added |
Overrides Added(IPropertyTreeView) (Overrides IShowPropertyImpl..::..Added(IPropertyTreeView).) |
![]() ![]() | Construct |
Constructs a ne Filter or Filter-derived object
|
![]() | Contains |
Checks whether the provided attribute would be accepted
|
![]() | GetContextMenu |
Overrides GetContextMenu()()()(),
returns the context menu with the id "MenuId.Filter".
(see LoadContextMenu(String, ICommandHandler))
(Overrides IShowPropertyImpl..::..GetContextMenu()()()().) |
![]() | GetObjectData | |
![]() | LabelChanged | (Overrides IShowPropertyImpl..::..LabelChanged(String).) |
![]() | Remove |
Removes this attribute from the list of accepted attributes. For custom attributes see Accept(IGeoObject) |
Fields
Name | Description | |
---|---|---|
![]() ![]() | Constructor |
Set this static delegate to your own method which creates your Filter-derived class.
|
Properties
Name | Description | |
---|---|---|
![]() | EntryType |
Overrides EntryType,
returns GroupTitle.
(Overrides IShowPropertyImpl..::..EntryType.) |
![]() | IsActive |
Gets or sets the active flag. Onnly active filters in a FilterList are used for filtering.
|
![]() | LabelType |
Overrides LabelType (Overrides IShowPropertyImpl..::..LabelType.) |
![]() | Name |
Name of the Filter
|
![]() | 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.) |