Share via


Task.AdornerFilter Property

Gets or sets the filter that is used to filter the set of adorners 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 AdornerFilter As HitTestFilterCallback
'Usage
Dim instance As Task 
Dim value As HitTestFilterCallback 

value = instance.AdornerFilter

instance.AdornerFilter = value
public HitTestFilterCallback AdornerFilter { get; set; }
public:
property HitTestFilterCallback^ AdornerFilter {
    HitTestFilterCallback^ get ();
    void set (HitTestFilterCallback^ value);
}
public function get AdornerFilter () : HitTestFilterCallback 
public function set AdornerFilter (value : HitTestFilterCallback)

Property Value

Type: System.Windows.Media.HitTestFilterCallback
A ModelHitTestFilterCallback that is used to filter the set of adorners 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 adorners 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