Dela via


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
'Usage
Dim instance As Task 
Dim value As ModelHitTestFilterCallback 

value = instance.ModelFilter

instance.ModelFilter = value
public ModelHitTestFilterCallback ModelFilter { get; set; }
public:
property ModelHitTestFilterCallback^ ModelFilter {
    ModelHitTestFilterCallback^ get ();
    void set (ModelHitTestFilterCallback^ value);
}
public function get ModelFilter () : ModelHitTestFilterCallback 
public 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

Task Members

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Tool Architecture

WPF Designer Extensibility