Skip to content

API for excluding types #16

@JohanLarsson

Description

@JohanLarsson

For example CaretElement makes little sense to track. Hacking it like this for now.

if (d.GetType().FullName == "System.Windows.Documents.CaretElement")
{
    SetForInputTypes((FrameworkElement)d, null);
    return;
}

Should probably be configurable via attached property with a sensible default.
Not sure how to specify inheritance, maybe:

IgnoredTypes=">Shape, System.Windows.Documents.CaretElement"
where >Shape would mean ignore subclasses of shape.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions