Task.ModelFilter Property

Gets or sets the filter that is used to filter the set of model items seen by the designer's hit test algorithm.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Property ModelFilter As ModelHitTestFilterCallback
    Get
    Set
public ModelHitTestFilterCallback ModelFilter { get; set; }
public:
property ModelHitTestFilterCallback^ ModelFilter {
    ModelHitTestFilterCallback^ get ();
    void set (ModelHitTestFilterCallback^ value);
}
member ModelFilter : ModelHitTestFilterCallback with get, set
function get ModelFilter () : ModelHitTestFilterCallback
function set ModelFilter (value : ModelHitTestFilterCallback)

Property Value

Type: Microsoft.Windows.Design.Interaction.ModelHitTestFilterCallback
A ModelHitTestFilterCallback that is used to filter the set of model items seen by the designer's hit test algorithm.

Remarks

If this property is set, the hit test algorithm will use this filter to determine hit testing of model items when the task has the focus.

.NET Framework Security

See Also

Reference

Task Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Tool Architecture

WPF Designer Extensibility